From 143637d30ee2a386b80dbeb6ce6ff44874d1bfd5 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 13 Oct 2011 18:00:53 +0000 Subject: bug 2469 compiled_template_cache_language option does not work properly on some language keys because of double escaping git-svn-id: http://piwigo.org/svn/trunk@12427 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/install.tpl | 2 +- admin/themes/default/template/intro.tpl | 6 +++--- admin/themes/default/template/languages_new.tpl | 4 ++-- admin/themes/default/template/menubar.tpl | 2 +- admin/themes/default/template/updates_ext.tpl | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'admin') diff --git a/admin/themes/default/template/install.tpl b/admin/themes/default/template/install.tpl index 454a81904..d0796677a 100644 --- a/admin/themes/default/template/install.tpl +++ b/admin/themes/default/template/install.tpl @@ -280,7 +280,7 @@ jQuery().ready(function(){ldelim}
diff --git a/admin/themes/default/template/intro.tpl b/admin/themes/default/template/intro.tpl index 21646e01e..7afbd6ab4 100644 --- a/admin/themes/default/template/intro.tpl +++ b/admin/themes/default/template/intro.tpl @@ -1,8 +1,8 @@ {combine_script id='jquery.cluetip' load='async' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'} {footer_script require='jquery.cluetip'} -var piwigo_need_update_msg = '{"A new version of Piwigo is available."|@translate|@escape:"javascript"}'; -var ext_need_update_msg = '{"Some upgrades are available for extensions."|@translate|@escape:"javascript"}'; +var piwigo_need_update_msg = '{'A new version of Piwigo is available.'|@translate|@escape:"javascript"}'; +var ext_need_update_msg = '{'Some upgrades are available for extensions.'|@translate|@escape:"javascript"}'; {literal} jQuery().ready(function(){ @@ -42,7 +42,7 @@ jQuery().ready(function(){
  • Piwigo {$PWG_VERSION}
  • {'Check for upgrade'|@translate}
  • {if isset($SUBSCRIBE_BASE_URL)} -
  • {'Subscribe %s to Piwigo Announcements Newsletter'|@translate|@sprintf:$EMAIL}
  • +
  • {'Subscribe %s to Piwigo Announcements Newsletter'|@translate|@sprintf:$EMAIL}
  • {/if} diff --git a/admin/themes/default/template/languages_new.tpl b/admin/themes/default/template/languages_new.tpl index b73f396c4..9a7db8aac 100644 --- a/admin/themes/default/template/languages_new.tpl +++ b/admin/themes/default/template/languages_new.tpl @@ -26,8 +26,8 @@ jQuery().ready(function(){ldelim} {foreach from=$languages item=language name=languages_loop} - {$language.EXT_NAME} - {$language.VERSION} + {$language.EXT_NAME} + {$language.VERSION} {$language.DATE} {$language.AUTHOR} {'Install'|@translate} diff --git a/admin/themes/default/template/menubar.tpl b/admin/themes/default/template/menubar.tpl index f20014dca..4d65c0858 100644 --- a/admin/themes/default/template/menubar.tpl +++ b/admin/themes/default/template/menubar.tpl @@ -26,7 +26,7 @@ jQuery(document).ready(function(){ {/literal}{/footer_script}
    -

    {'Menu Management'|translate}

    +

    {'Menu Management'|@translate}