diff options
author | irinagomez <irinagomez@us.es> | 2020-03-19 09:15:12 +0000 |
---|---|---|
committer | irinagomez <irinagomez@us.es> | 2020-03-19 09:15:12 +0000 |
commit | a9cb5552a02a2e57c0268f998a45233ca90e8860 (patch) | |
tree | 7b207f6c7a20f50da6a97ee3200476468f5cb08f /admin/WebConsole/principal/softwares.php | |
parent | 4d9240ce27f86bb8b0bd76bec6ea397fa186232e (diff) |
#969 node tree: Functions for get nodes and groups of nodes from database are created and used in all left frames.
For now frames show array of nodes and groups for debug.
Diffstat (limited to 'admin/WebConsole/principal/softwares.php')
-rw-r--r-- | admin/WebConsole/principal/softwares.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/admin/WebConsole/principal/softwares.php b/admin/WebConsole/principal/softwares.php index 00079fc1..7f587057 100644 --- a/admin/WebConsole/principal/softwares.php +++ b/admin/WebConsole/principal/softwares.php @@ -9,6 +9,7 @@ // Administra el software 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"); @@ -795,4 +796,26 @@ function CreacontextualXMLSoftware_Incremental(){ $layerXML.='</MENUCONTEXTUAL>'; return($layerXML); } + +echo "<br><br>"; +echo "<br><br>"; +$tipos=nodos_arbol("tipossoftware"); +$componentes=nodos_arbol("componentessoftware"); +$perfiles=nodos_arbol("perfilessoftware"); +$grp_tipos=grupos_arbol("tipossoftware"); +$grp_componentes=grupos_arbol("componentessoftware"); +$grp_perfiles=grupos_arbol("perfilessoftware"); +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); ?> |