summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/principal/hardwares.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/principal/hardwares.php')
-rw-r--r--admin/WebConsole/principal/hardwares.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/admin/WebConsole/principal/hardwares.php b/admin/WebConsole/principal/hardwares.php
index 6d14406a..465aeda0 100644
--- a/admin/WebConsole/principal/hardwares.php
+++ b/admin/WebConsole/principal/hardwares.php
@@ -9,6 +9,7 @@
// Administra el hardware de los ordenadores de un determinado Centro
// *************************************************************************************************************************************************
include_once("../includes/ctrlacc.php");
+include_once("../includes/arbol.php");
include_once("../clases/AdoPhp.php");
include_once("../clases/XmlPhp.php");
include_once("../clases/ArbolVistaXML.php");
@@ -641,4 +642,26 @@ function CreacontextualXMLPerfil_Hardware(){
$layerXML.='</MENUCONTEXTUAL>';
return($layerXML);
}
+
+echo "<br><br>";
+echo "<br><br>";
+$tipos=nodos_arbol("tiposhardware");
+$componentes=nodos_arbol("componenteshardware");
+$perfiles=nodos_arbol("perfileshardware");
+$grp_tipos=grupos_arbol("tiposhardware");
+$grp_componentes=grupos_arbol("componenteshardware");
+$grp_perfiles=grupos_arbol("perfileshardware");
+echo "<br><br>";
+print_r($tipos);
+echo "<br><br>";
+print_r($componentes);
+echo "<br><br>";
+print_r($perfiles);
+echo "<br><br>";
+// No existen grupos de tipos de hardware, debe devolver array vacĂ­o.
+print_r($grp_tipos);
+echo "<br><br>";
+print_r($grp_componentes);
+echo "<br><br>";
+print_r($grp_perfiles);
?>