diff --git a/classes/Meta.php b/classes/Meta.php index 631b71478..925321a8b 100644 --- a/classes/Meta.php +++ b/classes/Meta.php @@ -126,7 +126,7 @@ class MetaCore extends ObjectModel $sql = 'SELECT * FROM '._DB_PREFIX_.'meta m LEFT JOIN '._DB_PREFIX_.'meta_lang ml on (m.id_meta = ml.id_meta) - WHERE (m.page = \''.pSQL($page).'\' OR m.page=\''.str_replace('-', '', strtolower($page)).'\') + WHERE (m.page = \''.pSQL($page).'\' OR m.page=\''.pSQL(str_replace('-', '', strtolower($page))).'\') AND ml.id_lang = '.(int)$id_lang .Shop::addSqlRestrictionOnLang('ml'); return Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($sql); diff --git a/modules/blockcart/blockcart.tpl b/modules/blockcart/blockcart.tpl index cfe1f7ee5..77b047bce 100644 --- a/modules/blockcart/blockcart.tpl +++ b/modules/blockcart/blockcart.tpl @@ -37,7 +37,7 @@ var customizationIdMessage = '{l s='Customization #' mod='blockcart' js=1}'; var removingLinkText = '{l s='remove this product from my cart' mod='blockcart' js=1}'; var freeShippingTranslation = '{l s='Free shipping!' mod='blockcart' js=1}'; var freeProductTranslation = '{l s='Free!' mod='blockcart' js=1}'; -var delete_txt = '{l s='Delete' mod='blockcart'}'; +var delete_txt = '{l s='Delete' mod='blockcart' js=1}'; diff --git a/modules/blocknewsletter/views/templates/hook/blocknewsletter.tpl b/modules/blocknewsletter/views/templates/hook/blocknewsletter.tpl index 42334d258..dae50de6b 100644 --- a/modules/blocknewsletter/views/templates/hook/blocknewsletter.tpl +++ b/modules/blocknewsletter/views/templates/hook/blocknewsletter.tpl @@ -36,8 +36,8 @@ {* @todo use jquery (focusin, focusout) instead of onblur and onfocus *}
  + writeBookmarkLink('{$come_from}', '{$shop_name|addslashes|addslashes}', '{l s='bookmark this page' mod='blockpermanentlinks' js=1}', '{$img_dir}icon/star.gif'); 
diff --git a/modules/blockpermanentlinks/blockpermanentlinks-header.tpl b/modules/blockpermanentlinks/blockpermanentlinks-header.tpl index 36067a41a..0083786d1 100644 --- a/modules/blockpermanentlinks/blockpermanentlinks-header.tpl +++ b/modules/blockpermanentlinks/blockpermanentlinks-header.tpl @@ -28,7 +28,7 @@ diff --git a/modules/blockpermanentlinks/blockpermanentlinks.tpl b/modules/blockpermanentlinks/blockpermanentlinks.tpl index 2f2a9f412..a7a18e71b 100644 --- a/modules/blockpermanentlinks/blockpermanentlinks.tpl +++ b/modules/blockpermanentlinks/blockpermanentlinks.tpl @@ -36,7 +36,7 @@
  + writeBookmarkLink('{$come_from}', '{$shop_name|addslashes|addslashes}', '{l s='bookmark this page' mod='blockpermanentlinks' js=1}'); 
\ No newline at end of file diff --git a/modules/blockwishlist/views/templates/front/mywishlist.tpl b/modules/blockwishlist/views/templates/front/mywishlist.tpl index ba33562cb..3f0a5e796 100644 --- a/modules/blockwishlist/views/templates/front/mywishlist.tpl +++ b/modules/blockwishlist/views/templates/front/mywishlist.tpl @@ -81,7 +81,7 @@ {$wishlists[i].date_add|date_format:"%Y-%m-%d"} {l s='View' mod='blockwishlist'} - {l s='Delete' mod='blockwishlist'} + {l s='Delete' mod='blockwishlist'} {/section} diff --git a/modules/producttooltip/producttooltip.tpl b/modules/producttooltip/producttooltip.tpl index fd06e74c8..c7893e978 100644 --- a/modules/producttooltip/producttooltip.tpl +++ b/modules/producttooltip/producttooltip.tpl @@ -25,8 +25,8 @@ diff --git a/themes/default/addresses.tpl b/themes/default/addresses.tpl index 816012b19..27ddf7664 100644 --- a/themes/default/addresses.tpl +++ b/themes/default/addresses.tpl @@ -112,7 +112,7 @@ {/foreach}
  • » {l s='Update'}
  • -
  • » {l s='Delete'}
  • +
  • » {l s='Delete'}
  • {/foreach} @@ -127,4 +127,4 @@ \ No newline at end of file + diff --git a/themes/live_edit.tpl b/themes/live_edit.tpl index a0f0c2f9f..77b385e84 100644 --- a/themes/live_edit.tpl +++ b/themes/live_edit.tpl @@ -27,7 +27,7 @@ var ad = "{$smarty.get.ad}"; {/if} var lastMove = ''; - var saveOK = '{l s='Module position saved'}'; + var saveOK = '{l s='Module position saved' js=1}'; var confirmClose = '{l s='Are you sure? If you close this window, its position won\'t be saved' js=1}'; var close = '{l s='Close' js=1}'; var cancel = '{l s='Cancel' js=1}';