mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +09:00
skin download button added
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12454 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b6e1e42338
commit
62dd6d0af0
1 changed files with 16 additions and 1 deletions
|
|
@ -538,6 +538,15 @@
|
||||||
</li>
|
</li>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script id="tmpl_skin_list_item_add_new" type="text/x-jquery-tmpl">
|
||||||
|
<li data-admin-show="#downloadSkin">
|
||||||
|
<label><i class="x_icon-plus-sign"></i> {$lang->install_other_skins}</label>
|
||||||
|
<button type="button" class="item _btnScreenshot">
|
||||||
|
<img src="./modules/layout/tpl/img/download.png" class="_thumbnail" alt="{$lang->install_other_skins}">
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
|
</script>
|
||||||
|
|
||||||
<script id="tmpl_skin_list_item" type="text/x-jquery-tmpl">
|
<script id="tmpl_skin_list_item" type="text/x-jquery-tmpl">
|
||||||
<li class="_item ${Selected}">
|
<li class="_item ${Selected}">
|
||||||
<label><input type="radio" name="skin_item" title="${Title}"> ${Title}</label>
|
<label><input type="radio" name="skin_item" title="${Title}"> ${Title}</label>
|
||||||
|
|
@ -3284,6 +3293,7 @@ jQuery(function($){
|
||||||
|
|
||||||
$("#tmpl_skin_list_item").template( "skinListItem");
|
$("#tmpl_skin_list_item").template( "skinListItem");
|
||||||
$("#tmpl_skin_list_item_no_skin").template( "skinListItem_noskin");
|
$("#tmpl_skin_list_item_no_skin").template( "skinListItem_noskin");
|
||||||
|
$("#tmpl_skin_list_item_add_new").template( "skinListItemAddNew" );
|
||||||
$('#skin').on('show', function(ev){
|
$('#skin').on('show', function(ev){
|
||||||
if(this !== ev.target){
|
if(this !== ev.target){
|
||||||
return;
|
return;
|
||||||
|
|
@ -3382,6 +3392,11 @@ jQuery(function($){
|
||||||
}).data('SkinName', ""));
|
}).data('SkinName', ""));
|
||||||
*/
|
*/
|
||||||
//console.log(htDesign.sSkinName);
|
//console.log(htDesign.sSkinName);
|
||||||
|
|
||||||
|
$elItem = $.tmpl("skinListItemAddNew", {
|
||||||
|
});
|
||||||
|
$List.append($elItem);
|
||||||
|
|
||||||
var sTmpName;
|
var sTmpName;
|
||||||
for(var sName in htData.skin_info_list){
|
for(var sName in htData.skin_info_list){
|
||||||
if(!htData.skin_info_list.hasOwnProperty(sName)) continue;
|
if(!htData.skin_info_list.hasOwnProperty(sName)) continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue