diff options
author | rvelices <rv-github@modusoptimus.com> | 2013-06-30 05:57:49 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2013-06-30 05:57:49 +0000 |
commit | 49da4accc8532bdb195f11f22164eaf97cc21652 (patch) | |
tree | 7a9f99d6bd770e6d9b160715b57904843978a1bb /themes/default/template/picture.tpl | |
parent | 3c3c3aacc96cf90523ed865e223b444137a5b81c (diff) |
on picture page add TITLE_ESC variable for every thumb to avoid escaping TITLE more than 40 times in the template...
git-svn-id: http://piwigo.org/svn/trunk@23689 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/picture.tpl')
-rw-r--r-- | themes/default/template/picture.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 8d94438cd..f41b573e3 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -128,9 +128,9 @@ y.callService( {if $DISPLAY_NAV_THUMB} <div class="navThumbs"> {if isset($previous)} - <a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE|@escape}" rel="prev"> + <a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE_ESC}" rel="prev"> <span class="thumbHover prevThumbHover"></span> - <img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE|@escape}"> + <img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE_ESC}"> </a> {elseif isset($U_UP)} <a class="navThumb" id="linkFirst" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="prev"> @@ -138,9 +138,9 @@ y.callService( </a> {/if} {if isset($next)} - <a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE|@escape}" rel="next"> + <a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE_ESC}" rel="next"> <span class="thumbHover nextThumbHover"></span> - <img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE|@escape}"> + <img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE_ESC}"> </a> {elseif isset($U_UP)} <a class="navThumb" id="linkLast" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="next"> |