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

This commit is contained in:
tDidierjean
2011-10-21 09:01:19 +00:00
parent 56b9b85ce2
commit 00f2d0e2ee
5 changed files with 179 additions and 214 deletions

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;