// Move controller templates to subfolder controllers/

This commit is contained in:
tDidierjean
2012-01-09 17:23:42 +00:00
parent 14c9eec92a
commit e2dbac517f
168 changed files with 190 additions and 132 deletions
@@ -364,7 +364,7 @@ class AdminReferrersControllerCore extends AdminController
public static function displayCalendarForm($translations, $token, $action = null, $table = null, $identifier = null, $id = null)
{
$context = Context::getContext();
$tpl = $context->smarty->createTemplate('referrers/calendar.tpl');
$tpl = $context->controller->createTemplate('calendar.tpl');
$context->controller->addJqueryUI('ui.datepicker');
@@ -387,7 +387,7 @@ class AdminReferrersControllerCore extends AdminController
{
if (!Tools::isSubmit('viewreferrer'))
{
$tpl = $this->context->smarty->createTemplate($this->tpl_folder.'form_settings.tpl');
$tpl = $this->createTemplate('form_settings.tpl');
$tpl->assign(array(
'current' => self::$currentIndex,