diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 5bf59be96..4d73ae389 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -134,15 +134,15 @@ y.callService( {if $DISPLAY_NAV_THUMB} diff --git a/themes/default/template/picture_content.tpl b/themes/default/template/picture_content.tpl index 2b745f65f..793c275ea 100644 --- a/themes/default/template/picture_content.tpl +++ b/themes/default/template/picture_content.tpl @@ -10,11 +10,11 @@ {assign var='size' value=$derivative->get_size()} {if isset($previous)} -{$previous.TITLE} +{$previous.TITLE|@escape} {/if} {'Thumbnails'|@translate} {if isset($next)} -{$next.TITLE} +{$next.TITLE|@escape} {/if} {/strip}{/foreach} \ No newline at end of file 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 @@ {/if}{/strip} {strip}{if isset($previous)} - +  {'Previous'|@translate} {else} @@ -64,7 +64,7 @@ {/if} {strip}{if isset($next)} - +  {'Next'|@translate} {else}