Changeset 26603
- Timestamp:
- Jan 10, 2014, 7:37:58 PM (11 years ago)
- Location:
- extensions/AdminTools/template
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AdminTools/template/public_controller.js
r26061 r26603 32 32 // fill multiview selects 33 33 // data came from AJAX request or sessionStorage 34 function populateMultiView($target) { 35 if ($target.data('init')) return; 34 function populateMultiView() { 35 var $multiview = $ato.find('.multiview'); 36 37 if ($multiview.data('init')) return; 36 38 37 39 var render = function(data) { … … 40 42 html+= '<option value="'+ user.id +'">'+ user.username +'</option>'; 41 43 }); 42 $ target.find('select[data-type="view_as"]').html(html)44 $multiview.find('select[data-type="view_as"]').html(html) 43 45 .val(__this.multiView.view_as); 44 46 … … 47 49 html+= '<option value="'+ theme +'">'+ theme +'</option>'; 48 50 }); 49 $ target.find('select[data-type="theme"]').html(html)51 $multiview.find('select[data-type="theme"]').html(html) 50 52 .val(__this.multiView.theme); 51 53 … … 54 56 html+= '<option value="'+ language.id +'">'+ language.name +'</option>'; 55 57 }); 56 $ target.find('select[data-type="lang"]').html(html)58 $multiview.find('select[data-type="lang"]').html(html) 57 59 .val(__this.multiView.lang); 58 60 59 $target.data('init', true); 61 $multiview.data('init', true); 62 63 $multiview.find('.switcher').show(); 60 64 }; 61 65 … … 130 134 'click': function() { 131 135 if ($(this).hasClass('multiview')) { 132 populateMultiView( $(this).find('ul'));136 populateMultiView(); 133 137 } 134 138 $(this).find('ul').toggle(); -
extensions/AdminTools/template/public_controller.tpl
r26061 r26603 74 74 <li class="parent"><a href="#" class="icon-menu ato-min-1">{'Administration'|translate}</a> 75 75 <ul> 76 <li><a class="icon-home" href="{$ato.U_SITE_ADMIN}intro">{'Home'|translate}</a></li> 76 77 <li><a class="icon-picture" href="{$ato.U_SITE_ADMIN}batch_manager">{'Photos'|translate}</a></li> 77 78 <li><a class="icon-sitemap" href="{$ato.U_SITE_ADMIN}cat_list">{'Albums'|translate}</a></li> … … 79 80 <li><a class="icon-puzzle" href="{$ato.U_SITE_ADMIN}plugins">{'Plugins'|translate}</a></li> 80 81 <li><a class="icon-wrench" href="{$ato.U_SITE_ADMIN}maintenance">{'Tools'|translate}</a></li> 81 <li><a class="icon-cog" href="{$ato.U_SITE_ADMIN}configuration">{' Options'|translate}</a></li>82 <li><a class="icon-cog" href="{$ato.U_SITE_ADMIN}configuration">{'Configuration'|translate}</a></li> 82 83 </ul> 83 84 </li> -
extensions/AdminTools/template/style.css
r26061 r26603 119 119 padding:2px 3px; 120 120 } 121 #ato_header .switcher { 122 display:none; 123 } 121 124 122 125 #ato_header_closed:not(.smartpocket) {
Note: See TracChangeset
for help on using the changeset viewer.