Changeset 25835
- Timestamp:
- Dec 7, 2013, 9:28:23 PM (10 years ago)
- Location:
- extensions/AdminTools/template
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AdminTools/template/public_controller.js
r25818 r25835 101 101 102 102 // attach jquery handlers 103 this.init = function( ) {103 this.init = function(urlSelf) { 104 104 $('body').prepend($ato); // ensure the bar is at the begining 105 105 … … 148 148 $ato.find('.switcher').on({ 149 149 'change': function() { 150 window.location.href = '{$ato.U_SELF}ato_'+ $(this).data('type') +'='+ $(this).val();150 window.location.href = urlSelf + 'ato_'+ $(this).data('type') +'='+ $(this).val(); 151 151 }, 152 152 'click': function(e) { -
extensions/AdminTools/template/public_controller.tpl
r25833 r25835 42 42 AdminTools.deleteCache(); 43 43 {/if} 44 AdminTools.init( );44 AdminTools.init("{$ato.U_SELF}"); 45 45 {if $themeconf.mobile} 46 46 AdminTools.initMobile(); … … 67 67 <ul id="ato_header_root"> 68 68 <li><a href="#" class="icon-ato-cancel close-panel"></a></li> 69 <li class="parent"><a href="#" class="icon-menu "><span class="atoHideable1">{'Administration'|translate}</span></a>69 <li class="parent"><a href="#" class="icon-menu ato-hide-1">{'Administration'|translate}</a> 70 70 <ul> 71 71 <li><a class="icon-picture" href="{$ato.U_SITE_ADMIN}batch_manager">{'Photos'|translate}</a></li> … … 78 78 </li> 79 79 {if isset($ato.U_EDIT)} 80 <li class="parent"><a href="#" class="icon-pencil "><span class="atoHideable2">{'Edit'|translate}</span></a>80 <li class="parent"><a href="#" class="icon-pencil ato-hide-2">{'Edit'|translate}</a> 81 81 <ul> 82 82 <li><a href="#ato_quick_edit" class="icon-ato-flash edit-quick">{'Quick edit'|translate}</a></li> … … 90 90 {/if} 91 91 {if isset($ato.U_SET_REPRESENTATIVE)} 92 <li {if $ato.IS_REPRESENTATIVE}class="disabled"{/if}><a class="icon-ato-trophy set-representative " href="{$ato.U_SET_REPRESENTATIVE}"><span class="atoHideable2">{'representative'|translate|ucfirst}</span></a></li>92 <li {if $ato.IS_REPRESENTATIVE}class="disabled"{/if}><a class="icon-ato-trophy set-representative ato-hide-2" href="{$ato.U_SET_REPRESENTATIVE}">{'representative'|translate|ucfirst}</a></li> 93 93 {/if} 94 94 {if isset($ato.U_CADDIE)} 95 <li {if $ato.IS_IN_CADDIE}class="disabled"{/if}><a class="icon-ato-flag add-caddie " href="{$ato.U_CADDIE}"><span class="atoHideable2">{'Add to caddie'|translate}</span></a></li>95 <li {if $ato.IS_IN_CADDIE}class="disabled"{/if}><a class="icon-ato-flag add-caddie ato-hide-2" href="{$ato.U_CADDIE}">{'Add to caddie'|translate}</a></li> 96 96 {/if} 97 97 {if isset($ato.IS_CATEGORY)} 98 <li><a class="icon-plus-circled " href="{$ato.U_SITE_ADMIN}photos_add&album={$ato.CATEGORY_ID}"><span class="atoHideable2">{'Add Photos'|translate}</span></a></li>98 <li><a class="icon-plus-circled ato-hide-2" href="{$ato.U_SITE_ADMIN}photos_add&album={$ato.CATEGORY_ID}">{'Add Photos'|translate}</a></li> 99 99 {/if} 100 100 101 <li class="parent right multiview"><a class="icon-cog-alt " href="#"><span class="atoHideable1">{'Tools'|translate}</span></a>101 <li class="parent right multiview"><a class="icon-cog-alt ato-hide-1" href="#">{'Tools'|translate}</a> 102 102 <ul> 103 103 <li><label>{'View as'|translate}</label> -
extensions/AdminTools/template/style.css
r25833 r25835 194 194 195 195 @media (max-width:640px) { 196 .atoHideable1 { 197 display:none; 198 } 199 } 200 201 @media (max-width:360px) { 202 .atoHideable2 { 203 display:none; 204 } 205 } 196 #ato_header_root li a.ato-hide-1 { 197 font-size:0px; 198 line-height:0px; 199 } 200 #ato_header_root li a.ato-hide-1:before { 201 margin-right:0; 202 } 203 } 204 205 @media (max-width:500px) { 206 #ato_header_root li a.ato-hide-2 { 207 font-size:0px; 208 line-height:0px; 209 } 210 #ato_header_root li a.ato-hide-2:before { 211 margin-right:0; 212 } 213 }
Note: See TracChangeset
for help on using the changeset viewer.