add options in menu
update 5 translations add transtations in Task scheduler
This commit is contained in:
committed by
Henry Jordan
parent
d7120d146e
commit
ac859bf1ca
23
workflow/engine/menus/setup.php
Normal file → Executable file
23
workflow/engine/menus/setup.php
Normal file → Executable file
@@ -295,3 +295,26 @@ if ((string)($status) !== 'enabled' &&
|
||||
);
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
if ($RBAC->userCanAccess('PM_TASK_SCHEDULER_ADMIN') === 1) {
|
||||
$G_TMP_MENU->AddIdRawOption(
|
||||
'ID_MENU_CASE_ACTIONS', '../scheduler/index?category=case_actions',
|
||||
G::LoadTranslation("ID_TASK_SCHEDULER_CASE_ACTIONS"),
|
||||
'', '', G::LoadTranslation("ID_TASK_SCHEDULER")
|
||||
);
|
||||
$G_TMP_MENU->AddIdRawOption(
|
||||
'ID_MENU_EMAILS_NOTIFICATIONS', '../scheduler/index?category=emails_notifications',
|
||||
G::LoadTranslation("ID_TASK_SCHEDULER_EMAILS_NOTIFICATIONS"),
|
||||
'', '', G::LoadTranslation("ID_TASK_SCHEDULER")
|
||||
);
|
||||
$G_TMP_MENU->AddIdRawOption(
|
||||
'ID_MENU_PLUGINS', '../scheduler/index?category=plugins',
|
||||
G::LoadTranslation("ID_TASK_SCHEDULER_PLUGINS"),
|
||||
'', '', G::LoadTranslation("ID_TASK_SCHEDULER")
|
||||
);
|
||||
$G_TMP_MENU->AddIdRawOption(
|
||||
'ID_MENU_PM_SYNC', '../scheduler/index?category=processmaker_sync',
|
||||
G::LoadTranslation("ID_TASK_SCHEDULER_PM_SYNC"),
|
||||
'', '', G::LoadTranslation("ID_TASK_SCHEDULER")
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user