-
-
Save irshadsheikh/dc6af016050d4f00883c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $config['Site'] = array( | |
| 'name' => 'My Site Name', | |
| 'sidebarMenu' => array( | |
| // Menu for Admin | |
| 'admin' => array( | |
| 'dashboard' => array( | |
| 'icon' => 'dashboard', | |
| 'title' => 'Dashboard', | |
| 'url' => array( | |
| 'admin' => false, | |
| 'controller' => 'users', | |
| 'action' => 'dashboard', | |
| ), | |
| 'weight' => 50, | |
| ), | |
| 'users' => array( | |
| 'icon' => 'user', | |
| 'title' => 'Users', | |
| 'url' => array( | |
| 'admin' => false, | |
| 'controller' => 'users', | |
| 'action' => 'index', | |
| ), | |
| 'weight' => 70, | |
| 'children' => array( | |
| 'users' => array( | |
| 'icon' => 'user', | |
| 'title' => 'All Users', | |
| 'url' => array( | |
| 'admin' => false, | |
| 'controller' => 'users', | |
| 'action' => 'index', | |
| ), | |
| ), | |
| 'add_user' => array( | |
| 'icon' => 'user', | |
| 'title' => 'Add User', | |
| 'url' => array( | |
| 'admin' => false, | |
| 'controller' => 'users', | |
| 'action' => 'add', | |
| ), | |
| ), | |
| ), | |
| ),// end users | |
| 'roles' => array( | |
| 'icon' => 'group', | |
| 'title' => 'User Roles', | |
| 'url' => array( | |
| 'admin' => false, | |
| 'controller' => 'roles', | |
| 'action' => 'index', | |
| ), | |
| 'weight' => 80, | |
| 'children' => array( | |
| 'roles' => array( | |
| 'icon' => 'group', | |
| 'title' => 'All User Roles', | |
| 'url' => array( | |
| 'admin' => false, | |
| 'controller' => 'roles', | |
| 'action' => 'index', | |
| ), | |
| ), | |
| 'add_role' => array( | |
| 'icon' => 'group', | |
| 'title' => 'Add Role', | |
| 'url' => array( | |
| 'admin' => false, | |
| 'controller' => 'roles', | |
| 'action' => 'add', | |
| ), | |
| ), | |
| ), | |
| ),//end role | |
| ) | |
| ) | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment