// Fix tpl files for some controllers
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11911 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user