[*] BO : #PSFV-94 - added AdminGeolocationController, added options.tpl override

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9530 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-10-21 09:01:19 +00:00
parent 2f9ecca752
commit 02330a5d06
5 changed files with 179 additions and 214 deletions
+3
View File
@@ -1157,6 +1157,9 @@ class AdminControllerCore extends Controller
if ($this->options && is_array($this->options))
{
$helper = new HelperOptions();
// Check if form template has been overriden
if (file_exists($this->context->smarty->template_dir[0].'/'.$this->tpl_folder.'options.tpl'))
$helper->tpl = $this->tpl_folder.'options.tpl';
$helper->id = $this->id;
$helper->token = $this->token;
$helper->table = $this->table;