Files
luos/gulliver/bin/tasks/templates/mainmenu.php.tpl
2010-12-02 23:34:41 +00:00

26 lines
487 B
Smarty
Executable File

<?php
/**
* {projectName}.php
*
*/
global $G_TMP_MENU;
global $RBAC;
$G_TMP_MENU->AddIdRawOption('USERS', 'users/usersList');
//$G_TMP_MENU->AddIdRawOption('REPORTS', 'login/welcome');
$G_TMP_MENU->AddIdRawOption('WELCOME', 'login/welcome');
$G_TMP_MENU->Labels = array(
G::LoadTranslation('ID_USERS'),
// G::LoadTranslation('ID_REPORTS'),
G::LoadTranslation('ID_WELCOME')
);
/*
if ($RBAC->userCanAccess('PM_USERS') != 1)
{
$G_TMP_MENU->DisableOptionId('USERS');
}
*/