// Fix tpl files for some controllers

This commit is contained in:
rGaillard
2011-12-29 17:29:06 +00:00
parent a159f42471
commit b990e12ead
24 changed files with 388 additions and 36 deletions
@@ -58,14 +58,13 @@ class AdminAccountingExportControllerCore extends AdminController
public function __construct()
{
$this->className = 'Accounting';
$this->pathAccountExportTpl = _PS_ADMIN_DIR_.'/themes/template/accounting_export/';
$this->content = '';
$this->downloadDir = _PS_ADMIN_DIR_.'/export/';
$this->exportSelected = 'global_export';
$this->initExportFieldList();
parent::__construct();
$this->pathAccountExportTpl = 'accounting_export/';
}
/**
@@ -121,7 +121,7 @@ class AdminEmployeesControllerCore extends AdminController
$path = _PS_ADMIN_DIR_.'/themes/';
foreach (scandir($path) as $theme)
if (file_exists($path.$theme.'/admin.css'))
if (file_exists($path.$theme.'/css/admin.css'))
$this->themes[] = $theme;
$this->fields_form = array(
@@ -173,7 +173,7 @@ class AdminStatusesControllerCore extends AdminController
'action' => self::$cache_lang['editaddresses'],
));
return $this->context->smarty->fetch(_PS_ADMIN_DIR_.'/themes/template/manufacturers/list_action_edit_adresses.tpl');
return $this->context->smarty->fetch('manufacturers/list_action_edit_adresses.tpl');
}
public function renderForm()