X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/e06899a60cc1bda43249f61aff28f99224b8013f..de4cfadb31bf782b45184a44ba02bb73f8cc2f77:/sistema/www/permisos/permisos-abm.php diff --git a/sistema/www/permisos/permisos-abm.php b/sistema/www/permisos/permisos-abm.php index 4abefa1..d6b69ef 100644 --- a/sistema/www/permisos/permisos-abm.php +++ b/sistema/www/permisos/permisos-abm.php @@ -20,6 +20,9 @@ // $Id$ // +//VERIFICO SI SE TIENE ACCESO A LA PAGINA{{{ +$SAMURAI_PERM->chequear(SAMURAI_DEVELOPER); +//}}} //REQUIRE_ONCE {{{ //MECON {{{ require_once 'MECON/HTML/QuickForm.php'; @@ -37,7 +40,7 @@ $FORM->addElement ('header', 'cabecera', 'ABM Permisos'); $FORM->addElement ('hidden', 'id_permiso'); $FORM->addElement ('text' , 'desc_permiso', 'Descripcion', array('size'=>'50')); - $FORM->addElement ('hidden', 'responsable' , $_SESSION['samurai']['login']); + $FORM->addElement ('hidden', 'responsable' , $_SESSION['usuario']); $group[] = HTML_QuickForm::createElement('submit', 'aceptar' , 'Grabar'); $group[] = HTML_QuickForm::createElement('button', 'cancelar', 'Cancelar', array ('onClick' => 'javascript:history.go(-1);return true;')); $FORM->addGroup($group,'botones');