mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Removed old TODO and added some notes.
This commit is contained in:
parent
005db35df9
commit
4fa8df1498
@ -30,9 +30,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
//TODO before release. - replace majority of code with admin_gui class setup.
|
||||
|
||||
|
||||
require_once ('../class2.php');
|
||||
if(! getperms('S'))
|
||||
{
|
||||
@ -132,6 +129,7 @@ class admin_log_ui extends e_admin_ui
|
||||
protected $listOrder = 'f.dblog_id DESC';
|
||||
|
||||
protected $batchDelete = false;
|
||||
protected $batchDeleteLog = false; //TODO - AdminUI option to disable logging of changes.
|
||||
|
||||
protected $fields = array (
|
||||
// 'checkboxes' => array ( 'title' => '', 'type' => null, 'data' => null, 'nolist'=>true, 'width' => '5%', 'thclass' => 'center', 'forced' => '1', 'class' => 'center', 'toggle' => 'e-multiselect', ),
|
||||
@ -199,6 +197,16 @@ class admin_log_ui extends e_admin_ui
|
||||
}
|
||||
|
||||
asort($this->eventTypes);
|
||||
|
||||
if(getperms('0'))
|
||||
{
|
||||
|
||||
$arr = array_reverse($this->fields, true);
|
||||
$arr['checkboxes'] = array ( 'title' => '', 'type' => null, 'data' => null, 'width' => '5%', 'thclass' => 'center', 'forced' => '1', 'class' => 'center', 'toggle' => 'e-multiselect' );
|
||||
|
||||
$this->fields = array_reverse($arr, true);
|
||||
$this->batchDelete = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user