// fix display AdminLogsController
This commit is contained in:
+8
-10
@@ -1,5 +1,5 @@
|
|||||||
{*
|
{*
|
||||||
* 2007-2011 PrestaShop
|
* 2007-2011 PrestaShop
|
||||||
*
|
*
|
||||||
* NOTICE OF LICENSE
|
* NOTICE OF LICENSE
|
||||||
*
|
*
|
||||||
@@ -19,12 +19,15 @@
|
|||||||
*
|
*
|
||||||
* @author PrestaShop SA <contact@prestashop.com>
|
* @author PrestaShop SA <contact@prestashop.com>
|
||||||
* @copyright 2007-2011 PrestaShop SA
|
* @copyright 2007-2011 PrestaShop SA
|
||||||
* @version Release: $Revision$
|
* @version Release: $Revision: 9639 $
|
||||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{if $list}
|
{extends file="helper/list/list_header.tpl"}
|
||||||
|
|
||||||
|
{block name="override_header"}
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{l s='Severity levels'}</legend>
|
<legend>{l s='Severity levels'}</legend>
|
||||||
<p>{l s='Meaning of severity levels:'}</p>
|
<p>{l s='Meaning of severity levels:'}</p>
|
||||||
@@ -34,11 +37,6 @@
|
|||||||
<li style="color: orange;">{l s='Error'}</li>
|
<li style="color: orange;">{l s='Error'}</li>
|
||||||
<li style="color: red;">{l s='Major issue (crash)'}</li>
|
<li style="color: red;">{l s='Major issue (crash)'}</li>
|
||||||
</ol>
|
</ol>
|
||||||
</fieldset>
|
</fieldset><br />
|
||||||
{/if}
|
|
||||||
|
|
||||||
{$list}
|
{/block}
|
||||||
<br />
|
|
||||||
<h2>{l s='Logs by e-mail'}</h2>
|
|
||||||
|
|
||||||
{$options}
|
|
||||||
@@ -57,27 +57,19 @@ class AdminLogsControllerCore extends AdminController
|
|||||||
'cast' => 'intval',
|
'cast' => 'intval',
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'size' => 5
|
'size' => 5
|
||||||
),
|
)
|
||||||
),
|
),
|
||||||
'submit' => array()
|
'submit' => array()
|
||||||
),
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
public function initToolbar()
|
||||||
* Assign smarty variables for all default views, list and form, then call other init functions
|
|
||||||
*/
|
|
||||||
public function initContent()
|
|
||||||
{
|
{
|
||||||
$this->context->smarty->assign(array(
|
parent::initToolbar();
|
||||||
'table' => $this->table,
|
unset($this->toolbar_btn['new']);
|
||||||
'current' => self::$currentIndex,
|
|
||||||
'token' => $this->token,
|
|
||||||
'list' => $this->initList(),
|
|
||||||
'options' => $this->initOptions()
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user