// 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

View File

@@ -285,7 +285,7 @@ class AdminModulesPositionsControllerCore extends AdminController
'can_move' => (Shop::isFeatureActive() && $this->context->shop->getContextType() != Shop::CONTEXT_SHOP) ? false : true,
));
return $this->context->smarty->fetch('modules_positions/list_modules.tpl');
return $this->createTemplate('list_modules.tpl')->fetch();
}
public function renderForm()
@@ -344,7 +344,7 @@ class AdminModulesPositionsControllerCore extends AdminController
foreach ($exceptsList as $shopID => $fileList)
$exception_list_diff[] = $this->displayModuleExceptionList($fileList, $shopID);
$tpl = $this->context->smarty->createTemplate('modules_positions/form.tpl');
$tpl = $this->createTemplate('form.tpl');
$tpl->assign(array(
'url_submit' => self::$currentIndex.'&token='.$this->token,
'edit_graft' => Tools::isSubmit('editGraft'),