diff options
author | plegall <plg@piwigo.org> | 2013-03-04 14:31:46 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2013-03-04 14:31:46 +0000 |
commit | c1f445f510cf82486044ea71764ef6253f5adff3 (patch) | |
tree | 7c25b97a482877fa2323d429db25e1d6e9e55046 /themes/default/template/picture_nav_buttons.tpl | |
parent | 6c1e393bea84b1e85dd87a49179bc91d06b96c08 (diff) |
bug 2859 fixed: sanitize of photo title before use in title/alt HTML attributes
git-svn-id: http://piwigo.org/svn/trunk@21175 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/picture_nav_buttons.tpl')
-rw-r--r-- | themes/default/template/picture_nav_buttons.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/template/picture_nav_buttons.tpl b/themes/default/template/picture_nav_buttons.tpl index fb6c0c7e9..6da241c51 100644 --- a/themes/default/template/picture_nav_buttons.tpl +++ b/themes/default/template/picture_nav_buttons.tpl @@ -45,7 +45,7 @@ </a> {/if}{/strip} {strip}{if isset($previous)} - <a href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" class="pwg-state-default pwg-button"> + <a href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE|@escape}" class="pwg-state-default pwg-button"> <span class="pwg-icon pwg-icon-arrow-w"> </span><span class="pwg-button-text">{'Previous'|@translate}</span> </a> {else} @@ -64,7 +64,7 @@ </a> {/if} {strip}{if isset($next)} - <a href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" class="pwg-state-default pwg-button pwg-button-icon-right"> + <a href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE|@escape}" class="pwg-state-default pwg-button pwg-button-icon-right"> <span class="pwg-icon pwg-icon-arrow-e"> </span><span class="pwg-button-text">{'Next'|@translate}</span> </a> {else} |