X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/79cc4f777b6fe9d907ccad24a2fc65246d0253ed..f511595e675f4589b2d1f0cf5d74ff0594a402f5:/sistema/www/sistemas/sistemas-abm.php?ds=inline diff --git a/sistema/www/sistemas/sistemas-abm.php b/sistema/www/sistemas/sistemas-abm.php index 95fafce..ce1cc05 100644 --- a/sistema/www/sistemas/sistemas-abm.php +++ b/sistema/www/sistemas/sistemas-abm.php @@ -32,7 +32,7 @@ // }}} // }}} //VERIFICO SI SE TIENE ACCESO A LA PAGINA{{{ -$SAMURAI_PERM->chequear(SAMURAI_DEVELOPER); +$SAMURAI_PERM->chequear(SAMURAI_PERM_DEVELOPER); //}}} //CREO LOS OBJETO NECESARIOS {{{ $FORM = new MECON_HTML_QuickForm ('sistemas_abm','post','sistemas-abm'); @@ -50,7 +50,7 @@ $SAMURAI_PERM->chequear(SAMURAI_DEVELOPER); $FORM->addElement ('mdate' , 'fecha_implementacion', 'Fecha Implementacion'); $FORM->addElement ('textarea', 'contacto' , 'Contacto' , array('rows' => '2','cols'=>'50')); $FORM->addElement ('select' , 'permisos' , 'Permisos' , $PERMISOS, array('size' => '5', 'multiple' => 'multiple')); - $FORM->addElement ('hidden' , 'responsable' , $_SESSION['samurai']['login']); + $FORM->addElement ('hidden' , 'responsable' , $_SESSION['usuario']); $group[] = HTML_QuickForm::createElement('submit', 'aceptar' , 'Grabar'); $group[] = HTML_QuickForm::createElement('submit', 'cancelar', 'Cancelar', array ('onClick' => 'javascript:window.location =\'sistemas\';return false;')); $FORM->addGroup($group,'botones');