From 5f95dda75db5b4bd39eb5df1833a9ebf4f74e70e Mon Sep 17 00:00:00 2001 From: dMetzger Date: Thu, 9 Feb 2012 15:07:52 +0000 Subject: [PATCH] // Small display fixes git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13181 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/functions.php | 6 +++--- .../template/controllers/cart_rules/product_rule_group.tpl | 4 ++-- modules/blockcart/blockcart.css | 7 +++++++ modules/blockcart/blockcart.tpl | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/admin-dev/functions.php b/admin-dev/functions.php index e1e037e2d..e58bb1169 100644 --- a/admin-dev/functions.php +++ b/admin-dev/functions.php @@ -30,7 +30,7 @@ require_once(dirname(__FILE__).'/../images.inc.php'); function bindDatepicker($id, $time) { if ($time) - echo ' + echo ' var dateObj = new Date(); var hours = dateObj.getHours(); var mins = dateObj.getMinutes(); @@ -42,7 +42,7 @@ function bindDatepicker($id, $time) echo ' $(function() { - $("#'.$id.'").datepicker({ + $("#'.Tools::htmlentitiesUTF8($id).'").datepicker({ prevText:"", nextText:"", dateFormat:"yy-mm-dd"'.($time ? '+time' : '').'}); @@ -62,7 +62,7 @@ function includeDatepicker($id, $time = false) echo ''; $iso = Db::getInstance()->getValue('SELECT iso_code FROM '._DB_PREFIX_.'lang WHERE `id_lang` = '.(int)Context::getContext()->language->id); if ($iso != 'en') - echo ''; + echo ''; echo '