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 | |
---|
[f81a22ca] | 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 | function gestion_administrador(idusuario,o){ |
---|
| 12 | idcentro=document.fdatos.idcentro.value |
---|
| 13 | if (o.checked) |
---|
| 14 | var opcion=op_alta; |
---|
| 15 | else |
---|
| 16 | var opcion=op_eliminacion; |
---|
| 17 | |
---|
| 18 | var wurl="../gestores/gestor_administradores_centros.php?opcion="+opcion+"&idusuario="+idusuario+"&idcentro="+idcentro |
---|
| 19 | ifr=document.getElementById("iframes_comodin"); // Toma objeto Iframe |
---|
| 20 | ifr.src=wurl; // LLama a la página gestora |
---|
| 21 | } |
---|
| 22 | //________________________________________________________________________________________________________ |
---|
| 23 | function resultado_insertar_administradores_centros(resul,descrierror,nwid,tablanodo){ |
---|
| 24 | if (!resul){ // Ha habido algún error en la inserción |
---|
| 25 | alert(descrierror) |
---|
| 26 | return |
---|
| 27 | } |
---|
| 28 | alert(TbMsg[0]) |
---|
| 29 | } |
---|
| 30 | //________________________________________________________________________________________________________ |
---|
| 31 | function resultado_eliminar_administradores_centros(resul,descrierror,idp,idh){ |
---|
| 32 | if (!resul){ // Ha habido algún error en la eliminación |
---|
| 33 | alert(descrierror) |
---|
| 34 | return |
---|
| 35 | } |
---|
| 36 | alert(TbMsg[1]) |
---|
| 37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.