Example #1
0
     $tpl->assign('onCloseAction', \SP\Controller\ActionsInterface::ACTION_USR);
     $tpl->assign('isView', true);
     $controller = new SP\Controller\UsersMgmtC($tpl);
     $controller->getGroup();
     break;
 case \SP\Controller\ActionsInterface::ACTION_USR_GROUPS_EDIT:
     $tpl->assign('header', _('Editar Grupo'));
     $tpl->assign('onCloseAction', \SP\Controller\ActionsInterface::ACTION_USR);
     $controller = new SP\Controller\UsersMgmtC($tpl);
     $controller->getGroup();
     break;
 case \SP\Controller\ActionsInterface::ACTION_USR_GROUPS_NEW:
     $tpl->assign('header', _('Nuevo Grupo'));
     $tpl->assign('onCloseAction', \SP\Controller\ActionsInterface::ACTION_USR);
     $controller = new SP\Controller\UsersMgmtC($tpl);
     $controller->getGroup();
     break;
 case \SP\Controller\ActionsInterface::ACTION_USR_PROFILES_VIEW:
     $tpl->assign('header', _('Ver Perfil'));
     $tpl->assign('onCloseAction', \SP\Controller\ActionsInterface::ACTION_USR);
     $tpl->assign('isView', true);
     $controller = new SP\Controller\UsersMgmtC($tpl);
     $controller->getProfile();
     break;
 case \SP\Controller\ActionsInterface::ACTION_USR_PROFILES_EDIT:
     $tpl->assign('header', _('Editar Perfil'));
     $tpl->assign('onCloseAction', \SP\Controller\ActionsInterface::ACTION_USR);
     $controller = new SP\Controller\UsersMgmtC($tpl);
     $controller->getProfile();
     break;
 case \SP\Controller\ActionsInterface::ACTION_USR_PROFILES_NEW: