[*] BO #PSFV-94 : update of the displayform method by helperForm in AdminShopUrlController

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9307 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-10-13 09:06:32 +00:00
parent 039271f118
commit 278dc40a5e
5 changed files with 241 additions and 163 deletions
+1 -3
View File
@@ -234,9 +234,7 @@ class AdminShopUrlControllerCore extends AdminController
foreach (Shop::getShops(false, null, true) as $id)
$list_shop_with_url[$id] = (bool)count(ShopUrl::getShopUrls($id));
$smarty = $this->context->smarty;
$smarty->assign('jsShopUrl', Tools::jsonEncode($list_shop_with_url));
$smarty->assign('script', $smarty->fetch($smarty->template_dir.'/'.$this->tpl_folder.'script.tpl'));
$this->context->smarty->assign('jsShopUrl', Tools::jsonEncode($list_shop_with_url));
$this->fields_value = array(
'domain' => Validate::isLoadedObject($obj) ? $this->getFieldValue($obj, 'domain') : $current_shop->domain,