Changeset 8299 for trunk/themes/default/template
- Timestamp:
- Dec 25, 2010, 1:15:46 PM (14 years ago)
- Location:
- trunk/themes/default/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/template/picture.tpl
r8119 r8299 61 61 {/if} 62 62 {if isset($U_SET_AS_REPRESENTATIVE)} 63 <a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as categoryrepresentative'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">63 <a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 64 64 <span class="pwg-icon pwg-icon-representative"> </span><span class="pwg-button-text">{'representative'|@translate}</span> 65 65 </a> … … 71 71 {/if} 72 72 {if isset($U_CADDIE)}{*caddie management BEGIN*} 73 <script type="text/javascript"> 73 {footer_script} 74 74 {literal}function addToCadie(aElement, rootUrl, id) 75 75 { … … 86 86 ); 87 87 }{/literal} 88 </script> 88 {/footer_script} 89 89 <a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{'add to caddie'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 90 90 <span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'caddie'|@translate}</span> … … 242 242 <td class="value"> 243 243 {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} 244 <script type="text/javascript"> 244 {footer_script} 245 245 {literal}function setPrivacyLevel(selectElement, rootUrl, id, level) 246 246 { … … 256 256 ); 257 257 }{/literal} 258 </script> 258 {/footer_script} 259 259 <select onchange="setPrivacyLevel(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}, this.options[selectedIndex].value)"> 260 260 {foreach from=$available_permission_levels item=label key=level} -
trunk/themes/default/template/picture_nav_buttons.tpl
r8119 r8299 85 85 </div> 86 86 87 <script type="text/javascript">// <![CDATA[{literal}87 {footer_script}{literal} 88 88 document.onkeydown = function(e) 89 89 { … … 98 98 {/literal} 99 99 {if isset($next)} 100 case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth)url="{$next.U_IMG |@escape:jasvascript}"; break;100 case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth)url="{$next.U_IMG}"; break; 101 101 {/if} 102 102 {if isset($previous)} 103 case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0)url="{$previous.U_IMG |@escape:jasvascript}"; break;103 case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0)url="{$previous.U_IMG}"; break; 104 104 {/if} 105 105 {if isset($first)} 106 /*Home*/case 36: if (e.ctrlKey)url="{$first.U_IMG |@escape:jasvascript}"; break;106 /*Home*/case 36: if (e.ctrlKey)url="{$first.U_IMG}"; break; 107 107 {/if} 108 108 {if isset($last)} 109 /*End*/case 35: if (e.ctrlKey)url="{$last.U_IMG |@escape:jasvascript}"; break;109 /*End*/case 35: if (e.ctrlKey)url="{$last.U_IMG}"; break; 110 110 {/if} 111 111 {if isset($U_UP) and !isset($slideshow)} 112 /*Up*/case 38: if (e.ctrlKey)url="{$U_UP |@escape:jasvascript}"; break;112 /*Up*/case 38: if (e.ctrlKey)url="{$U_UP}"; break; 113 113 {/if} 114 115 114 {if isset($slideshow.U_START_PLAY)} 116 /*Pause*/case 32: url="{$slideshow.U_START_PLAY |@escape:jasvascript}"; break;115 /*Pause*/case 32: url="{$slideshow.U_START_PLAY}"; break; 117 116 {/if} 118 117 {if isset($slideshow.U_STOP_PLAY)} 119 /*Play*/case 32: url="{$slideshow.U_STOP_PLAY |@escape:jasvascript}"; break;118 /*Play*/case 32: url="{$slideshow.U_STOP_PLAY}"; break; 120 119 {/if} 121 120 } … … 123 122 return true; 124 123 } 125 // ]]></script> 124 {/footer_script}
Note: See TracChangeset
for help on using the changeset viewer.