Changeset 31104
- Timestamp:
- Apr 24, 2015, 10:27:59 PM (10 years ago)
- Location:
- branches/2.7/themes/default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/themes/default/js/switchbox.js
r24612 r31104 18 18 } 19 19 20 SwitchBox = {20 window.SwitchBox = { 21 21 push: sbFunc 22 22 } -
branches/2.7/themes/default/template/index.tpl
r27882 r31104 27 27 {/foreach} 28 28 </div> 29 {footer_script}( SwitchBox=window.SwitchBox||[]).push("#sortOrderLink", "#sortOrderBox");{/footer_script}29 {footer_script}(window.SwitchBox=window.SwitchBox||[]).push("#sortOrderLink", "#sortOrderBox");{/footer_script} 30 30 {/strip}</li> 31 31 {/if} … … 44 44 {/foreach} 45 45 </div> 46 {footer_script}( SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");{/footer_script}46 {footer_script}(window.SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");{/footer_script} 47 47 {/strip}</li> 48 48 {/if} … … 110 110 {/foreach} 111 111 </div> 112 {footer_script}( SwitchBox=window.SwitchBox||[]).push("#calendarViewSwitchLink", "#calendarViewSwitchBox");{/footer_script}112 {footer_script}(window.SwitchBox=window.SwitchBox||[]).push("#calendarViewSwitchLink", "#calendarViewSwitchBox");{/footer_script} 113 113 </div> 114 114 {/if} -
branches/2.7/themes/default/template/picture.tpl
r29359 r31104 35 35 document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}'; 36 36 } 37 ( SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");37 (window.SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox"); 38 38 {/literal}{/footer_script} 39 39 {strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> … … 294 294 ); 295 295 } 296 ( SwitchBox=window.SwitchBox||[]).push("#privacyLevelLink", "#privacyLevelBox");296 (window.SwitchBox=window.SwitchBox||[]).push("#privacyLevelLink", "#privacyLevelBox"); 297 297 {/strip}{/footer_script} 298 298 <div id="privacyLevelBox" class="switchBox" style="display:none">
Note: See TracChangeset
for help on using the changeset viewer.