918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Rev | Line | |
---|
[00b3dff] | 1 | // ************************************************************************************************************************************************* |
---|
| 2 | // Libreria de scripts de Javascript |
---|
| 3 | // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
---|
| 4 | // Fecha Creación:2003-2004 |
---|
| 5 | // Fecha Última modificación: Febrero-2005 |
---|
| 6 | // Nombre del fichero: administradores_centros.js |
---|
| 7 | // Descripción : |
---|
| 8 | // Este fichero implementa las funciones javascript del fichero administradores_centros |
---|
| 9 | // ************************************************************************************************************************************************* |
---|
| 10 | //________________________________________________________________________________________________________ |
---|
| 11 | |
---|
| 12 | function gestion_administrador(idcentro,o){ |
---|
| 13 | idusuario=document.fdatos.idusuario.value |
---|
| 14 | if (o.checked) |
---|
| 15 | var opcion=op_alta; |
---|
| 16 | else |
---|
| 17 | var opcion=op_eliminacion; |
---|
| 18 | |
---|
| 19 | var wurl="../gestores/gestor_administradores_usuarios.php?opcion="+opcion+"&idcentro="+idcentro+"&idusuario="+idusuario |
---|
| 20 | ifr=document.getElementById("iframes_comodin"); // Toma objeto Iframe |
---|
| 21 | ifr.src=wurl; // LLama a la página gestora |
---|
| 22 | } |
---|
| 23 | //________________________________________________________________________________________________________ |
---|
| 24 | function resultado_insertar_centros_administradores(resul,descrierror,nwid,tablanodo){ |
---|
| 25 | if (!resul){ // Ha habido algún error en la inserción |
---|
| 26 | alert(descrierror) |
---|
| 27 | return |
---|
| 28 | } |
---|
| 29 | alert(TbMsg[0]) |
---|
| 30 | |
---|
| 31 | } |
---|
| 32 | //________________________________________________________________________________________________________ |
---|
| 33 | function resultado_eliminar_centros_administradores(resul,descrierror,idp,idh){ |
---|
| 34 | if (!resul){ // Ha habido algún error en la eliminación |
---|
| 35 | alert(descrierror) |
---|
| 36 | return |
---|
| 37 | } |
---|
| 38 | alert(TbMsg[1]) |
---|
| 39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.