X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/79cc4f777b6fe9d907ccad24a2fc65246d0253ed..0cf56477ad378a18f1d9daad478a4e14427b6b3b:/sistema/www/sistemas/sistemas-abm.php 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');