diff options
author | alonso <alonso@us.es> | 2009-11-15 13:56:16 +0000 |
---|---|---|
committer | alonso <alonso@us.es> | 2009-11-15 13:56:16 +0000 |
commit | 5eae07e979a5671d178c87d3e91c20e7b657417b (patch) | |
tree | 817f063c83787f4fd34ef2f86fea71ed29d99b8c /admin/WebConsole/comandos/jscripts/InventarioSoftware.js | |
parent | 9209cdf45fb59d95a323cfced6bb8d79bd08e4c9 (diff) |
primeros archivos de administración
git-svn-id: https://opengnsys.es/svn/trunk@539 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/jscripts/InventarioSoftware.js')
-rw-r--r-- | admin/WebConsole/comandos/jscripts/InventarioSoftware.js | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/admin/WebConsole/comandos/jscripts/InventarioSoftware.js b/admin/WebConsole/comandos/jscripts/InventarioSoftware.js new file mode 100644 index 00000000..b9cab97b --- /dev/null +++ b/admin/WebConsole/comandos/jscripts/InventarioSoftware.js @@ -0,0 +1,46 @@ +// ************************************************************************************************************************************************* +// Libreria de scripts de Javascript +// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla +// Fecha Creació�:2003-2004 +// Fecha Última modificación: Marzo-2005 +// Nombre del fichero: InventarioHardware.js +// Descripción : +// Este fichero implementa las funciones javascript del fichero InventarioHardware.php (Comandos) +// ************************************************************************************************************************************************* + function confirmar(){ + if (comprobar_datos()){ + var tb_conf=document.getElementById("tabla_conf"); + var ochecks=tb_conf.getElementsByTagName('INPUT') + var particiones="" + for(var i=0;i<ochecks.length;i++){ + if(ochecks[i].checked){ + var particion=ochecks[i].value + particiones+=particion+";" + } + } + var wurl="./gestores/gestor_InventarioSoftware.php" + wurl+="?particiones="+particiones+"&"+compone_urlejecucion(); + ifr=document.getElementById("iframes_comodin"); // Toma objeto Iframe + ifr.src=wurl; // LLama a la p�ina gestora + } + } +//________________________________________________________________________________________________________ + function cancelar(){ + alert(CTbMsg[0]); + location.href="../nada.php" + } +//________________________________________________________________________________________________________ + function comprobar_datos(){ + return(comprobar_datosejecucion()) +} +//________________________________________________________________________________________________________ +// +// Comprobar retorno +//________________________________________________________________________________________________________ +function resultado_inventariosoftware(resul){ + if (!resul){ + alert(CTbMsg[1]); + return + } + alert(CTbMsg[2]); +} |