// Added Helper::createTemplate()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9888 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-11-04 13:31:09 +00:00
parent c46fd00276
commit 74bb9d88c8
10 changed files with 85 additions and 102 deletions
@@ -117,9 +117,7 @@ class AdminDeliverySlipControllerCore extends AdminController
{
$this->initForm();
$helper = new HelperForm();
// Check if form template has been overriden
if (file_exists($this->context->smarty->template_dir[0].'/'.$this->tpl_folder.'form.tpl'))
$helper->tpl = $this->tpl_folder.'form.tpl';
$helper->override_folder = $this->tpl_folder;
$helper->currentIndex = self::$currentIndex;
$helper->token = $this->token;
$helper->table = $this->table;