. * * For more information, contact Colosa Inc, 2566 Le Jeune Rd., * Coral Gables, FL, 33134, USA, or email info@colosa.com. * */ # # ---= Processmaker main menu=--- # global $G_TMP_MENU; global $RBAC; if ($RBAC->userCanAccess('PM_DASHBOARD') == 1 ) { //$G_TMP_MENU->AddIdRawOption('DASHBOARD', 'dashboard/dashboard', G::LoadTranslation('ID_DASHBOARD')); } #CASES MODULE if ($RBAC->userCanAccess('PM_CASES') == 1) { $G_TMP_MENU->AddIdRawOption('CASES', 'cases/main', G::LoadTranslation('ID_HOME')); } #PROCESSES MODULE if ($RBAC->userCanAccess('PM_FACTORY') == 1 ) { $G_TMP_MENU->AddIdRawOption('PROCESSES', 'processes/main', G::LoadTranslation('ID_DESIGNER')); } /*if ($RBAC->userCanAccess('PM_REPORTS') == 1 ) { $G_TMP_MENU->AddIdRawOption('REPORTS', 'reports/reportsList'); }*/ if ($RBAC->userCanAccess('PM_SETUP') == 1 || $RBAC->userCanAccess('PM_USERS') == 1) { $G_TMP_MENU->AddIdRawOption('SETUP', 'setup/main', G::LoadTranslation('ID_SETUP')); } if( file_exists(PATH_CORE . 'menus/plugin.php') ) { require_once(PATH_CORE . 'menus/plugin.php'); }