1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 22:25:31 +02:00

Support added for dividers in admin-menu

This commit is contained in:
Cameron
2013-03-07 05:02:04 -08:00
parent d0dec8fd27
commit e5d25b4635
3 changed files with 10 additions and 4 deletions

View File

@@ -57,11 +57,13 @@ class page_admin extends e_admin_dispatcher
protected $adminMenu = array(
'page/list' => array('caption'=> CUSLAN_48, 'perm' => '5'),
'menu/list' => array('caption'=> CUSLAN_49, 'perm' => 'J', 'tab' => 2),
'page/create' => array('caption'=> CUSLAN_12, 'perm' => '5'),
'other' => array('divider'=> true),
'cat/list' => array('caption'=> "List Books/Chapters", 'perm' => '5'), // Create Category.
'cat/create' => array('caption'=> "Add Book/Chapter", 'perm' => '5'), // Category List
'divider' => true,
'menu/list' => array('caption'=> CUSLAN_49, 'perm' => 'J', 'tab' => 2),
'other2' => array('divider'=> true),
// 'menu/create' => array('caption'=> CUSLAN_31, 'perm' => 'J', 'tab' => 2),
'page/prefs' => array('caption'=> LAN_OPTIONS, 'perm' => '0')
);
@@ -72,7 +74,7 @@ class page_admin extends e_admin_dispatcher
'menu/edit' => 'menu/create'
);
protected $menuTitle = 'Custom Pages';
protected $menuTitle = ADLAN_42;
}
class page_admin_form_ui extends e_admin_form_ui