1 | <? |
---|
2 | // ************************************************************************************************************************************************* |
---|
3 | // Aplicación WEB: ogAdmWebCon |
---|
4 | // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
---|
5 | // Fecha Creación: Año 2009-2010 |
---|
6 | // Fecha Última modificación: Agosto-2010 |
---|
7 | // Nombre del fichero: software.php |
---|
8 | // Descripción : |
---|
9 | // Administra el software de los ordenadores de un determinado Centro |
---|
10 | // ************************************************************************************************************************************************* |
---|
11 | include_once("../includes/ctrlacc.php"); |
---|
12 | include_once("../clases/AdoPhp.php"); |
---|
13 | include_once("../clases/XmlPhp.php"); |
---|
14 | include_once("../clases/ArbolVistaXML.php"); |
---|
15 | include_once("../clases/MenuContextual.php"); |
---|
16 | include_once("../includes/constantes.php"); |
---|
17 | include_once("../includes/CreaComando.php"); |
---|
18 | include_once("../idiomas/php/".$idioma."/softwares_".$idioma.".php"); |
---|
19 | //________________________________________________________________________________________________________ |
---|
20 | $cmd=CreaComando($cadenaconexion); |
---|
21 | if (!$cmd) |
---|
22 | Header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D. |
---|
23 | else |
---|
24 | $arbolXML=CreaArbol($cmd,$idcentro); // Crea el arbol XML con todos los datos del Centro |
---|
25 | // Creación del árbol |
---|
26 | $baseurlimg="../images/signos"; // Url de las imágenes de signo |
---|
27 | $clasedefault="texto_arbol"; // Hoja de estilo (Clase por defecto) del árbol |
---|
28 | $arbol=new ArbolVistaXML($arbolXML,0,$baseurlimg,$clasedefault,1,0,5); |
---|
29 | //________________________________________________________________________________________________________ |
---|
30 | ?> |
---|
31 | <HTML> |
---|
32 | <TITLE>Administración web de aulas</TITLE> |
---|
33 | <HEAD> |
---|
34 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
35 | <LINK rel="stylesheet" type="text/css" href="../estilos.css"> |
---|
36 | <SCRIPT language="javascript" src="../clases/jscripts/ArbolVistaXML.js"></SCRIPT> |
---|
37 | <SCRIPT language="javascript" src="../clases/jscripts/MenuContextual.js"></SCRIPT> |
---|
38 | <SCRIPT language="javascript" src="../jscripts/softwares.js"></SCRIPT> |
---|
39 | <SCRIPT language="javascript" src="../jscripts/opciones.js"></SCRIPT> |
---|
40 | <SCRIPT language="javascript" src="../jscripts/constantes.js"></SCRIPT> |
---|
41 | <SCRIPT language="javascript" src="../clases/jscripts/HttpLib.js"></SCRIPT> |
---|
42 | <SCRIPT language="javascript" src="../jscripts/comunes.js"></SCRIPT> |
---|
43 | <? echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comunes_'.$idioma.'.js"></SCRIPT>'?> |
---|
44 | <? echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/softwares_'.$idioma.'.js"></SCRIPT>'?> |
---|
45 | </HEAD> |
---|
46 | <BODY OnContextMenu="return false"> |
---|
47 | <? |
---|
48 | //________________________________________________________________________________________________________ |
---|
49 | echo $arbol->CreaArbolVistaXML(); // Crea árbol (HTML) a partir del XML |
---|
50 | $flotante=new MenuContextual(); // Crea objeto MenuContextual |
---|
51 | |
---|
52 | // Crea contextual de componentes componentes software |
---|
53 | $XMLcontextual=CreacontextualXMLComponentes_Software(); |
---|
54 | echo $flotante->CreaMenuContextual($XMLcontextual); |
---|
55 | $XMLcontextual=ContextualXMLGruposComponentes(); // Grupos de componentes |
---|
56 | echo $flotante->CreaMenuContextual($XMLcontextual); |
---|
57 | $XMLcontextual=CreacontextualXMLComponente_Software(); // Crea menu contextual de componentes softwares |
---|
58 | echo $flotante->CreaMenuContextual($XMLcontextual); |
---|
59 | |
---|
60 | // Crea contextual de perfiles software |
---|
61 | $XMLcontextual=CreacontextualXMLPerfiles_Software(); |
---|
62 | echo $flotante->CreaMenuContextual($XMLcontextual); |
---|
63 | $XMLcontextual=ContextualXMLGruposPerfiles(); // Grupos de perfiles |
---|
64 | echo $flotante->CreaMenuContextual($XMLcontextual); |
---|
65 | $XMLcontextual=CreacontextualXMLPerfil_Software(); // Crea menu contextual de perfiles softwares |
---|
66 | echo $flotante->CreaMenuContextual($XMLcontextual); |
---|
67 | |
---|
68 | // Crea contextual de softtware incremental |
---|
69 | $XMLcontextual=CreacontextualXMLSoftwares_Incrementales(); |
---|
70 | echo $flotante->CreaMenuContextual($XMLcontextual); |
---|
71 | $XMLcontextual=ContextualXMLGruposIncrementales(); // Grupos de software incremental |
---|
72 | echo $flotante->CreaMenuContextual($XMLcontextual); |
---|
73 | $XMLcontextual=CreacontextualXMLSoftware_Incremental(); // Crea menu contextual de software incremental |
---|
74 | echo $flotante->CreaMenuContextual($XMLcontextual); |
---|
75 | ?> |
---|
76 | </BODY> |
---|
77 | </HTML> |
---|
78 | <? |
---|
79 | // ************************************************************************************************************************************************* |
---|
80 | // Devuelve una cadena con formato XML de toda la información del software registrado en un Centro concreto |
---|
81 | // Parametros: |
---|
82 | // - cmd:Una comando ya operativo ( con conexión abierta) |
---|
83 | // - idcentro: El identificador del centro |
---|
84 | //________________________________________________________________________________________________________ |
---|
85 | function CreaArbol($cmd,$idcentro){ |
---|
86 | global $TbMsg; |
---|
87 | $cadenaXML='<SOFTWARES'; |
---|
88 | // Atributos |
---|
89 | $cadenaXML.=' imagenodo="../images/iconos/confisoft.gif"'; |
---|
90 | $cadenaXML.=' infonodo="Software"'; |
---|
91 | $cadenaXML.=' nodoid="RaizSoftwares"'; |
---|
92 | $cadenaXML.='>'; |
---|
93 | $cadenaXML.='<TIPOS'; |
---|
94 | // Atributos |
---|
95 | $cadenaXML.=' imagenodo="../images/iconos/carpeta.gif"'; |
---|
96 | $cadenaXML.=' infonodo='.$TbMsg[18]; |
---|
97 | $cadenaXML.=' nodoid="RaizTipoSoftwares"'; |
---|
98 | $cadenaXML.='>'; |
---|
99 | $cadenaXML.=SubarbolXML_TiposSoftwares($cmd); |
---|
100 | $cadenaXML.='</TIPOS>'; |
---|
101 | $cadenaXML.='<COMPONENTES'; |
---|
102 | // Atributos |
---|
103 | $cadenaXML.=' imagenodo="../images/iconos/carpeta.gif"'; |
---|
104 | $cadenaXML.=' infonodo='.$TbMsg[19]; |
---|
105 | $cadenaXML.=' nodoid="RaizComponentesSoftwares"'; |
---|
106 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_RaizComponentesSoftwares'" .')"'; |
---|
107 | $cadenaXML.='>'; |
---|
108 | $cadenaXML.=SubarbolXML_grupos_componentessoft($cmd,$idcentro,0); |
---|
109 | $cadenaXML.='</COMPONENTES>'; |
---|
110 | |
---|
111 | $cadenaXML.='<PERFILES'; |
---|
112 | // Atributos |
---|
113 | $cadenaXML.=' imagenodo="../images/iconos/carpeta.gif"'; |
---|
114 | $cadenaXML.=' infonodo='.$TbMsg[20]; |
---|
115 | $cadenaXML.=' nodoid="RaizPerfilesSoftwares"'; |
---|
116 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_RaizPerfilesSoftwares'" .')"'; |
---|
117 | $cadenaXML.='>'; |
---|
118 | $cadenaXML.=SubarbolXML_grupos_perfilessoft($cmd,$idcentro,0); |
---|
119 | $cadenaXML.='</PERFILES>'; |
---|
120 | |
---|
121 | /* |
---|
122 | $cadenaXML.='<SOFTINCREMENTALES'; |
---|
123 | // Atributos |
---|
124 | $cadenaXML.=' imagenodo="../images/iconos/carpeta.gif"'; |
---|
125 | $cadenaXML.=' infonodo='.$TbMsg[21]; |
---|
126 | $cadenaXML.=' nodoid="RaizSoftwaresIncrementales"'; |
---|
127 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_RaizSoftwaresIncrementales'" .')"'; |
---|
128 | $cadenaXML.='>'; |
---|
129 | $cadenaXML.=SubarbolXML_grupos_softincremental($cmd,$idcentro,0); |
---|
130 | $cadenaXML.='</SOFTINCREMENTALES>'; |
---|
131 | */ |
---|
132 | $cadenaXML.='</SOFTWARES>'; |
---|
133 | return($cadenaXML); |
---|
134 | } |
---|
135 | //________________________________________________________________________________________________________ |
---|
136 | function SubarbolXML_TiposSoftwares($cmd){ |
---|
137 | $cadenaXML=""; |
---|
138 | $rs=new Recordset; |
---|
139 | $cmd->texto="SELECT idtiposoftware,descripcion,urlimg FROM tiposoftwares order by descripcion"; |
---|
140 | $rs->Comando=&$cmd; |
---|
141 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
---|
142 | $rs->Primero(); |
---|
143 | while (!$rs->EOF){ |
---|
144 | $cadenaXML.='<TIPOSOFTWARES'; |
---|
145 | // Atributos |
---|
146 | $cadenaXML.=' imagenodo='.$rs->campos["urlimg"]; |
---|
147 | $cadenaXML.=' infonodo="'.$rs->campos["descripcion"].'"'; |
---|
148 | $cadenaXML.=' nodoid="TipoSoftwares"'; |
---|
149 | $cadenaXML.='>'; |
---|
150 | $cadenaXML.='</TIPOSOFTWARES>'; |
---|
151 | $rs->Siguiente(); |
---|
152 | } |
---|
153 | $rs->Cerrar(); |
---|
154 | return($cadenaXML); |
---|
155 | } |
---|
156 | //________________________________________________________________________________________________________ |
---|
157 | function SubarbolXML_grupos_componentessoft($cmd,$idcentro,$grupoid){ |
---|
158 | global $LITAMBITO_GRUPOSCOMPONENTESSOFT; |
---|
159 | global $AMBITO_GRUPOSCOMPONENTESSOFT; |
---|
160 | $cadenaXML=""; |
---|
161 | $rs=new Recordset; |
---|
162 | $cmd->texto="SELECT idgrupo,nombregrupo,grupoid FROM grupos WHERE grupoid=".$grupoid." AND idcentro=".$idcentro." AND tipo=".$AMBITO_GRUPOSCOMPONENTESSOFT." ORDER BY nombregrupo"; |
---|
163 | $rs->Comando=&$cmd; |
---|
164 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
---|
165 | $rs->Primero(); |
---|
166 | while (!$rs->EOF){ |
---|
167 | $cadenaXML.='<GRUPOSCOMPONENTESSOFT'; |
---|
168 | // Atributos |
---|
169 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,'. " 'flo_".$LITAMBITO_GRUPOSCOMPONENTESSOFT."'" .');"'; |
---|
170 | $cadenaXML.=' imagenodo="../images/iconos/carpeta.gif"'; |
---|
171 | $cadenaXML.=' infonodo="'.$rs->campos["nombregrupo"].'"'; |
---|
172 | $cadenaXML.=' nodoid='.$LITAMBITO_GRUPOSCOMPONENTESSOFT.'-'.$rs->campos["idgrupo"]; |
---|
173 | $cadenaXML.='>'; |
---|
174 | $cadenaXML.=SubarbolXML_grupos_componentessoft($cmd,$idcentro,$rs->campos["idgrupo"]); |
---|
175 | $cadenaXML.='</GRUPOSCOMPONENTESSOFT>'; |
---|
176 | $rs->Siguiente(); |
---|
177 | } |
---|
178 | $rs->Cerrar(); |
---|
179 | $cadenaXML.=SubarbolXML_ComponentesSoftwares($cmd,$idcentro,$grupoid); |
---|
180 | return($cadenaXML); |
---|
181 | } |
---|
182 | //________________________________________________________________________________________________________ |
---|
183 | function SubarbolXML_ComponentesSoftwares($cmd,$idcentro,$grupoid){ |
---|
184 | global $LITAMBITO_COMPONENTESSOFT; |
---|
185 | $cadenaXML=""; |
---|
186 | $rs=new Recordset; |
---|
187 | $cmd->texto="SELECT softwares.idsoftware,softwares.descripcion,tiposoftwares.urlimg FROM softwares INNER JOIN tiposoftwares ON softwares.idtiposoftware=tiposoftwares.idtiposoftware WHERE idcentro=".$idcentro." AND grupoid=". $grupoid." order by tiposoftwares.idtiposoftware,softwares.descripcion"; |
---|
188 | $rs->Comando=&$cmd; |
---|
189 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
---|
190 | $rs->Primero(); |
---|
191 | while (!$rs->EOF){ |
---|
192 | $cadenaXML.='<COMPONENTES'; |
---|
193 | // Atributos |
---|
194 | if ($rs->campos["urlimg"]!="") |
---|
195 | $cadenaXML.=' imagenodo='.$rs->campos["urlimg"]; |
---|
196 | else |
---|
197 | $cadenaXML.=' imagenodo="../images/iconos/confisoft.gif"'; |
---|
198 | $cadenaXML.=' infonodo="'.$rs->campos["descripcion"].'"'; |
---|
199 | $cadenaXML.=' nodoid='.$LITAMBITO_COMPONENTESSOFT.'-'.$rs->campos["idsoftware"]; |
---|
200 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_".$LITAMBITO_COMPONENTESSOFT."'" .')"'; |
---|
201 | $cadenaXML.='>'; |
---|
202 | $cadenaXML.='</COMPONENTES>'; |
---|
203 | $rs->Siguiente(); |
---|
204 | } |
---|
205 | $rs->Cerrar(); |
---|
206 | return($cadenaXML); |
---|
207 | } |
---|
208 | //________________________________________________________________________________________________________ |
---|
209 | function SubarbolXML_grupos_perfilessoft($cmd,$idcentro,$grupoid){ |
---|
210 | global $LITAMBITO_GRUPOSPERFILESSOFT; |
---|
211 | global $AMBITO_GRUPOSPERFILESSOFT; |
---|
212 | $cadenaXML=""; |
---|
213 | $rs=new Recordset; |
---|
214 | $cmd->texto="SELECT idgrupo,nombregrupo,grupoid FROM grupos WHERE grupoid=".$grupoid." AND idcentro=".$idcentro." AND tipo=".$AMBITO_GRUPOSPERFILESSOFT." ORDER BY nombregrupo"; |
---|
215 | $rs->Comando=&$cmd; |
---|
216 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
---|
217 | $rs->Primero(); |
---|
218 | while (!$rs->EOF){ |
---|
219 | $cadenaXML.='<GRUPOSPERFILESSOFT'; |
---|
220 | // Atributos |
---|
221 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,'. " 'flo_".$LITAMBITO_GRUPOSPERFILESSOFT."'" .');"'; |
---|
222 | $cadenaXML.=' imagenodo="../images/iconos/carpeta.gif"'; |
---|
223 | $cadenaXML.=' infonodo="'.$rs->campos["nombregrupo"].'"'; |
---|
224 | $cadenaXML.=' nodoid='.$LITAMBITO_GRUPOSPERFILESSOFT.'-'.$rs->campos["idgrupo"]; |
---|
225 | $cadenaXML.='>'; |
---|
226 | $cadenaXML.=SubarbolXML_grupos_perfilessoft($cmd,$idcentro,$rs->campos["idgrupo"]); |
---|
227 | $cadenaXML.='</GRUPOSPERFILESSOFT>'; |
---|
228 | $rs->Siguiente(); |
---|
229 | } |
---|
230 | $rs->Cerrar(); |
---|
231 | $cadenaXML.=SubarbolXML_PerfilesSoftwares($cmd,$idcentro,$grupoid); |
---|
232 | return($cadenaXML); |
---|
233 | } |
---|
234 | //________________________________________________________________________________________________________ |
---|
235 | function SubarbolXML_PerfilesSoftwares($cmd,$idcentro,$grupoid){ |
---|
236 | global $LITAMBITO_PERFILESSOFT; |
---|
237 | $cadenaXML=""; |
---|
238 | $rs=new Recordset; |
---|
239 | $cmd->texto="SELECT perfilessoft.idperfilsoft ,perfilessoft.descripcion FROM perfilessoft WHERE perfilessoft.idcentro=".$idcentro." AND perfilessoft.grupoid=". $grupoid; |
---|
240 | $cmd->texto.=" ORDER by perfilessoft.descripcion"; |
---|
241 | $rs->Comando=&$cmd; |
---|
242 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
---|
243 | $rs->Primero(); |
---|
244 | while (!$rs->EOF){ |
---|
245 | $cadenaXML.='<PERFILESSOFTWARES'; |
---|
246 | // Atributos |
---|
247 | $cadenaXML.=' imagenodo="../images/iconos/perfilsoftware.gif"'; |
---|
248 | $cadenaXML.=' infonodo="'.$rs->campos["descripcion"].'"'; |
---|
249 | $cadenaXML.=' nodoid='.$LITAMBITO_PERFILESSOFT.'-'.$rs->campos["idperfilsoft"]; |
---|
250 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_".$LITAMBITO_PERFILESSOFT."'" .')"'; |
---|
251 | $cadenaXML.='>'; |
---|
252 | $cadenaXML.='</PERFILESSOFTWARES>'; |
---|
253 | $rs->Siguiente(); |
---|
254 | } |
---|
255 | $rs->Cerrar(); |
---|
256 | return($cadenaXML); |
---|
257 | } |
---|
258 | //________________________________________________________________________________________________________ |
---|
259 | function SubarbolXML_grupos_softincremental($cmd,$idcentro,$grupoid){ |
---|
260 | global $LITAMBITO_GRUPOSSOFTINCREMENTAL; |
---|
261 | global $AMBITO_GRUPOSSOFTINCREMENTAL; |
---|
262 | $cadenaXML=""; |
---|
263 | $rs=new Recordset; |
---|
264 | $cmd->texto="SELECT idgrupo,nombregrupo,grupoid FROM grupos WHERE grupoid=".$grupoid." AND idcentro=".$idcentro." AND tipo=".$AMBITO_GRUPOSSOFTINCREMENTAL." ORDER BY nombregrupo"; |
---|
265 | $rs->Comando=&$cmd; |
---|
266 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
---|
267 | $rs->Primero(); |
---|
268 | while (!$rs->EOF){ |
---|
269 | $cadenaXML.='<GRUPOSSOFTINCREMENTAL'; |
---|
270 | // Atributos |
---|
271 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,'. " 'flo_".$LITAMBITO_GRUPOSSOFTINCREMENTAL."'" .');"'; |
---|
272 | $cadenaXML.=' imagenodo="../images/iconos/carpeta.gif"'; |
---|
273 | $cadenaXML.=' infonodo="'.$rs->campos["nombregrupo"].'"'; |
---|
274 | $cadenaXML.=' nodoid='.$LITAMBITO_GRUPOSSOFTINCREMENTAL.'-'.$rs->campos["idgrupo"]; |
---|
275 | $cadenaXML.='>'; |
---|
276 | $cadenaXML.=SubarbolXML_grupos_softincremental($cmd,$idcentro,$rs->campos["idgrupo"]); |
---|
277 | $cadenaXML.='</GRUPOSSOFTINCREMENTAL>'; |
---|
278 | $rs->Siguiente(); |
---|
279 | } |
---|
280 | $rs->Cerrar(); |
---|
281 | $cadenaXML.=SubarbolXML_SoftwaresIncrementales($cmd,$idcentro,$grupoid); |
---|
282 | return($cadenaXML); |
---|
283 | } |
---|
284 | //________________________________________________________________________________________________________ |
---|
285 | function SubarbolXML_SoftwaresIncrementales($cmd,$idcentro,$grupoid){ |
---|
286 | global $LITAMBITO_SOFTINCREMENTAL; |
---|
287 | $cadenaXML=""; |
---|
288 | $rs=new Recordset; |
---|
289 | $cmd->texto="SELECT softincrementales.idsoftincremental ,softincrementales.descripcion FROM softincrementales WHERE softincrementales.idcentro=".$idcentro." AND softincrementales.grupoid=". $grupoid; |
---|
290 | $cmd->texto.=" ORDER by softincrementales.descripcion"; |
---|
291 | $rs->Comando=&$cmd; |
---|
292 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
---|
293 | $rs->Primero(); |
---|
294 | while (!$rs->EOF){ |
---|
295 | $cadenaXML.='<SOFTINCREMENTAL'; |
---|
296 | // Atributos |
---|
297 | $cadenaXML.=' imagenodo="../images/iconos/incremental.gif"'; |
---|
298 | $cadenaXML.=' infonodo="'.$rs->campos["descripcion"].'"'; |
---|
299 | $cadenaXML.=' nodoid='.$LITAMBITO_SOFTINCREMENTAL.'-'.$rs->campos["idsoftincremental"]; |
---|
300 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_".$LITAMBITO_SOFTINCREMENTAL."'" .')"'; |
---|
301 | $cadenaXML.='>'; |
---|
302 | $cadenaXML.='</SOFTINCREMENTAL>'; |
---|
303 | $rs->Siguiente(); |
---|
304 | } |
---|
305 | $rs->Cerrar(); |
---|
306 | return($cadenaXML); |
---|
307 | } |
---|
308 | //________________________________________________________________________________________________________ |
---|
309 | // |
---|
310 | // Menús Contextuales |
---|
311 | //________________________________________________________________________________________________________ |
---|
312 | function CreacontextualXMLComponentes_Software(){ |
---|
313 | global $AMBITO_COMPONENTESSOFT; |
---|
314 | global $AMBITO_GRUPOSCOMPONENTESSOFT; |
---|
315 | global $LITAMBITO_GRUPOSCOMPONENTESSOFT; |
---|
316 | global $TbMsg; |
---|
317 | |
---|
318 | $layerXML='<MENUCONTEXTUAL'; |
---|
319 | $layerXML.=' idctx="flo_RaizComponentesSoftwares"'; |
---|
320 | $layerXML.=' maxanchu=185'; |
---|
321 | $layerXML.=' swimg=1'; |
---|
322 | $layerXML.=' clase="menu_contextual"'; |
---|
323 | $layerXML.='>'; |
---|
324 | |
---|
325 | $layerXML.='<ITEM'; |
---|
326 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_GRUPOSCOMPONENTESSOFT.',' . "'".$LITAMBITO_GRUPOSCOMPONENTESSOFT."'" . ')"'; |
---|
327 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
---|
328 | $layerXML.=' textoitem='.$TbMsg[3]; |
---|
329 | $layerXML.='></ITEM>'; |
---|
330 | |
---|
331 | $wLeft=140; |
---|
332 | $wTop=115; |
---|
333 | $wWidth=550; |
---|
334 | $wHeight=250; |
---|
335 | $wpages="../propiedades/propiedades_componentesoftwares.php"; |
---|
336 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
---|
337 | $layerXML.='<ITEM'; |
---|
338 | $layerXML.=' alpulsar="insertar('.$wParam.')"'; |
---|
339 | $layerXML.=' imgitem="../images/iconos/confisoft.gif"'; |
---|
340 | $layerXML.=' textoitem='.$TbMsg[4]; |
---|
341 | $layerXML.='></ITEM>'; |
---|
342 | |
---|
343 | $layerXML.='<SEPARADOR>'; |
---|
344 | $layerXML.='</SEPARADOR>'; |
---|
345 | |
---|
346 | $wParam="../gestores/gestor_componentesoftwares.php"; |
---|
347 | |
---|
348 | $layerXML.='<ITEM'; |
---|
349 | $layerXML.=' alpulsar="colocar('."'".$wParam."'".','.$AMBITO_COMPONENTESSOFT.')"'; |
---|
350 | $layerXML.=' imgitem="../images/iconos/colocar.gif"'; |
---|
351 | $layerXML.=' textoitem='.$TbMsg[5]; |
---|
352 | $layerXML.='></ITEM>'; |
---|
353 | |
---|
354 | $layerXML.='</MENUCONTEXTUAL>'; |
---|
355 | return($layerXML); |
---|
356 | } |
---|
357 | //________________________________________________________________________________________________________ |
---|
358 | function ContextualXMLGruposComponentes(){ |
---|
359 | global $AMBITO_COMPONENTESSOFT; |
---|
360 | global $AMBITO_GRUPOSCOMPONENTESSOFT; |
---|
361 | global $LITAMBITO_GRUPOSCOMPONENTESSOFT; |
---|
362 | global $TbMsg; |
---|
363 | |
---|
364 | $layerXML='<MENUCONTEXTUAL'; |
---|
365 | $layerXML.=' idctx="flo_'.$LITAMBITO_GRUPOSCOMPONENTESSOFT.'"'; |
---|
366 | $layerXML.=' maxanchu=195'; |
---|
367 | $layerXML.=' swimg=1'; |
---|
368 | $layerXML.=' clase="menu_contextual"'; |
---|
369 | $layerXML.='>'; |
---|
370 | |
---|
371 | $layerXML.='<ITEM'; |
---|
372 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_GRUPOSCOMPONENTESSOFT.',' ."'".$LITAMBITO_GRUPOSCOMPONENTESSOFT."'". ')"'; |
---|
373 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
---|
374 | $layerXML.=' textoitem='.$TbMsg[3]; |
---|
375 | $layerXML.='></ITEM>'; |
---|
376 | |
---|
377 | $wLeft=140; |
---|
378 | $wTop=115; |
---|
379 | $wWidth=550; |
---|
380 | $wHeight=250; |
---|
381 | $wpages="../propiedades/propiedades_componentesoftwares.php"; |
---|
382 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
---|
383 | |
---|
384 | $layerXML.='<ITEM'; |
---|
385 | $layerXML.=' alpulsar="insertar('.$wParam.')"'; |
---|
386 | $layerXML.=' imgitem="../images/iconos/confisoft.gif"'; |
---|
387 | $layerXML.=' textoitem='.$TbMsg[4]; |
---|
388 | $layerXML.='></ITEM>'; |
---|
389 | |
---|
390 | $layerXML.='<SEPARADOR>'; |
---|
391 | $layerXML.='</SEPARADOR>'; |
---|
392 | |
---|
393 | $wParam="../gestores/gestor_componentesoftwares.php"; |
---|
394 | |
---|
395 | $layerXML.='<ITEM'; |
---|
396 | $layerXML.=' alpulsar="colocar('."'".$wParam."'".','.$AMBITO_COMPONENTESSOFT.')"'; |
---|
397 | $layerXML.=' imgitem="../images/iconos/colocar.gif"'; |
---|
398 | $layerXML.=' textoitem='.$TbMsg[5]; |
---|
399 | $layerXML.='></ITEM>'; |
---|
400 | |
---|
401 | $layerXML.='<SEPARADOR>'; |
---|
402 | $layerXML.='</SEPARADOR>'; |
---|
403 | |
---|
404 | $layerXML.='<ITEM'; |
---|
405 | $layerXML.=' alpulsar="modificar_grupos()"'; |
---|
406 | $layerXML.=' imgitem="../images/iconos/modificar.gif"'; |
---|
407 | $layerXML.=' textoitem='.$TbMsg[1]; |
---|
408 | $layerXML.='></ITEM>'; |
---|
409 | |
---|
410 | $layerXML.='<ITEM'; |
---|
411 | $layerXML.=' alpulsar="eliminar_grupos()"'; |
---|
412 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
---|
413 | $layerXML.=' textoitem='.$TbMsg[7]; |
---|
414 | $layerXML.='></ITEM>'; |
---|
415 | |
---|
416 | $layerXML.='</MENUCONTEXTUAL>'; |
---|
417 | return($layerXML); |
---|
418 | } |
---|
419 | //________________________________________________________________________________________________________ |
---|
420 | function CreacontextualXMLComponente_Software(){ |
---|
421 | global $AMBITO_COMPONENTESSOFT; |
---|
422 | global $LITAMBITO_COMPONENTESSOFT; |
---|
423 | global $TbMsg; |
---|
424 | |
---|
425 | $layerXML='<MENUCONTEXTUAL'; |
---|
426 | $layerXML.=' idctx="flo_'.$LITAMBITO_COMPONENTESSOFT.'"'; |
---|
427 | $layerXML.=' maxanchu=140'; |
---|
428 | $layerXML.=' swimg=1'; |
---|
429 | $layerXML.=' clase="menu_contextual"'; |
---|
430 | $layerXML.='>'; |
---|
431 | |
---|
432 | $layerXML.='<ITEM'; |
---|
433 | $layerXML.=' alpulsar="mover('.$AMBITO_COMPONENTESSOFT.')"'; |
---|
434 | $layerXML.=' imgitem="../images/iconos/mover.gif"'; |
---|
435 | $layerXML.=' textoitem='.$TbMsg[8]; |
---|
436 | $layerXML.='></ITEM>'; |
---|
437 | |
---|
438 | $layerXML.='<SEPARADOR>'; |
---|
439 | $layerXML.='</SEPARADOR>'; |
---|
440 | |
---|
441 | $wLeft=140; |
---|
442 | $wTop=115; |
---|
443 | $wWidth=550; |
---|
444 | $wHeight=250; |
---|
445 | $wpages="../propiedades/propiedades_componentesoftwares.php"; |
---|
446 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
---|
447 | $layerXML.='<ITEM'; |
---|
448 | $layerXML.=' alpulsar="modificar('.$wParam.')"'; |
---|
449 | $layerXML.=' textoitem='.$TbMsg[1]; |
---|
450 | $layerXML.=' imgitem="../images/iconos/propiedades.gif"'; |
---|
451 | $layerXML.='></ITEM>'; |
---|
452 | |
---|
453 | $layerXML.='<ITEM'; |
---|
454 | $layerXML.=' alpulsar="eliminar('.$wParam.')"'; |
---|
455 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
---|
456 | $layerXML.=' textoitem='.$TbMsg[9]; |
---|
457 | $layerXML.='></ITEM>'; |
---|
458 | |
---|
459 | $layerXML.='</MENUCONTEXTUAL>'; |
---|
460 | return($layerXML); |
---|
461 | } |
---|
462 | //________________________________________________________________________________________________________ |
---|
463 | function CreacontextualXMLPerfiles_Software(){ |
---|
464 | global $AMBITO_PERFILESSOFT; |
---|
465 | global $AMBITO_GRUPOSPERFILESSOFT; |
---|
466 | global $LITAMBITO_GRUPOSPERFILESSOFT; |
---|
467 | global $TbMsg; |
---|
468 | |
---|
469 | $layerXML='<MENUCONTEXTUAL'; |
---|
470 | $layerXML.=' idctx="flo_RaizPerfilesSoftwares"'; |
---|
471 | $layerXML.=' maxanchu=155'; |
---|
472 | $layerXML.=' swimg=1'; |
---|
473 | $layerXML.=' clase="menu_contextual"'; |
---|
474 | $layerXML.='>'; |
---|
475 | |
---|
476 | $layerXML.='<ITEM'; |
---|
477 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_GRUPOSPERFILESSOFT.',' ."'".$LITAMBITO_GRUPOSPERFILESSOFT."'". ')"'; |
---|
478 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
---|
479 | $layerXML.=' textoitem='.$TbMsg[10]; |
---|
480 | $layerXML.='></ITEM>'; |
---|
481 | |
---|
482 | $wLeft=170; |
---|
483 | $wTop=150; |
---|
484 | $wWidth=480; |
---|
485 | $wHeight=280; |
---|
486 | $wpages="../propiedades/propiedades_perfilsoftwares.php"; |
---|
487 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
---|
488 | |
---|
489 | $layerXML.='<ITEM'; |
---|
490 | $layerXML.=' alpulsar="insertar('.$wParam.')"'; |
---|
491 | $layerXML.=' imgitem="../images/iconos/confisoft.gif"'; |
---|
492 | $layerXML.=' textoitem='.$TbMsg[11]; |
---|
493 | $layerXML.='></ITEM>'; |
---|
494 | |
---|
495 | $layerXML.='<SEPARADOR>'; |
---|
496 | $layerXML.='</SEPARADOR>'; |
---|
497 | |
---|
498 | $wParam="../gestores/gestor_perfilsoftwares.php"; |
---|
499 | |
---|
500 | $layerXML.='<ITEM'; |
---|
501 | $layerXML.=' alpulsar="colocar('."'".$wParam."'".','.$AMBITO_PERFILESSOFT.')"'; |
---|
502 | $layerXML.=' imgitem="../images/iconos/colocar.gif"'; |
---|
503 | $layerXML.=' textoitem='.$TbMsg[12]; |
---|
504 | $layerXML.='></ITEM>'; |
---|
505 | |
---|
506 | $layerXML.='</MENUCONTEXTUAL>'; |
---|
507 | return($layerXML); |
---|
508 | } |
---|
509 | //________________________________________________________________________________________________________ |
---|
510 | function ContextualXMLGruposPerfiles(){ |
---|
511 | global $AMBITO_PERFILESSOFT; |
---|
512 | global $AMBITO_GRUPOSPERFILESSOFT; |
---|
513 | global $LITAMBITO_GRUPOSPERFILESSOFT; |
---|
514 | global $TbMsg; |
---|
515 | |
---|
516 | $layerXML='<MENUCONTEXTUAL'; |
---|
517 | $layerXML.=' idctx="flo_'.$LITAMBITO_GRUPOSPERFILESSOFT.'"'; |
---|
518 | $layerXML.=' maxanchu=175'; |
---|
519 | $layerXML.=' swimg=1'; |
---|
520 | $layerXML.=' clase="menu_contextual"'; |
---|
521 | $layerXML.='>'; |
---|
522 | |
---|
523 | $layerXML.='<ITEM'; |
---|
524 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_GRUPOSPERFILESSOFT.',' ."'".$LITAMBITO_GRUPOSPERFILESSOFT."'". ')"'; |
---|
525 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
---|
526 | $layerXML.=' textoitem='.$TbMsg[10]; |
---|
527 | $layerXML.='></ITEM>'; |
---|
528 | |
---|
529 | $wLeft=170; |
---|
530 | $wTop=150; |
---|
531 | $wWidth=480; |
---|
532 | $wHeight=280; |
---|
533 | $wpages="../propiedades/propiedades_perfilsoftwares.php"; |
---|
534 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
---|
535 | |
---|
536 | $layerXML.='<ITEM'; |
---|
537 | $layerXML.=' alpulsar="insertar('.$wParam.')"'; |
---|
538 | $layerXML.=' imgitem="../images/iconos/confisoft.gif"'; |
---|
539 | $layerXML.=' textoitem='.$TbMsg[11]; |
---|
540 | $layerXML.='></ITEM>'; |
---|
541 | |
---|
542 | $layerXML.='<SEPARADOR>'; |
---|
543 | $layerXML.='</SEPARADOR>'; |
---|
544 | |
---|
545 | $wParam="../gestores/gestor_perfilsoftwares.php"; |
---|
546 | |
---|
547 | $layerXML.='<ITEM'; |
---|
548 | $layerXML.=' alpulsar="colocar('."'".$wParam."'".','.$AMBITO_PERFILESSOFT.')"'; |
---|
549 | $layerXML.=' imgitem="../images/iconos/colocar.gif"'; |
---|
550 | $layerXML.=' textoitem='.$TbMsg[12]; |
---|
551 | $layerXML.='></ITEM>'; |
---|
552 | |
---|
553 | $layerXML.='<SEPARADOR>'; |
---|
554 | $layerXML.='</SEPARADOR>'; |
---|
555 | |
---|
556 | $layerXML.='<ITEM'; |
---|
557 | $layerXML.=' alpulsar="modificar_grupos()"'; |
---|
558 | $layerXML.=' imgitem="../images/iconos/modificar.gif"'; |
---|
559 | $layerXML.=' textoitem='.$TbMsg[1]; |
---|
560 | $layerXML.='></ITEM>'; |
---|
561 | |
---|
562 | $layerXML.='<ITEM'; |
---|
563 | $layerXML.=' alpulsar="eliminar_grupos()"'; |
---|
564 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
---|
565 | $layerXML.=' textoitem='.$TbMsg[13]; |
---|
566 | $layerXML.='></ITEM>'; |
---|
567 | |
---|
568 | $layerXML.='</MENUCONTEXTUAL>'; |
---|
569 | return($layerXML); |
---|
570 | } |
---|
571 | //________________________________________________________________________________________________________ |
---|
572 | function CreacontextualXMLPerfil_Software(){ |
---|
573 | global $AMBITO_PERFILESSOFT; |
---|
574 | global $LITAMBITO_PERFILESSOFT; |
---|
575 | global $TbMsg; |
---|
576 | |
---|
577 | $layerXML='<MENUCONTEXTUAL'; |
---|
578 | $layerXML.=' idctx="flo_'.$LITAMBITO_PERFILESSOFT.'"'; |
---|
579 | $layerXML.=' maxanchu=150'; |
---|
580 | $layerXML.=' swimg=1'; |
---|
581 | $layerXML.=' clase="menu_contextual"'; |
---|
582 | $layerXML.='>'; |
---|
583 | |
---|
584 | $layerXML.='<ITEM'; |
---|
585 | $layerXML.=' alpulsar="insertar_perfilcomponente()"'; |
---|
586 | $layerXML.=' imgitem="../images/iconos/confisoft.gif"'; |
---|
587 | $layerXML.=' textoitem='.$TbMsg[14]; |
---|
588 | $layerXML.='></ITEM>'; |
---|
589 | |
---|
590 | $layerXML.='<ITEM'; |
---|
591 | $layerXML.=' alpulsar="informacion_perfiles()"'; |
---|
592 | $layerXML.=' textoitem='.$TbMsg[15]; |
---|
593 | $layerXML.=' imgitem="../images/iconos/informacion.gif"'; |
---|
594 | $layerXML.='></ITEM>'; |
---|
595 | |
---|
596 | $layerXML.='<SEPARADOR>'; |
---|
597 | $layerXML.='</SEPARADOR>'; |
---|
598 | |
---|
599 | $layerXML.='<ITEM'; |
---|
600 | $layerXML.=' alpulsar="mover('.$AMBITO_PERFILESSOFT.')"'; |
---|
601 | $layerXML.=' imgitem="../images/iconos/mover.gif"'; |
---|
602 | $layerXML.=' textoitem='.$TbMsg[16]; |
---|
603 | $layerXML.='></ITEM>'; |
---|
604 | |
---|
605 | $layerXML.='<SEPARADOR>'; |
---|
606 | $layerXML.='</SEPARADOR>'; |
---|
607 | |
---|
608 | $wLeft=170; |
---|
609 | $wTop=150; |
---|
610 | $wWidth=480; |
---|
611 | $wHeight=280; |
---|
612 | $wpages="../propiedades/propiedades_perfilsoftwares.php"; |
---|
613 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
---|
614 | |
---|
615 | $layerXML.='<ITEM'; |
---|
616 | $layerXML.=' alpulsar="modificar('.$wParam.')"'; |
---|
617 | $layerXML.=' textoitem='.$TbMsg[1]; |
---|
618 | $layerXML.=' imgitem="../images/iconos/propiedades.gif"'; |
---|
619 | $layerXML.='></ITEM>'; |
---|
620 | |
---|
621 | $layerXML.='<ITEM'; |
---|
622 | $layerXML.=' alpulsar="eliminar('.$wParam.')"'; |
---|
623 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
---|
624 | $layerXML.=' textoitem='.$TbMsg[17]; |
---|
625 | $layerXML.='></ITEM>'; |
---|
626 | |
---|
627 | $layerXML.='</MENUCONTEXTUAL>'; |
---|
628 | return($layerXML); |
---|
629 | } |
---|
630 | //________________________________________________________________________________________________________ |
---|
631 | function CreacontextualXMLSoftwares_Incrementales(){ |
---|
632 | global $AMBITO_SOFTINCREMENTAL; |
---|
633 | global $AMBITO_GRUPOSSOFTINCREMENTAL; |
---|
634 | global $LITAMBITO_GRUPOSSOFTINCREMENTAL; |
---|
635 | global $TbMsg; |
---|
636 | |
---|
637 | $layerXML='<MENUCONTEXTUAL'; |
---|
638 | $layerXML.=' idctx="flo_RaizSoftwaresIncrementales"'; |
---|
639 | $layerXML.=' maxanchu=190'; |
---|
640 | $layerXML.=' swimg=1'; |
---|
641 | $layerXML.=' clase="menu_contextual"'; |
---|
642 | $layerXML.='>'; |
---|
643 | |
---|
644 | $layerXML.='<ITEM'; |
---|
645 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_GRUPOSSOFTINCREMENTAL.',' ."'".$LITAMBITO_GRUPOSSOFTINCREMENTAL."'". ')"'; |
---|
646 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
---|
647 | $layerXML.=' textoitem='.$TbMsg[22]; |
---|
648 | $layerXML.='></ITEM>'; |
---|
649 | |
---|
650 | $wLeft=170; |
---|
651 | $wTop=150; |
---|
652 | $wWidth=480; |
---|
653 | $wHeight=280; |
---|
654 | $wpages="../propiedades/propiedades_softincrementales.php"; |
---|
655 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
---|
656 | |
---|
657 | $layerXML.='<ITEM'; |
---|
658 | $layerXML.=' alpulsar="insertar('.$wParam.')"'; |
---|
659 | $layerXML.=' imgitem="../images/iconos/confisoft.gif"'; |
---|
660 | $layerXML.=' textoitem='.$TbMsg[23]; |
---|
661 | $layerXML.='></ITEM>'; |
---|
662 | |
---|
663 | $layerXML.='<SEPARADOR>'; |
---|
664 | $layerXML.='</SEPARADOR>'; |
---|
665 | |
---|
666 | $wParam="../gestores/gestor_softincrementales.php"; |
---|
667 | |
---|
668 | $layerXML.='<ITEM'; |
---|
669 | $layerXML.=' alpulsar="colocar('."'".$wParam."'".','.$AMBITO_SOFTINCREMENTAL.')"'; |
---|
670 | $layerXML.=' imgitem="../images/iconos/colocar.gif"'; |
---|
671 | $layerXML.=' textoitem='.$TbMsg[24]; |
---|
672 | $layerXML.='></ITEM>'; |
---|
673 | |
---|
674 | $layerXML.='</MENUCONTEXTUAL>'; |
---|
675 | return($layerXML); |
---|
676 | } |
---|
677 | //________________________________________________________________________________________________________ |
---|
678 | function ContextualXMLGruposIncrementales(){ |
---|
679 | global $AMBITO_SOFTINCREMENTAL; |
---|
680 | global $AMBITO_GRUPOSSOFTINCREMENTAL; |
---|
681 | global $LITAMBITO_GRUPOSSOFTINCREMENTAL; |
---|
682 | global $TbMsg; |
---|
683 | |
---|
684 | $layerXML='<MENUCONTEXTUAL'; |
---|
685 | $layerXML.=' idctx="flo_'.$LITAMBITO_GRUPOSSOFTINCREMENTAL.'"'; |
---|
686 | $layerXML.=' maxanchu=195'; |
---|
687 | $layerXML.=' swimg=1'; |
---|
688 | $layerXML.=' clase="menu_contextual"'; |
---|
689 | $layerXML.='>'; |
---|
690 | |
---|
691 | $layerXML.='<ITEM'; |
---|
692 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_GRUPOSSOFTINCREMENTAL.',' ."'".$LITAMBITO_GRUPOSSOFTINCREMENTAL."'". ')"'; |
---|
693 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
---|
694 | $layerXML.=' textoitem='.$TbMsg[22]; |
---|
695 | $layerXML.='></ITEM>'; |
---|
696 | |
---|
697 | $wLeft=170; |
---|
698 | $wTop=150; |
---|
699 | $wWidth=480; |
---|
700 | $wHeight=280; |
---|
701 | $wpages="../propiedades/propiedades_softincrementales.php"; |
---|
702 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
---|
703 | |
---|
704 | $layerXML.='<ITEM'; |
---|
705 | $layerXML.=' alpulsar="insertar('.$wParam.')"'; |
---|
706 | $layerXML.=' imgitem="../images/iconos/confisoft.gif"'; |
---|
707 | $layerXML.=' textoitem='.$TbMsg[23]; |
---|
708 | $layerXML.='></ITEM>'; |
---|
709 | |
---|
710 | $layerXML.='<SEPARADOR>'; |
---|
711 | $layerXML.='</SEPARADOR>'; |
---|
712 | |
---|
713 | $wParam="../gestores/gestor_softincrementales.php"; |
---|
714 | |
---|
715 | $layerXML.='<ITEM'; |
---|
716 | $layerXML.=' alpulsar="colocar('."'".$wParam."'".','.$AMBITO_SOFTINCREMENTAL.')"'; |
---|
717 | $layerXML.=' imgitem="../images/iconos/colocar.gif"'; |
---|
718 | $layerXML.=' textoitem='.$TbMsg[24]; |
---|
719 | $layerXML.='></ITEM>'; |
---|
720 | |
---|
721 | $layerXML.='<SEPARADOR>'; |
---|
722 | $layerXML.='</SEPARADOR>'; |
---|
723 | |
---|
724 | $layerXML.='<ITEM'; |
---|
725 | $layerXML.=' alpulsar="modificar_grupos()"'; |
---|
726 | $layerXML.=' imgitem="../images/iconos/modificar.gif"'; |
---|
727 | $layerXML.=' textoitem='.$TbMsg[1]; |
---|
728 | $layerXML.='></ITEM>'; |
---|
729 | |
---|
730 | $layerXML.='<ITEM'; |
---|
731 | $layerXML.=' alpulsar="eliminar_grupos()"'; |
---|
732 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
---|
733 | $layerXML.=' textoitem='.$TbMsg[25]; |
---|
734 | $layerXML.='></ITEM>'; |
---|
735 | |
---|
736 | $layerXML.='</MENUCONTEXTUAL>'; |
---|
737 | return($layerXML); |
---|
738 | } |
---|
739 | //________________________________________________________________________________________________________ |
---|
740 | function CreacontextualXMLSoftware_Incremental(){ |
---|
741 | global $AMBITO_SOFTINCREMENTAL; |
---|
742 | global $LITAMBITO_SOFTINCREMENTAL; |
---|
743 | global $TbMsg; |
---|
744 | |
---|
745 | $layerXML='<MENUCONTEXTUAL'; |
---|
746 | $layerXML.=' idctx="flo_'.$LITAMBITO_SOFTINCREMENTAL.'"'; |
---|
747 | $layerXML.=' maxanchu=160'; |
---|
748 | $layerXML.=' swimg=1'; |
---|
749 | $layerXML.=' clase="menu_contextual"'; |
---|
750 | $layerXML.='>'; |
---|
751 | |
---|
752 | $layerXML.='<ITEM'; |
---|
753 | $layerXML.=' alpulsar="insertar_incrementalcomponente()"'; |
---|
754 | $layerXML.=' imgitem="../images/iconos/confisoft.gif"'; |
---|
755 | $layerXML.=' textoitem='.$TbMsg[14]; |
---|
756 | $layerXML.='></ITEM>'; |
---|
757 | |
---|
758 | $layerXML.='<ITEM'; |
---|
759 | $layerXML.=' alpulsar="informacion_incrementales()"'; |
---|
760 | $layerXML.=' textoitem='.$TbMsg[26]; |
---|
761 | $layerXML.=' imgitem="../images/iconos/informacion.gif"'; |
---|
762 | $layerXML.='></ITEM>'; |
---|
763 | |
---|
764 | $layerXML.='<SEPARADOR>'; |
---|
765 | $layerXML.='</SEPARADOR>'; |
---|
766 | |
---|
767 | $layerXML.='<ITEM'; |
---|
768 | $layerXML.=' alpulsar="mover('.$AMBITO_SOFTINCREMENTAL.')"'; |
---|
769 | $layerXML.=' imgitem="../images/iconos/mover.gif"'; |
---|
770 | $layerXML.=' textoitem='.$TbMsg[27]; |
---|
771 | $layerXML.='></ITEM>'; |
---|
772 | |
---|
773 | $layerXML.='<SEPARADOR>'; |
---|
774 | $layerXML.='</SEPARADOR>'; |
---|
775 | |
---|
776 | $wLeft=170; |
---|
777 | $wTop=150; |
---|
778 | $wWidth=480; |
---|
779 | $wHeight=280; |
---|
780 | $wpages="../propiedades/propiedades_softincrementales.php"; |
---|
781 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
---|
782 | |
---|
783 | $layerXML.='<ITEM'; |
---|
784 | $layerXML.=' alpulsar="modificar('.$wParam.')"'; |
---|
785 | $layerXML.=' textoitem='.$TbMsg[1]; |
---|
786 | $layerXML.=' imgitem="../images/iconos/propiedades.gif"'; |
---|
787 | $layerXML.='></ITEM>'; |
---|
788 | |
---|
789 | $layerXML.='<ITEM'; |
---|
790 | $layerXML.=' alpulsar="eliminar('.$wParam.')"'; |
---|
791 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
---|
792 | $layerXML.=' textoitem='.$TbMsg[28]; |
---|
793 | $layerXML.='></ITEM>'; |
---|
794 | |
---|
795 | $layerXML.='</MENUCONTEXTUAL>'; |
---|
796 | return($layerXML); |
---|
797 | } |
---|
798 | ?> |
---|