Files
luos/workflow/engine/menus/simplified.php
Victor Saisa Lopez 7b5deb054b BUG 9294 "Simplified experience plugins" SOLVED
- Request to enable and show the new submenus that have been created
  with plug-ins in the Simplified user experience.
- Code added for show the new submenus that have been created
  with plug-ins
2012-06-14 16:03:30 -04:00

11 lines
535 B
PHP

<?php
global $G_TMP_MENU;
global $RBAC;
$G_TMP_MENU->AddIdRawOption("S_HOME", "home/appList?t=todo", G::LoadTranslation("ID_HOME"), "/images/simplified/in-set-grey.png", null, null, null);
if ($RBAC->userCanAccess("PM_CASES") == 1) {
$G_TMP_MENU->AddIdRawOption("S_DRAFT", "home/appList?t=draft", G::LoadTranslation("ID_DRAFT"), "/images/simplified/folder-grey.png", null, null, null);
$G_TMP_MENU->AddIdRawOption("S_NEW_CASE", "#", G::LoadTranslation("ID_NEW_CASE"), "/images/simplified/plus-set-grey.png", null, null, null);
}