// fix display AdminLogsController

This commit is contained in:
lLefevre
2011-11-22 17:21:41 +00:00
parent 9c76b35ec4
commit 6f596d5f6b
2 changed files with 13 additions and 23 deletions
+5 -13
View File
@@ -57,27 +57,19 @@ class AdminLogsControllerCore extends AdminController
'cast' => 'intval',
'type' => 'text',
'size' => 5
),
)
),
'submit' => array()
),
)
);
parent::__construct();
}
/**
* Assign smarty variables for all default views, list and form, then call other init functions
*/
public function initContent()
public function initToolbar()
{
$this->context->smarty->assign(array(
'table' => $this->table,
'current' => self::$currentIndex,
'token' => $this->token,
'list' => $this->initList(),
'options' => $this->initOptions()
));
parent::initToolbar();
unset($this->toolbar_btn['new']);
}
}