/** * Call back hook to add menu entries. * * @return null */ function addMenu() { Core_Menu_AddMenu('User', 'Bikes', array('module' => 'UserManagement', 'action' => 'bikes')); Core_Menu_AddMenu('User', 'Settings', array('module' => 'UserManagement', 'action' => 'settings')); if (isset($_SESSION['superuser']) && $_SESSION['superuser']) { Core_Menu_AddMenu('UserManagement', 'View Users', array('module' => 'UserManagement', 'action' => 'view')); Core_Menu_AddMenu('UserManagement', 'New User', array('module' => 'UserManagement', 'action' => 'create')); } }
function addMenu() { Core_Menu_AddMenu('Sessions', 'View Sessions', array('module' => 'Sessions', 'action' => 'view')); Core_Menu_AddMenu('Sessions', 'Climbs', array('module' => 'Sessions', 'action' => 'viewClimbs')); Core_Menu_AddMenu('Sessions', 'File Upload', array('module' => 'Sessions', 'action' => 'viewUpload')); }
function addMenu() { Core_Menu_AddMenu('DashBoard', 'DashBoard', array('module' => 'DashBoard', 'action' => 'view')); }
function addMenu() { Core_Menu_AddMenu('User', 'Logout', array('module' => 'Login', 'action' => 'logout')); }
function addMenu() { Core_Menu_AddMenu('Plans', 'View Plans', array('module' => 'Plans', 'action' => 'view')); }