| 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: Marzo-2006 |
|---|
| 7 | // Nombre del fichero: aulas.php |
|---|
| 8 | // Descripción : |
|---|
| 9 | // Administra grupos,aulas y 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."/aulas_".$idioma.".php"); |
|---|
| 19 | include_once("../idiomas/php/".$idioma."/comandos/mensajes_".$idioma.".php"); |
|---|
| 20 | //________________________________________________________________________________________________________ |
|---|
| 21 | $cmd=CreaComando($cadenaconexion); |
|---|
| 22 | if (!$cmd) |
|---|
| 23 | Header('Location: '.$pagerror.'?herror=2'); // Error de conexióncon servidor B.D. |
|---|
| 24 | else |
|---|
| 25 | $arbolXML=CreaArbol($cmd,$idcentro,$nombrecentro); // Crea el arbol XML con todos los datos de aulas del Centro |
|---|
| 26 | // Creación del árbol |
|---|
| 27 | $baseurlimg="../images/signos"; // Url de las imágenes de signo |
|---|
| 28 | $clasedefault="texto_arbol"; // Hoja de estilo (Clase por defecto) del árbol |
|---|
| 29 | $arbol=new ArbolVistaXML($arbolXML,0,$baseurlimg,$clasedefault,1,0,5); // Crea el árbol (formato XML) |
|---|
| 30 | //________________________________________________________________________________________________________ |
|---|
| 31 | ?> |
|---|
| 32 | <HTML> |
|---|
| 33 | <TITLE>Administración web de aulas</TITLE> |
|---|
| 34 | <HEAD> |
|---|
| 35 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
|---|
| 36 | <LINK rel="stylesheet" type="text/css" href="../estilos.css"> |
|---|
| 37 | <SCRIPT language="javascript" src="../clases/jscripts/ArbolVistaXML.js"></SCRIPT> |
|---|
| 38 | <SCRIPT language="javascript" src="../clases/jscripts/MenuContextual.js"></SCRIPT> |
|---|
| 39 | <SCRIPT language="javascript" src="../jscripts/aulas.js"></SCRIPT> |
|---|
| 40 | <SCRIPT language="javascript" src="../jscripts/opciones.js"></SCRIPT> |
|---|
| 41 | <SCRIPT language="javascript" src="../jscripts/constantes.js"></SCRIPT> |
|---|
| 42 | <SCRIPT language="javascript" src="../jscripts/comunes.js"></SCRIPT> |
|---|
| 43 | <SCRIPT language="javascript" src="../clases/jscripts/HttpLib.js"></SCRIPT> |
|---|
| 44 | <? echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comunes_'.$idioma.'.js"></SCRIPT>'?> |
|---|
| 45 | <? echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/aulas_'.$idioma.'.js"></SCRIPT>'?> |
|---|
| 46 | </HEAD> |
|---|
| 47 | <BODY OnContextMenu="return false"> |
|---|
| 48 | <FORM name="fcomandos" action="" method="post" target="frame_contenidos"> |
|---|
| 49 | <INPUT type="hidden" name="idcomando" value=""> |
|---|
| 50 | <INPUT type="hidden" name="descricomando" value=""> |
|---|
| 51 | <INPUT type="hidden" name="ambito" value=""> |
|---|
| 52 | <INPUT type="hidden" name="idambito" value=""> |
|---|
| 53 | <INPUT type="hidden" name="nombreambito" value=""> |
|---|
| 54 | <INPUT type="hidden" name="gestor" value=""> |
|---|
| 55 | <INPUT type="hidden" name="funcion" value=""> |
|---|
| 56 | </FORM> |
|---|
| 57 | <? |
|---|
| 58 | //________________________________________________________________________________________________________ |
|---|
| 59 | echo $arbol->CreaArbolVistaXML(); // Crea árbol (HTML) a partir del XML |
|---|
| 60 | $flotante=new MenuContextual(); // Crea objeto MenuContextual |
|---|
| 61 | |
|---|
| 62 | // Crea contextual de los Centros y aulas |
|---|
| 63 | $XMLcontextual=ContextualXMLCentros(); // Centros |
|---|
| 64 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 65 | $XMLcontextual=ContextualXMLGruposAulas(); // Grupos de aulas |
|---|
| 66 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 67 | $XMLcontextual=ContextualXMLAulas(); // Aulas |
|---|
| 68 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 69 | $XMLcontextual=CreacontextualXMLUsuarios(); // Operadores |
|---|
| 70 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 71 | $XMLcontextual=ContextualXMLGruposOrdenadores(); // Grupos de ordenadores |
|---|
| 72 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 73 | $XMLcontextual=ContextualXMLOrdenadores(); // Ordenadores |
|---|
| 74 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 75 | |
|---|
| 76 | // Crea contextual de los comandos para los distintos �bitos |
|---|
| 77 | $XMLcontextual=ContextualXMLComandos($LITAMBITO_CENTROS,$AMBITO_CENTROS); |
|---|
| 78 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 79 | $XMLcontextual=ContextualXMLComandos($LITAMBITO_GRUPOSAULAS,$AMBITO_GRUPOSAULAS); |
|---|
| 80 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 81 | $XMLcontextual=ContextualXMLComandos($LITAMBITO_AULAS,$AMBITO_AULAS); |
|---|
| 82 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 83 | $XMLcontextual=ContextualXMLComandos($LITAMBITO_GRUPOSORDENADORES,$AMBITO_GRUPOSORDENADORES); |
|---|
| 84 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 85 | $XMLcontextual=ContextualXMLComandos($LITAMBITO_ORDENADORES,$AMBITO_ORDENADORES); |
|---|
| 86 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 87 | |
|---|
| 88 | // Crea submenu contextual de clase de gestion de arranque pxe |
|---|
| 89 | $XMLcontextual=ContextualXMLNetBoot(); // Crea submenu contextual de acciones |
|---|
| 90 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 91 | |
|---|
| 92 | // Crea submenu contextual de la clase de asistentes. |
|---|
| 93 | $XMLcontextual=ContextualXMLAsistentes($LITAMBITO_CENTROS,$AMBITO_CENTROS); |
|---|
| 94 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 95 | $XMLcontextual=ContextualXMLAsistentes($LITAMBITO_GRUPOSAULAS,$AMBITO_GRUPOSAULAS); |
|---|
| 96 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 97 | $XMLcontextual=ContextualXMLAsistentes($LITAMBITO_AULAS,$AMBITO_AULAS); |
|---|
| 98 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 99 | $XMLcontextual=ContextualXMLAsistentes($LITAMBITO_GRUPOSORDENADORES,$AMBITO_GRUPOSORDENADORES); |
|---|
| 100 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 101 | $XMLcontextual=ContextualXMLAsistentes($LITAMBITO_ORDENADORES,$AMBITO_ORDENADORES); |
|---|
| 102 | echo $flotante->CreaMenuContextual($XMLcontextual); |
|---|
| 103 | |
|---|
| 104 | |
|---|
| 105 | |
|---|
| 106 | //___________________________________________________________________________________________________ |
|---|
| 107 | ?> |
|---|
| 108 | </BODY> |
|---|
| 109 | </HTML> |
|---|
| 110 | <? |
|---|
| 111 | // ************************************************************************************************************************************************* |
|---|
| 112 | // Devuelve una cadena con formato XML con toda la informaci� de aulas y ordenadores registrados en un Centro concreto |
|---|
| 113 | // Parametros: |
|---|
| 114 | // - cmd:Una comando ya operativo ( con conexiónabierta) |
|---|
| 115 | // - idcentro: El identificador del centro |
|---|
| 116 | // - nombrecentro: El nombre del centro |
|---|
| 117 | //________________________________________________________________________________________________________ |
|---|
| 118 | function CreaArbol($cmd,$idcentro,$nombrecentro){ |
|---|
| 119 | global $TbMsg; |
|---|
| 120 | global $LITAMBITO_CENTROS; |
|---|
| 121 | $cadenaXML='<CENTRO'; |
|---|
| 122 | // Atributos |
|---|
| 123 | $cadenaXML.=' imagenodo="../images/iconos/centros.gif"'; |
|---|
| 124 | $cadenaXML.=' nodoid='.$LITAMBITO_CENTROS."-".$idcentro; |
|---|
| 125 | $cadenaXML.=' infonodo="'.$nombrecentro.'"'; |
|---|
| 126 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_".$LITAMBITO_CENTROS."'" .')"'; |
|---|
| 127 | $cadenaXML.='>'; |
|---|
| 128 | $cadenaXML.=SubarbolXML_grupos_aulas($cmd,$idcentro,0); |
|---|
| 129 | $cadenaXML.='</CENTRO>'; |
|---|
| 130 | return($cadenaXML); |
|---|
| 131 | } |
|---|
| 132 | //________________________________________________________________________________________________________ |
|---|
| 133 | function SubarbolXML_grupos_aulas($cmd,$idcentro,$grupoid){ |
|---|
| 134 | global $TbMsg; |
|---|
| 135 | global $LITAMBITO_GRUPOSAULAS; |
|---|
| 136 | global $LITAMBITO_AULAS; |
|---|
| 137 | global $AMBITO_GRUPOSAULAS; |
|---|
| 138 | $cadenaXML=""; |
|---|
| 139 | $rs=new Recordset; |
|---|
| 140 | $cmd->texto="SELECT idgrupo,nombregrupo,grupoid FROM grupos WHERE grupoid=".$grupoid." AND idcentro=".$idcentro." AND tipo=".$AMBITO_GRUPOSAULAS." ORDER BY nombregrupo"; |
|---|
| 141 | $rs->Comando=&$cmd; |
|---|
| 142 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
|---|
| 143 | $rs->Primero(); |
|---|
| 144 | while (!$rs->EOF){ |
|---|
| 145 | $cadenaXML.='<GRUPOSAULAS'; |
|---|
| 146 | // Atributos |
|---|
| 147 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,'. " 'flo_".$LITAMBITO_GRUPOSAULAS."'" .');"'; |
|---|
| 148 | $cadenaXML.=' imagenodo="../images/iconos/carpeta.gif"'; |
|---|
| 149 | $cadenaXML.=' infonodo="'.$rs->campos["nombregrupo"].'"'; |
|---|
| 150 | $cadenaXML.=' nodoid='.$LITAMBITO_GRUPOSAULAS.'-'.$rs->campos["idgrupo"]; |
|---|
| 151 | $cadenaXML.='>'; |
|---|
| 152 | $cadenaXML.=SubarbolXML_grupos_aulas($cmd,$idcentro,$rs->campos["idgrupo"]); |
|---|
| 153 | $cadenaXML.='</GRUPOSAULAS>'; |
|---|
| 154 | $rs->Siguiente(); |
|---|
| 155 | } |
|---|
| 156 | $rs->Cerrar(); |
|---|
| 157 | $cmd->texto="SELECT idaula,nombreaula FROM aulas WHERE grupoid=".$grupoid." AND idcentro=".$idcentro." order by nombreaula"; |
|---|
| 158 | $rs->Comando=&$cmd; |
|---|
| 159 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
|---|
| 160 | $rs->Primero(); |
|---|
| 161 | while (!$rs->EOF){ |
|---|
| 162 | $cadenaXML.='<AULA '; |
|---|
| 163 | // Atributos |
|---|
| 164 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_".$LITAMBITO_AULAS."'" .')"'; |
|---|
| 165 | $cadenaXML.=' imagenodo="../images/iconos/aula.gif"'; |
|---|
| 166 | $cadenaXML.=' infonodo="'.$rs->campos["nombreaula"].'"'; |
|---|
| 167 | $cadenaXML.=' nodoid='.$LITAMBITO_AULAS.'-'.$rs->campos["idaula"]; |
|---|
| 168 | $cadenaXML.='>'; |
|---|
| 169 | $cadenaXML.=SubarbolXML_aulas_ordenadores($cmd,$rs->campos["idaula"],0); |
|---|
| 170 | $cadenaXML.=SubarbolXML_aulas_operadores($cmd,$rs->campos["idaula"],&$cc); |
|---|
| 171 | $cadenaXML.='</AULA>'; |
|---|
| 172 | $rs->Siguiente(); |
|---|
| 173 | } |
|---|
| 174 | $rs->Cerrar(); |
|---|
| 175 | return($cadenaXML); |
|---|
| 176 | } |
|---|
| 177 | //________________________________________________________________________________________________________ |
|---|
| 178 | function SubarbolXML_aulas_operadores($cmd,$idaula,$cont){ |
|---|
| 179 | global $TbMsg; |
|---|
| 180 | global $LITAMBITO_USUARIOS; |
|---|
| 181 | global $cadenaXML; |
|---|
| 182 | global $OPERADOR; |
|---|
| 183 | $cadenaXML=""; |
|---|
| 184 | $rs=new Recordset; |
|---|
| 185 | $cmd->texto="SELECT idusuario,nombre FROM usuarios WHERE idtipousuario=".$OPERADOR." AND idambito=".$idaula." ORDER by nombre"; |
|---|
| 186 | $rs->Comando=&$cmd; |
|---|
| 187 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
|---|
| 188 | $rs->Primero(); |
|---|
| 189 | if ($rs->EOF) return(""); |
|---|
| 190 | while (!$rs->EOF){ |
|---|
| 191 | $cont++; |
|---|
| 192 | $cadenaXML.='<USUARIO'; |
|---|
| 193 | // Atributos |
|---|
| 194 | $cadenaXML.=' imagenodo="../images/iconos/operadores.gif"'; |
|---|
| 195 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_".$LITAMBITO_USUARIOS."'" .')"'; |
|---|
| 196 | $cadenaXML.=' infonodo="'.$rs->campos["nombre"].'"'; |
|---|
| 197 | $cadenaXML.=' nodoid='.$LITAMBITO_USUARIOS.'-'.$rs->campos["idusuario"]; |
|---|
| 198 | $cadenaXML.='></USUARIO>'; |
|---|
| 199 | $rs->Siguiente(); |
|---|
| 200 | } |
|---|
| 201 | $rs->Cerrar(); |
|---|
| 202 | return($cadenaXML); |
|---|
| 203 | } |
|---|
| 204 | //________________________________________________________________________________________________________ |
|---|
| 205 | function SubarbolXML_aulas_ordenadores($cmd,$idaula,$grupoid){ |
|---|
| 206 | global $TbMsg; |
|---|
| 207 | global $LITAMBITO_GRUPOSORDENADORES; |
|---|
| 208 | global $LITAMBITO_ORDENADORES; |
|---|
| 209 | $cadenaXML=""; |
|---|
| 210 | $rs=new Recordset; |
|---|
| 211 | $cmd->texto="SELECT idgrupo,nombregrupoordenador,grupoid FROM gruposordenadores WHERE grupoid=".$grupoid." AND idaula=".$idaula." ORDER BY nombregrupoordenador"; |
|---|
| 212 | $rs->Comando=&$cmd; |
|---|
| 213 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
|---|
| 214 | $rs->Primero(); |
|---|
| 215 | while (!$rs->EOF){ |
|---|
| 216 | $cadenaXML.='<GRUPOSORDENADORES'; |
|---|
| 217 | // Atributos |
|---|
| 218 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_".$LITAMBITO_GRUPOSORDENADORES."'" .')"'; |
|---|
| 219 | $cadenaXML.=' imagenodo="../images/iconos/carpeta.gif"'; |
|---|
| 220 | $cadenaXML.=' infonodo="'.$rs->campos["nombregrupoordenador"].'"'; |
|---|
| 221 | $cadenaXML.=' nodoid='.$LITAMBITO_GRUPOSORDENADORES.'-'.$rs->campos["idgrupo"]; |
|---|
| 222 | $cadenaXML.='>'; |
|---|
| 223 | $cadenaXML.=SubarbolXML_aulas_ordenadores($cmd,$idaula,$rs->campos["idgrupo"]); |
|---|
| 224 | $cadenaXML.='</GRUPOSORDENADORES>'; |
|---|
| 225 | $rs->Siguiente(); |
|---|
| 226 | } |
|---|
| 227 | $rs->Cerrar(); |
|---|
| 228 | $cmd->texto="SELECT idordenador,nombreordenador FROM ordenadores WHERE grupoid=".$grupoid." AND idaula=".$idaula." order by nombreordenador desc"; |
|---|
| 229 | $rs->Comando=&$cmd; |
|---|
| 230 | if (!$rs->Abrir()) return($cadenaXML); // Error al abrir recordset |
|---|
| 231 | $rs->Primero(); |
|---|
| 232 | while (!$rs->EOF){ |
|---|
| 233 | $cadenaXML.='<ORDENADOR'; |
|---|
| 234 | // Atributos |
|---|
| 235 | $cadenaXML.=' imagenodo="../images/iconos/ordenador.gif"'; |
|---|
| 236 | $cadenaXML.=' clickcontextualnodo="menu_contextual(this,' ."'flo_".$LITAMBITO_ORDENADORES."'" .')"'; |
|---|
| 237 | $cadenaXML.=' infonodo="'.$rs->campos["nombreordenador"].'"'; |
|---|
| 238 | $cadenaXML.=' nodoid='.$LITAMBITO_ORDENADORES.'-'.$rs->campos["idordenador"]; |
|---|
| 239 | $cadenaXML.='></ORDENADOR>'; |
|---|
| 240 | $rs->Siguiente(); |
|---|
| 241 | } |
|---|
| 242 | $rs->Cerrar(); |
|---|
| 243 | return($cadenaXML); |
|---|
| 244 | } |
|---|
| 245 | //________________________________________________________________________________________________________ |
|---|
| 246 | // |
|---|
| 247 | // Mens Contextuales |
|---|
| 248 | //________________________________________________________________________________________________________ |
|---|
| 249 | function ContextualXMLCentros(){ |
|---|
| 250 | global $TbMsg; |
|---|
| 251 | global $AMBITO_AULAS; |
|---|
| 252 | global $AMBITO_GRUPOSAULAS; |
|---|
| 253 | global $LITAMBITO_GRUPOSAULAS; |
|---|
| 254 | global $AMBITO_CENTROS; |
|---|
| 255 | global $LITAMBITO_CENTROS; |
|---|
| 256 | global $RESERVA_CONFIRMADA; |
|---|
| 257 | |
|---|
| 258 | $layerXML='<MENUCONTEXTUAL'; |
|---|
| 259 | $layerXML.=' idctx="flo_'.$LITAMBITO_CENTROS.'"'; |
|---|
| 260 | $layerXML.=' maxanchu=160'; |
|---|
| 261 | $layerXML.=' swimg=1'; |
|---|
| 262 | $layerXML.=' clase="menu_contextual"'; |
|---|
| 263 | $layerXML.='>'; |
|---|
| 264 | |
|---|
| 265 | $layerXML.='<ITEM'; |
|---|
| 266 | $layerXML.=' alpulsar="ver_aulas()"'; |
|---|
| 267 | $layerXML.=' textoitem='.$TbMsg[1]; |
|---|
| 268 | $layerXML.=' imgitem="../images/iconos/ordenadores.gif"'; |
|---|
| 269 | $layerXML.='></ITEM>'; |
|---|
| 270 | |
|---|
| 271 | $layerXML.='<ITEM'; |
|---|
| 272 | $layerXML.=' alpulsar="cola_acciones()"'; |
|---|
| 273 | $layerXML.=' imgitem="../images/iconos/acciones.gif"'; |
|---|
| 274 | $layerXML.=' textoitem='.$TbMsg[6]; |
|---|
| 275 | $layerXML.='></ITEM>'; |
|---|
| 276 | |
|---|
| 277 | $layerXML.='<SEPARADOR>'; |
|---|
| 278 | $layerXML.='</SEPARADOR>'; |
|---|
| 279 | |
|---|
| 280 | $layerXML.='<ITEM'; |
|---|
| 281 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_GRUPOSAULAS.',' ."'".$LITAMBITO_GRUPOSAULAS."',1". ')"'; |
|---|
| 282 | |
|---|
| 283 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
|---|
| 284 | $layerXML.=' textoitem='.$TbMsg[0]; |
|---|
| 285 | $layerXML.='></ITEM>'; |
|---|
| 286 | |
|---|
| 287 | $wLeft=170; |
|---|
| 288 | $wTop=80; |
|---|
| 289 | $wWidth=480; |
|---|
| 290 | $wHeight=480; |
|---|
| 291 | $wpages="../propiedades/propiedades_aulas.php"; |
|---|
| 292 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
|---|
| 293 | $layerXML.='<ITEM'; |
|---|
| 294 | $layerXML.=' alpulsar="insertar('.$wParam.',1)"'; |
|---|
| 295 | $layerXML.=' imgitem="../images/iconos/aula.gif"'; |
|---|
| 296 | $layerXML.=' textoitem='.$TbMsg[3]; |
|---|
| 297 | $layerXML.='></ITEM>'; |
|---|
| 298 | |
|---|
| 299 | $layerXML.='<SEPARADOR>'; |
|---|
| 300 | $layerXML.='</SEPARADOR>'; |
|---|
| 301 | |
|---|
| 302 | $layerXML.='<ITEM'; |
|---|
| 303 | $layerXML.=' alpulsar="actualizar_ordenadores()"'; |
|---|
| 304 | $layerXML.=' imgitem="../images/iconos/actualizar.gif"'; |
|---|
| 305 | $layerXML.=' textoitem='.$TbMsg[4]; |
|---|
| 306 | $layerXML.='></ITEM>'; |
|---|
| 307 | |
|---|
| 308 | $layerXML.='<ITEM'; |
|---|
| 309 | $layerXML.=' alpulsar="purgar_ordenadores()"'; |
|---|
| 310 | $layerXML.=' imgitem="../images/iconos/purgar.gif"'; |
|---|
| 311 | $layerXML.=' textoitem='.$TbMsg[2]; |
|---|
| 312 | $layerXML.='></ITEM>'; |
|---|
| 313 | |
|---|
| 314 | $layerXML.='<SEPARADOR>'; |
|---|
| 315 | $layerXML.='</SEPARADOR>'; |
|---|
| 316 | |
|---|
| 317 | $layerXML.='<ITEM'; |
|---|
| 318 | $layerXML.=' alpulsar="consola_remota('.$AMBITO_CENTROS.')"'; |
|---|
| 319 | $layerXML.=' imgitem="../images/iconos/shell.gif"'; |
|---|
| 320 | $layerXML.=' textoitem='.$TbMsg[33]; |
|---|
| 321 | $layerXML.='></ITEM>'; |
|---|
| 322 | |
|---|
| 323 | $layerXML.='<SEPARADOR>'; |
|---|
| 324 | $layerXML.='</SEPARADOR>'; |
|---|
| 325 | |
|---|
| 326 | $layerXML.='<ITEM'; |
|---|
| 327 | $layerXML.=' subflotante="flo_comandos_'.$LITAMBITO_CENTROS.'"'; |
|---|
| 328 | $layerXML.=' imgitem="../images/iconos/comandos.gif"'; |
|---|
| 329 | $layerXML.=' textoitem='.$TbMsg[5]; |
|---|
| 330 | $layerXML.='></ITEM>'; |
|---|
| 331 | |
|---|
| 332 | $layerXML.='<ITEM'; |
|---|
| 333 | $layerXML.=' alpulsar="confirmarprocedimiento('.$AMBITO_CENTROS.')"'; |
|---|
| 334 | $layerXML.=' imgitem="../images/iconos/procedimiento.gif"'; |
|---|
| 335 | $layerXML.=' textoitem='.$TbMsg[28]; |
|---|
| 336 | $layerXML.='></ITEM>'; |
|---|
| 337 | |
|---|
| 338 | $layerXML.='<SEPARADOR>'; |
|---|
| 339 | $layerXML.='</SEPARADOR>'; |
|---|
| 340 | |
|---|
| 341 | $layerXML.='<ITEM'; |
|---|
| 342 | $layerXML.=' alpulsar="cola_reservas('.$RESERVA_CONFIRMADA.')"'; |
|---|
| 343 | $layerXML.=' imgitem="../images/iconos/reservas.gif"'; |
|---|
| 344 | $layerXML.=' textoitem='.$TbMsg[29]; |
|---|
| 345 | $layerXML.='></ITEM>'; |
|---|
| 346 | |
|---|
| 347 | $layerXML.='</MENUCONTEXTUAL>'; |
|---|
| 348 | return($layerXML); |
|---|
| 349 | } |
|---|
| 350 | //________________________________________________________________________________________________________ |
|---|
| 351 | function ContextualXMLGruposAulas(){ |
|---|
| 352 | global $TbMsg; |
|---|
| 353 | global $AMBITO_AULAS; |
|---|
| 354 | global $AMBITO_GRUPOSAULAS; |
|---|
| 355 | global $LITAMBITO_GRUPOSAULAS; |
|---|
| 356 | global $RESERVA_CONFIRMADA; |
|---|
| 357 | |
|---|
| 358 | $layerXML='<MENUCONTEXTUAL'; |
|---|
| 359 | $layerXML.=' idctx="flo_'.$LITAMBITO_GRUPOSAULAS.'"'; |
|---|
| 360 | $layerXML.=' maxanchu=155'; |
|---|
| 361 | $layerXML.=' swimg=1'; |
|---|
| 362 | $layerXML.=' clase="menu_contextual"'; |
|---|
| 363 | $layerXML.='>'; |
|---|
| 364 | |
|---|
| 365 | |
|---|
| 366 | |
|---|
| 367 | $layerXML.='<ITEM'; |
|---|
| 368 | $layerXML.=' alpulsar="ver_aulas()"'; |
|---|
| 369 | $layerXML.=' textoitem='.$TbMsg[1]; |
|---|
| 370 | $layerXML.=' imgitem="../images/iconos/ordenadores.gif"'; |
|---|
| 371 | $layerXML.='></ITEM>'; |
|---|
| 372 | |
|---|
| 373 | $layerXML.='<ITEM'; |
|---|
| 374 | $layerXML.=' alpulsar="cola_acciones()"'; |
|---|
| 375 | $layerXML.=' imgitem="../images/iconos/acciones.gif"'; |
|---|
| 376 | $layerXML.=' textoitem='.$TbMsg[6]; |
|---|
| 377 | $layerXML.='></ITEM>'; |
|---|
| 378 | |
|---|
| 379 | |
|---|
| 380 | $layerXML.='<SEPARADOR>'; |
|---|
| 381 | $layerXML.='</SEPARADOR>'; |
|---|
| 382 | |
|---|
| 383 | $layerXML.='<ITEM'; |
|---|
| 384 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_GRUPOSAULAS.',' ."'".$LITAMBITO_GRUPOSAULAS."'". ')"'; |
|---|
| 385 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
|---|
| 386 | $layerXML.=' textoitem='.$TbMsg[0]; |
|---|
| 387 | $layerXML.='></ITEM>'; |
|---|
| 388 | |
|---|
| 389 | $wLeft=170; |
|---|
| 390 | $wTop=80; |
|---|
| 391 | $wWidth=480; |
|---|
| 392 | $wHeight=480; |
|---|
| 393 | $wpages="../propiedades/propiedades_aulas.php"; |
|---|
| 394 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
|---|
| 395 | $layerXML.='<ITEM'; |
|---|
| 396 | $layerXML.=' alpulsar="insertar('.$wParam.')"'; |
|---|
| 397 | $layerXML.=' imgitem="../images/iconos/aula.gif"'; |
|---|
| 398 | $layerXML.=' textoitem='.$TbMsg[3]; |
|---|
| 399 | $layerXML.='></ITEM>'; |
|---|
| 400 | |
|---|
| 401 | $layerXML.='<SEPARADOR>'; |
|---|
| 402 | $layerXML.='</SEPARADOR>'; |
|---|
| 403 | |
|---|
| 404 | $layerXML.='<ITEM'; |
|---|
| 405 | $layerXML.=' alpulsar="actualizar_ordenadores()"'; |
|---|
| 406 | $layerXML.=' imgitem="../images/iconos/actualizar.gif"'; |
|---|
| 407 | $layerXML.=' textoitem='.$TbMsg[4]; |
|---|
| 408 | $layerXML.='></ITEM>'; |
|---|
| 409 | |
|---|
| 410 | $layerXML.='<ITEM'; |
|---|
| 411 | $layerXML.=' alpulsar="purgar_ordenadores()"'; |
|---|
| 412 | $layerXML.=' imgitem="../images/iconos/purgar.gif"'; |
|---|
| 413 | $layerXML.=' textoitem='.$TbMsg[2]; |
|---|
| 414 | $layerXML.='></ITEM>'; |
|---|
| 415 | |
|---|
| 416 | $layerXML.='<SEPARADOR>'; |
|---|
| 417 | $layerXML.='</SEPARADOR>'; |
|---|
| 418 | |
|---|
| 419 | $layerXML.='<ITEM'; |
|---|
| 420 | $layerXML.=' alpulsar="consola_remota('.$AMBITO_GRUPOSAULAS.')"'; |
|---|
| 421 | $layerXML.=' imgitem="../images/iconos/shell.gif"'; |
|---|
| 422 | $layerXML.=' textoitem='.$TbMsg[33]; |
|---|
| 423 | $layerXML.='></ITEM>'; |
|---|
| 424 | |
|---|
| 425 | $layerXML.='<SEPARADOR>'; |
|---|
| 426 | $layerXML.='</SEPARADOR>'; |
|---|
| 427 | |
|---|
| 428 | $layerXML.='<ITEM'; |
|---|
| 429 | $layerXML.=' subflotante="flo_comandos_'.$LITAMBITO_GRUPOSAULAS.'"'; |
|---|
| 430 | $layerXML.=' imgitem="../images/iconos/comandos.gif"'; |
|---|
| 431 | $layerXML.=' textoitem='.$TbMsg[5]; |
|---|
| 432 | $layerXML.='></ITEM>'; |
|---|
| 433 | |
|---|
| 434 | $layerXML.='<ITEM'; |
|---|
| 435 | $layerXML.=' alpulsar="confirmarprocedimiento('.$AMBITO_GRUPOSAULAS.')"'; |
|---|
| 436 | $layerXML.=' imgitem="../images/iconos/procedimiento.gif"'; |
|---|
| 437 | $layerXML.=' textoitem='.$TbMsg[28]; |
|---|
| 438 | $layerXML.='></ITEM>'; |
|---|
| 439 | |
|---|
| 440 | $layerXML.='<SEPARADOR>'; |
|---|
| 441 | $layerXML.='</SEPARADOR>'; |
|---|
| 442 | |
|---|
| 443 | $layerXML.='<ITEM'; |
|---|
| 444 | $layerXML.=' alpulsar="modificar_grupos()"'; |
|---|
| 445 | $layerXML.=' imgitem="../images/iconos/modificar.gif"'; |
|---|
| 446 | $layerXML.=' textoitem='.$TbMsg[13]; |
|---|
| 447 | $layerXML.='></ITEM>'; |
|---|
| 448 | |
|---|
| 449 | $layerXML.='<ITEM'; |
|---|
| 450 | $layerXML.=' alpulsar="eliminar_grupos()"'; |
|---|
| 451 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
|---|
| 452 | $layerXML.=' textoitem='.$TbMsg[7]; |
|---|
| 453 | $layerXML.='></ITEM>'; |
|---|
| 454 | |
|---|
| 455 | $layerXML.='<SEPARADOR>'; |
|---|
| 456 | $layerXML.='</SEPARADOR>'; |
|---|
| 457 | |
|---|
| 458 | $layerXML.='<ITEM'; |
|---|
| 459 | $layerXML.=' alpulsar="cola_reservas('.$RESERVA_CONFIRMADA.')"'; |
|---|
| 460 | $layerXML.=' imgitem="../images/iconos/reservas.gif"'; |
|---|
| 461 | $layerXML.=' textoitem='.$TbMsg[29]; |
|---|
| 462 | $layerXML.='></ITEM>'; |
|---|
| 463 | |
|---|
| 464 | $layerXML.='</MENUCONTEXTUAL>'; |
|---|
| 465 | return($layerXML); |
|---|
| 466 | } |
|---|
| 467 | //________________________________________________________________________________________________________ |
|---|
| 468 | function ContextualXMLAulas(){ |
|---|
| 469 | global $TbMsg; |
|---|
| 470 | global $AMBITO_AULAS; |
|---|
| 471 | global $LITAMBITO_AULAS; |
|---|
| 472 | global $RESERVA_CONFIRMADA; |
|---|
| 473 | global $OPERADOR; |
|---|
| 474 | |
|---|
| 475 | $layerXML='<MENUCONTEXTUAL'; |
|---|
| 476 | $layerXML.=' idctx="flo_'.$LITAMBITO_AULAS.'"'; |
|---|
| 477 | $layerXML.=' maxanchu=190'; |
|---|
| 478 | $layerXML.=' swimg=1'; |
|---|
| 479 | $layerXML.=' clase="menu_contextual"'; |
|---|
| 480 | $layerXML.='>'; |
|---|
| 481 | |
|---|
| 482 | $layerXML.='<ITEM'; |
|---|
| 483 | // Pasar al menú la única opción del submenú "NetBoot Gestión". |
|---|
| 484 | //$layerXML.=' subflotante="flo_netboot"'; |
|---|
| 485 | $layerXML.=' alpulsar="ver_boot()"'; |
|---|
| 486 | $layerXML.=' imgitem="../images/iconos/ordenadores.gif"'; |
|---|
| 487 | $layerXML.=' textoitem='.$TbMsg[40]; |
|---|
| 488 | $layerXML.='></ITEM>'; |
|---|
| 489 | |
|---|
| 490 | //adv compatiblidad Configurador de Startpages |
|---|
| 491 | $layerXML.='<ITEM'; |
|---|
| 492 | $layerXML.=' alpulsar="ver_ubicarordenadores()"'; |
|---|
| 493 | $layerXML.=' textoitem='.$TbMsg[41]; |
|---|
| 494 | $layerXML.=' imgitem="../images/iconos/ordenadores.gif"'; |
|---|
| 495 | $layerXML.='></ITEM>'; |
|---|
| 496 | //adv compatiblidad Configurador de Startpages |
|---|
| 497 | |
|---|
| 498 | $layerXML.='<ITEM'; |
|---|
| 499 | $layerXML.=' alpulsar="ver_aulas()"'; |
|---|
| 500 | $layerXML.=' textoitem='.$TbMsg[1]; |
|---|
| 501 | $layerXML.=' imgitem="../images/iconos/ordenadores.gif"'; |
|---|
| 502 | $layerXML.='></ITEM>'; |
|---|
| 503 | |
|---|
| 504 | $layerXML.='<ITEM'; |
|---|
| 505 | $layerXML.=' alpulsar="cola_acciones()"'; |
|---|
| 506 | $layerXML.=' imgitem="../images/iconos/acciones.gif"'; |
|---|
| 507 | $layerXML.=' textoitem='.$TbMsg[6]; |
|---|
| 508 | $layerXML.='></ITEM>'; |
|---|
| 509 | |
|---|
| 510 | $layerXML.='<SEPARADOR>'; |
|---|
| 511 | $layerXML.='</SEPARADOR>'; |
|---|
| 512 | |
|---|
| 513 | $layerXML.='<ITEM'; |
|---|
| 514 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_AULAS.',' ."'".$LITAMBITO_AULAS."'". ')"'; |
|---|
| 515 | |
|---|
| 516 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
|---|
| 517 | $layerXML.=' textoitem='.$TbMsg[8]; |
|---|
| 518 | $layerXML.='></ITEM>'; |
|---|
| 519 | |
|---|
| 520 | $layerXML.='<ITEM'; |
|---|
| 521 | $layerXML.=' alpulsar="colocar_ordenador(1)"'; |
|---|
| 522 | $layerXML.=' imgitem="../images/iconos/colocar.gif"'; |
|---|
| 523 | $layerXML.=' textoitem='.$TbMsg[11]; |
|---|
| 524 | $layerXML.='></ITEM>'; |
|---|
| 525 | |
|---|
| 526 | $layerXML.='<SEPARADOR>'; |
|---|
| 527 | $layerXML.='</SEPARADOR>'; |
|---|
| 528 | |
|---|
| 529 | $wLeft=170; |
|---|
| 530 | $wTop=80; |
|---|
| 531 | $wWidth=480; |
|---|
| 532 | $wHeight=480; |
|---|
| 533 | $wpages="../propiedades/propiedades_ordenadores.php"; |
|---|
| 534 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
|---|
| 535 | $layerXML.='<ITEM'; |
|---|
| 536 | $layerXML.=' alpulsar="insertar('.$wParam.')"'; |
|---|
| 537 | $layerXML.=' imgitem="../images/iconos/ordenador.gif"'; |
|---|
| 538 | $layerXML.=' textoitem='.$TbMsg[9]; |
|---|
| 539 | $layerXML.='></ITEM>'; |
|---|
| 540 | |
|---|
| 541 | $layerXML.='<ITEM'; |
|---|
| 542 | $layerXML.=' alpulsar="incorporarordenador()"'; |
|---|
| 543 | $layerXML.=' imgitem="../images/iconos/aula.gif"'; |
|---|
| 544 | $layerXML.=' textoitem='.$TbMsg[27]; |
|---|
| 545 | $layerXML.='></ITEM>'; |
|---|
| 546 | |
|---|
| 547 | $layerXML.='<SEPARADOR>'; |
|---|
| 548 | $layerXML.='</SEPARADOR>'; |
|---|
| 549 | |
|---|
| 550 | $layerXML.='<ITEM'; |
|---|
| 551 | $layerXML.=' alpulsar="actualizar_ordenadores()"'; |
|---|
| 552 | $layerXML.=' imgitem="../images/iconos/actualizar.gif"'; |
|---|
| 553 | $layerXML.=' textoitem='.$TbMsg[4]; |
|---|
| 554 | $layerXML.='></ITEM>'; |
|---|
| 555 | |
|---|
| 556 | $layerXML.='<ITEM'; |
|---|
| 557 | $layerXML.=' alpulsar="purgar_ordenadores()"'; |
|---|
| 558 | $layerXML.=' imgitem="../images/iconos/purgar.gif"'; |
|---|
| 559 | $layerXML.=' textoitem='.$TbMsg[2]; |
|---|
| 560 | $layerXML.='></ITEM>'; |
|---|
| 561 | |
|---|
| 562 | $layerXML.='<SEPARADOR>'; |
|---|
| 563 | $layerXML.='</SEPARADOR>'; |
|---|
| 564 | |
|---|
| 565 | $layerXML.='<ITEM'; |
|---|
| 566 | $layerXML.=' alpulsar="consola_remota('.$AMBITO_AULAS.')"'; |
|---|
| 567 | $layerXML.=' imgitem="../images/iconos/shell.gif"'; |
|---|
| 568 | $layerXML.=' textoitem='.$TbMsg[33]; |
|---|
| 569 | $layerXML.='></ITEM>'; |
|---|
| 570 | |
|---|
| 571 | $layerXML.='<SEPARADOR>'; |
|---|
| 572 | $layerXML.='</SEPARADOR>'; |
|---|
| 573 | |
|---|
| 574 | $layerXML.='<ITEM'; |
|---|
| 575 | $layerXML.=' subflotante="flo_comandos_'.$LITAMBITO_AULAS.'"'; |
|---|
| 576 | $layerXML.=' imgitem="../images/iconos/comandos.gif"'; |
|---|
| 577 | $layerXML.=' textoitem='.$TbMsg[5]; |
|---|
| 578 | $layerXML.='></ITEM>'; |
|---|
| 579 | |
|---|
| 580 | $layerXML.='<ITEM'; |
|---|
| 581 | $layerXML.=' subflotante="flo_asistentes_'.$LITAMBITO_AULAS.'"'; |
|---|
| 582 | $layerXML.=' imgitem="../images/iconos/comandos.gif"'; |
|---|
| 583 | $layerXML.=' textoitem='.$TbMsg[38]; |
|---|
| 584 | $layerXML.='></ITEM>'; |
|---|
| 585 | |
|---|
| 586 | $layerXML.='<ITEM'; |
|---|
| 587 | $layerXML.=' alpulsar="confirmarprocedimiento('.$AMBITO_AULAS.')"'; |
|---|
| 588 | $layerXML.=' imgitem="../images/iconos/procedimiento.gif"'; |
|---|
| 589 | $layerXML.=' textoitem='.$TbMsg[28]; |
|---|
| 590 | $layerXML.='></ITEM>'; |
|---|
| 591 | |
|---|
| 592 | $layerXML.='<SEPARADOR>'; |
|---|
| 593 | $layerXML.='</SEPARADOR>'; |
|---|
| 594 | |
|---|
| 595 | $layerXML.='<ITEM'; |
|---|
| 596 | $layerXML.=' alpulsar="configuraciones('.$AMBITO_AULAS.')"'; |
|---|
| 597 | $layerXML.=' textoitem='.$TbMsg[10]; |
|---|
| 598 | $layerXML.=' imgitem="../images/iconos/configuraciones.gif"'; |
|---|
| 599 | $layerXML.='></ITEM>'; |
|---|
| 600 | |
|---|
| 601 | $wLeft=170; |
|---|
| 602 | $wTop=80; |
|---|
| 603 | $wWidth=480; |
|---|
| 604 | $wHeight=480; |
|---|
| 605 | $wpages="../propiedades/propiedades_aulas.php"; |
|---|
| 606 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
|---|
| 607 | $layerXML.='<ITEM'; |
|---|
| 608 | $layerXML.=' alpulsar="modificar('.$wParam.')"'; |
|---|
| 609 | $layerXML.=' textoitem='.$TbMsg[13]; |
|---|
| 610 | $layerXML.=' imgitem="../images/iconos/propiedades.gif"'; |
|---|
| 611 | $layerXML.='></ITEM>'; |
|---|
| 612 | |
|---|
| 613 | $layerXML.='<ITEM'; |
|---|
| 614 | $layerXML.=' alpulsar="eliminar('.$wParam.')"'; |
|---|
| 615 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
|---|
| 616 | $layerXML.=' textoitem='.$TbMsg[14]; |
|---|
| 617 | $layerXML.='></ITEM>'; |
|---|
| 618 | |
|---|
| 619 | $layerXML.='<SEPARADOR>'; |
|---|
| 620 | $layerXML.='</SEPARADOR>'; |
|---|
| 621 | |
|---|
| 622 | // Crear operador |
|---|
| 623 | $wLeft=140; |
|---|
| 624 | $wTop=115; |
|---|
| 625 | $wWidth=400; |
|---|
| 626 | $wHeight=320; |
|---|
| 627 | $wpages="../propiedades/propiedades_usuarios.php?idtipousuario=".$OPERADOR; |
|---|
| 628 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
|---|
| 629 | $layerXML.='<ITEM'; |
|---|
| 630 | $layerXML.=' alpulsar="insertar('.$wParam.',3)"'; |
|---|
| 631 | $layerXML.=' imgitem="../images/iconos/operadores.gif"'; |
|---|
| 632 | $layerXML.=' textoitem='.$TbMsg[37]; |
|---|
| 633 | $layerXML.='></ITEM>'; |
|---|
| 634 | |
|---|
| 635 | $layerXML.='<ITEM'; |
|---|
| 636 | $layerXML.=' alpulsar="cola_reservas('.$RESERVA_CONFIRMADA.')"'; |
|---|
| 637 | $layerXML.=' imgitem="../images/iconos/reservas.gif"'; |
|---|
| 638 | $layerXML.=' textoitem='.$TbMsg[29]; |
|---|
| 639 | $layerXML.='></ITEM>'; |
|---|
| 640 | |
|---|
| 641 | $layerXML.='</MENUCONTEXTUAL>'; |
|---|
| 642 | return($layerXML); |
|---|
| 643 | } |
|---|
| 644 | //________________________________________________________________________________________________________ |
|---|
| 645 | function CreacontextualXMLUsuarios(){ |
|---|
| 646 | global $LITAMBITO_USUARIOS; |
|---|
| 647 | global $TbMsg; |
|---|
| 648 | |
|---|
| 649 | $layerXML='<MENUCONTEXTUAL'; |
|---|
| 650 | $layerXML.=' idctx="flo_'.$LITAMBITO_USUARIOS.'"'; |
|---|
| 651 | $layerXML.=' maxanchu=130'; |
|---|
| 652 | $layerXML.=' swimg=1'; |
|---|
| 653 | $layerXML.=' clase="menu_contextual"'; |
|---|
| 654 | $layerXML.='>'; |
|---|
| 655 | |
|---|
| 656 | // Modificar usuarios |
|---|
| 657 | $wLeft=140; |
|---|
| 658 | $wTop=115; |
|---|
| 659 | $wWidth=400; |
|---|
| 660 | $wHeight=320; |
|---|
| 661 | $wpages="../propiedades/propiedades_usuarios.php"; |
|---|
| 662 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
|---|
| 663 | $layerXML.='<ITEM'; |
|---|
| 664 | $layerXML.=' alpulsar="modificar('.$wParam.')"'; |
|---|
| 665 | $layerXML.=' textoitem='.$TbMsg[13]; |
|---|
| 666 | $layerXML.=' imgitem="../images/iconos/propiedades.gif"'; |
|---|
| 667 | $layerXML.='></ITEM>'; |
|---|
| 668 | |
|---|
| 669 | $layerXML.='<SEPARADOR>'; |
|---|
| 670 | $layerXML.='</SEPARADOR>'; |
|---|
| 671 | |
|---|
| 672 | $layerXML.='<ITEM'; |
|---|
| 673 | $layerXML.=' alpulsar="eliminar('.$wParam.')"'; |
|---|
| 674 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
|---|
| 675 | $layerXML.=' textoitem='.$TbMsg[36]; |
|---|
| 676 | $layerXML.='></ITEM>'; |
|---|
| 677 | |
|---|
| 678 | $layerXML.='</MENUCONTEXTUAL>'; |
|---|
| 679 | return($layerXML); |
|---|
| 680 | } |
|---|
| 681 | //________________________________________________________________________________________________________ |
|---|
| 682 | function ContextualXMLGruposOrdenadores(){ |
|---|
| 683 | global $TbMsg; |
|---|
| 684 | global $AMBITO_GRUPOSORDENADORES; |
|---|
| 685 | global $LITAMBITO_GRUPOSORDENADORES; |
|---|
| 686 | $layerXML='<MENUCONTEXTUAL'; |
|---|
| 687 | |
|---|
| 688 | $layerXML.=' idctx="flo_'.$LITAMBITO_GRUPOSORDENADORES.'"'; |
|---|
| 689 | $layerXML.=' maxanchu=195'; |
|---|
| 690 | $layerXML.=' swimg=1'; |
|---|
| 691 | $layerXML.=' clase="menu_contextual"'; |
|---|
| 692 | $layerXML.='>'; |
|---|
| 693 | |
|---|
| 694 | |
|---|
| 695 | $layerXML.='<ITEM'; |
|---|
| 696 | // Pasar al menú la única opción del submenú "NetBoot Gestión". |
|---|
| 697 | //$layerXML.=' subflotante="flo_netboot"'; |
|---|
| 698 | $layerXML.=' alpulsar="ver_boot()"'; |
|---|
| 699 | $layerXML.=' imgitem="../images/iconos/ordenadores.gif"'; |
|---|
| 700 | $layerXML.=' textoitem='.$TbMsg[40]; |
|---|
| 701 | $layerXML.='></ITEM>'; |
|---|
| 702 | |
|---|
| 703 | |
|---|
| 704 | |
|---|
| 705 | $layerXML.='<ITEM'; |
|---|
| 706 | $layerXML.=' alpulsar="ver_aulas()"'; |
|---|
| 707 | $layerXML.=' textoitem='.$TbMsg[1]; |
|---|
| 708 | $layerXML.=' imgitem="../images/iconos/ordenadores.gif"'; |
|---|
| 709 | $layerXML.='></ITEM>'; |
|---|
| 710 | |
|---|
| 711 | $layerXML.='<ITEM'; |
|---|
| 712 | $layerXML.=' alpulsar="cola_acciones()"'; |
|---|
| 713 | $layerXML.=' imgitem="../images/iconos/acciones.gif"'; |
|---|
| 714 | $layerXML.=' textoitem='.$TbMsg[6]; |
|---|
| 715 | $layerXML.='></ITEM>'; |
|---|
| 716 | |
|---|
| 717 | $layerXML.='<SEPARADOR>'; |
|---|
| 718 | $layerXML.='</SEPARADOR>'; |
|---|
| 719 | |
|---|
| 720 | $layerXML.='<ITEM'; |
|---|
| 721 | $layerXML.=' alpulsar="insertar_grupos('.$AMBITO_GRUPOSORDENADORES.',' ."'".$LITAMBITO_GRUPOSORDENADORES."'". ')"'; |
|---|
| 722 | $layerXML.=' imgitem="../images/iconos/carpeta.gif"'; |
|---|
| 723 | $layerXML.=' textoitem='.$TbMsg[8]; |
|---|
| 724 | $layerXML.='></ITEM>'; |
|---|
| 725 | |
|---|
| 726 | $wLeft=170; |
|---|
| 727 | $wTop=80; |
|---|
| 728 | $wWidth=480; |
|---|
| 729 | $wHeight=480; |
|---|
| 730 | $wpages="../propiedades/propiedades_ordenadores.php"; |
|---|
| 731 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
|---|
| 732 | $layerXML.='<ITEM'; |
|---|
| 733 | $layerXML.=' alpulsar="insertar('.$wParam.')"'; |
|---|
| 734 | $layerXML.=' imgitem="../images/iconos/ordenador.gif"'; |
|---|
| 735 | $layerXML.=' textoitem='.$TbMsg[9]; |
|---|
| 736 | $layerXML.='></ITEM>'; |
|---|
| 737 | |
|---|
| 738 | $layerXML.='<SEPARADOR>'; |
|---|
| 739 | $layerXML.='</SEPARADOR>'; |
|---|
| 740 | |
|---|
| 741 | $layerXML.='<ITEM'; |
|---|
| 742 | $layerXML.=' alpulsar="actualizar_ordenadores()"'; |
|---|
| 743 | $layerXML.=' imgitem="../images/iconos/actualizar.gif"'; |
|---|
| 744 | $layerXML.=' textoitem='.$TbMsg[4]; |
|---|
| 745 | $layerXML.='></ITEM>'; |
|---|
| 746 | |
|---|
| 747 | $layerXML.='<ITEM'; |
|---|
| 748 | $layerXML.=' alpulsar="purgar_ordenadores()"'; |
|---|
| 749 | $layerXML.=' imgitem="../images/iconos/purgar.gif"'; |
|---|
| 750 | $layerXML.=' textoitem='.$TbMsg[2]; |
|---|
| 751 | $layerXML.='></ITEM>'; |
|---|
| 752 | |
|---|
| 753 | $layerXML.='<SEPARADOR>'; |
|---|
| 754 | $layerXML.='</SEPARADOR>'; |
|---|
| 755 | |
|---|
| 756 | $layerXML.='<ITEM'; |
|---|
| 757 | $layerXML.=' alpulsar="consola_remota('.$AMBITO_GRUPOSORDENADORES.')"'; |
|---|
| 758 | $layerXML.=' imgitem="../images/iconos/shell.gif"'; |
|---|
| 759 | $layerXML.=' textoitem='.$TbMsg[33]; |
|---|
| 760 | $layerXML.='></ITEM>'; |
|---|
| 761 | |
|---|
| 762 | $layerXML.='<SEPARADOR>'; |
|---|
| 763 | $layerXML.='</SEPARADOR>'; |
|---|
| 764 | |
|---|
| 765 | $layerXML.='<ITEM'; |
|---|
| 766 | $layerXML.=' subflotante="flo_comandos_'.$LITAMBITO_GRUPOSORDENADORES.'"'; |
|---|
| 767 | $layerXML.=' imgitem="../images/iconos/comandos.gif"'; |
|---|
| 768 | $layerXML.=' textoitem='.$TbMsg[5]; |
|---|
| 769 | $layerXML.='></ITEM>'; |
|---|
| 770 | |
|---|
| 771 | $layerXML.='<ITEM'; |
|---|
| 772 | $layerXML.=' subflotante="flo_asistentes_'.$LITAMBITO_GRUPOSORDENADORES.'"'; |
|---|
| 773 | $layerXML.=' imgitem="../images/iconos/comandos.gif"'; |
|---|
| 774 | $layerXML.=' textoitem='.$TbMsg[38]; |
|---|
| 775 | $layerXML.='></ITEM>'; |
|---|
| 776 | |
|---|
| 777 | |
|---|
| 778 | $layerXML.='<ITEM'; |
|---|
| 779 | $layerXML.=' alpulsar="confirmarprocedimiento('.$AMBITO_GRUPOSORDENADORES.')"'; |
|---|
| 780 | $layerXML.=' imgitem="../images/iconos/procedimiento.gif"'; |
|---|
| 781 | $layerXML.=' textoitem='.$TbMsg[28]; |
|---|
| 782 | $layerXML.='></ITEM>'; |
|---|
| 783 | |
|---|
| 784 | $layerXML.='<SEPARADOR>'; |
|---|
| 785 | $layerXML.='</SEPARADOR>'; |
|---|
| 786 | |
|---|
| 787 | $layerXML.='<ITEM'; |
|---|
| 788 | $layerXML.=' alpulsar="colocar_ordenador(0)"'; |
|---|
| 789 | $layerXML.=' imgitem="../images/iconos/colocar.gif"'; |
|---|
| 790 | $layerXML.=' textoitem='.$TbMsg[11]; |
|---|
| 791 | $layerXML.='></ITEM>'; |
|---|
| 792 | |
|---|
| 793 | $layerXML.='<SEPARADOR>'; |
|---|
| 794 | $layerXML.='</SEPARADOR>'; |
|---|
| 795 | |
|---|
| 796 | $layerXML.='<ITEM'; |
|---|
| 797 | $layerXML.=' alpulsar="configuraciones('.$AMBITO_GRUPOSORDENADORES.')"'; |
|---|
| 798 | $layerXML.=' textoitem='.$TbMsg[10]; |
|---|
| 799 | $layerXML.=' imgitem="../images/iconos/configuraciones.gif"'; |
|---|
| 800 | $layerXML.='></ITEM>'; |
|---|
| 801 | |
|---|
| 802 | $layerXML.='<ITEM'; |
|---|
| 803 | $layerXML.=' alpulsar="modificar_grupos()"'; |
|---|
| 804 | $layerXML.=' imgitem="../images/iconos/modificar.gif"'; |
|---|
| 805 | $layerXML.=' textoitem='.$TbMsg[13]; |
|---|
| 806 | $layerXML.='></ITEM>'; |
|---|
| 807 | |
|---|
| 808 | $layerXML.='<ITEM'; |
|---|
| 809 | $layerXML.=' alpulsar="eliminar_grupos()"'; |
|---|
| 810 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
|---|
| 811 | $layerXML.=' textoitem='.$TbMsg[16]; |
|---|
| 812 | $layerXML.='></ITEM>'; |
|---|
| 813 | |
|---|
| 814 | $layerXML.='</MENUCONTEXTUAL>'; |
|---|
| 815 | return($layerXML); |
|---|
| 816 | } |
|---|
| 817 | //________________________________________________________________________________________________________ |
|---|
| 818 | function ContextualXMLOrdenadores(){ |
|---|
| 819 | global $TbMsg; |
|---|
| 820 | global $AMBITO_ORDENADORES; |
|---|
| 821 | global $LITAMBITO_ORDENADORES; |
|---|
| 822 | |
|---|
| 823 | $layerXML='<MENUCONTEXTUAL'; |
|---|
| 824 | $layerXML.=' idctx="flo_'.$LITAMBITO_ORDENADORES.'"'; |
|---|
| 825 | $layerXML.=' maxanchu=140'; |
|---|
| 826 | $layerXML.=' swimg=1'; |
|---|
| 827 | $layerXML.=' clase="menu_contextual"'; |
|---|
| 828 | $layerXML.='>'; |
|---|
| 829 | |
|---|
| 830 | $layerXML.='<ITEM'; |
|---|
| 831 | $layerXML.=' alpulsar="cola_acciones()"'; |
|---|
| 832 | $layerXML.=' imgitem="../images/iconos/acciones.gif"'; |
|---|
| 833 | $layerXML.=' textoitem='.$TbMsg[6]; |
|---|
| 834 | $layerXML.='></ITEM>'; |
|---|
| 835 | |
|---|
| 836 | $layerXML.='<SEPARADOR>'; |
|---|
| 837 | $layerXML.='</SEPARADOR>'; |
|---|
| 838 | |
|---|
| 839 | $layerXML.='<ITEM'; |
|---|
| 840 | $layerXML.=' alpulsar="ver_log('.$AMBITO_ORDENADORES.')"'; |
|---|
| 841 | $layerXML.=' imgitem="../images/iconos/acciones.gif"'; |
|---|
| 842 | $layerXML.=' textoitem='.$TbMsg[47]; |
|---|
| 843 | $layerXML.='></ITEM>'; |
|---|
| 844 | |
|---|
| 845 | $layerXML.='<ITEM'; |
|---|
| 846 | $layerXML.=' alpulsar="ver_log_seguimiento('.$AMBITO_ORDENADORES.')"'; |
|---|
| 847 | $layerXML.=' imgitem="../images/iconos/acciones.gif"'; |
|---|
| 848 | $layerXML.=' textoitem='.$TbMsg[48]; |
|---|
| 849 | $layerXML.='></ITEM>'; |
|---|
| 850 | |
|---|
| 851 | $layerXML.='<ITEM'; |
|---|
| 852 | $layerXML.=' alpulsar="mover_ordenador()"'; |
|---|
| 853 | $layerXML.=' imgitem="../images/iconos/mover.gif"'; |
|---|
| 854 | $layerXML.=' textoitem='.$TbMsg[17]; |
|---|
| 855 | $layerXML.='></ITEM>'; |
|---|
| 856 | |
|---|
| 857 | $layerXML.='<SEPARADOR>'; |
|---|
| 858 | $layerXML.='</SEPARADOR>'; |
|---|
| 859 | |
|---|
| 860 | $layerXML.='<ITEM'; |
|---|
| 861 | $layerXML.=' alpulsar="actualizar_ordenadores()"'; |
|---|
| 862 | $layerXML.=' imgitem="../images/iconos/actualizar.gif"'; |
|---|
| 863 | $layerXML.=' textoitem='.$TbMsg[4]; |
|---|
| 864 | $layerXML.='></ITEM>'; |
|---|
| 865 | |
|---|
| 866 | $layerXML.='<ITEM'; |
|---|
| 867 | $layerXML.=' alpulsar="purgar_ordenadores()"'; |
|---|
| 868 | $layerXML.=' imgitem="../images/iconos/purgar.gif"'; |
|---|
| 869 | $layerXML.=' textoitem='.$TbMsg[2]; |
|---|
| 870 | $layerXML.='></ITEM>'; |
|---|
| 871 | |
|---|
| 872 | $layerXML.='<SEPARADOR>'; |
|---|
| 873 | $layerXML.='</SEPARADOR>'; |
|---|
| 874 | |
|---|
| 875 | $layerXML.='<ITEM'; |
|---|
| 876 | $layerXML.=' alpulsar="consola_remota('.$AMBITO_ORDENADORES.')"'; |
|---|
| 877 | $layerXML.=' imgitem="../images/iconos/shell.gif"'; |
|---|
| 878 | $layerXML.=' textoitem='.$TbMsg[33]; |
|---|
| 879 | $layerXML.='></ITEM>'; |
|---|
| 880 | |
|---|
| 881 | $layerXML.='<ITEM'; |
|---|
| 882 | $layerXML.=' alpulsar="eco_remoto()"'; |
|---|
| 883 | $layerXML.=' imgitem="../images/iconos/ecocon.gif"'; |
|---|
| 884 | $layerXML.=' textoitem='.$TbMsg[39]; |
|---|
| 885 | $layerXML.='></ITEM>'; |
|---|
| 886 | |
|---|
| 887 | $layerXML.='<SEPARADOR>'; |
|---|
| 888 | $layerXML.='</SEPARADOR>'; |
|---|
| 889 | |
|---|
| 890 | $layerXML.='<ITEM'; |
|---|
| 891 | $layerXML.=' subflotante="flo_comandos_'.$LITAMBITO_ORDENADORES.'"'; |
|---|
| 892 | $layerXML.=' imgitem="../images/iconos/comandos.gif"'; |
|---|
| 893 | $layerXML.=' textoitem='.$TbMsg[5]; |
|---|
| 894 | $layerXML.='></ITEM>'; |
|---|
| 895 | |
|---|
| 896 | |
|---|
| 897 | $layerXML.='<ITEM'; |
|---|
| 898 | $layerXML.=' subflotante="flo_asistentes_'.$LITAMBITO_ORDENADORES.'"'; |
|---|
| 899 | $layerXML.=' imgitem="../images/iconos/comandos.gif"'; |
|---|
| 900 | $layerXML.=' textoitem='.$TbMsg[38]; |
|---|
| 901 | $layerXML.='></ITEM>'; |
|---|
| 902 | |
|---|
| 903 | |
|---|
| 904 | $layerXML.='<ITEM'; |
|---|
| 905 | $layerXML.=' alpulsar="confirmarprocedimiento('.$AMBITO_ORDENADORES.')"'; |
|---|
| 906 | $layerXML.=' imgitem="../images/iconos/procedimiento.gif"'; |
|---|
| 907 | $layerXML.=' textoitem='.$TbMsg[28]; |
|---|
| 908 | $layerXML.='></ITEM>'; |
|---|
| 909 | |
|---|
| 910 | $layerXML.='<SEPARADOR>'; |
|---|
| 911 | $layerXML.='</SEPARADOR>'; |
|---|
| 912 | |
|---|
| 913 | $layerXML.='<ITEM'; |
|---|
| 914 | $layerXML.=' alpulsar="configuraciones('.$AMBITO_ORDENADORES.')"'; |
|---|
| 915 | $layerXML.=' textoitem='.$TbMsg[10]; |
|---|
| 916 | $layerXML.=' imgitem="../images/iconos/configuraciones.gif"'; |
|---|
| 917 | $layerXML.='></ITEM>'; |
|---|
| 918 | |
|---|
| 919 | $wLeft=170; |
|---|
| 920 | $wTop=80; |
|---|
| 921 | $wWidth=480; |
|---|
| 922 | $wHeight=400; |
|---|
| 923 | $wpages="../propiedades/propiedades_ordenadores.php"; |
|---|
| 924 | $wParam=$wLeft .",".$wTop.",".$wWidth.",".$wHeight.",'". $wpages."'"; |
|---|
| 925 | $layerXML.='<ITEM'; |
|---|
| 926 | $layerXML.=' alpulsar="modificar('.$wParam.')"'; |
|---|
| 927 | |
|---|
| 928 | $layerXML.=' textoitem='.$TbMsg[13]; |
|---|
| 929 | $layerXML.=' imgitem="../images/iconos/propiedades.gif"'; |
|---|
| 930 | $layerXML.='></ITEM>'; |
|---|
| 931 | |
|---|
| 932 | $layerXML.='<ITEM'; |
|---|
| 933 | $layerXML.=' alpulsar="eliminar('.$wParam.')"'; |
|---|
| 934 | $layerXML.=' imgitem="../images/iconos/eliminar.gif"'; |
|---|
| 935 | $layerXML.=' textoitem='.$TbMsg[18]; |
|---|
| 936 | $layerXML.='></ITEM>'; |
|---|
| 937 | |
|---|
| 938 | $layerXML.='</MENUCONTEXTUAL>'; |
|---|
| 939 | return($layerXML); |
|---|
| 940 | } |
|---|
| 941 | //________________________________________________________________________________________________________ |
|---|
| 942 | function ContextualXMLComandos($litambito,$ambito){ |
|---|
| 943 | global $cmd; |
|---|
| 944 | global $TbMsg; |
|---|
| 945 | $maxlongdescri=0; |
|---|
| 946 | $rs=new Recordset; |
|---|
| 947 | $cmd->texto="SELECT idcomando,descripcion,pagina,gestor,funcion |
|---|
| 948 | FROM comandos |
|---|
| 949 | WHERE activo=1 AND aplicambito & ".$ambito.">0 |
|---|
| 950 | ORDER BY descripcion"; |
|---|
| 951 | $rs->Comando=&$cmd; |
|---|
| 952 | if ($rs->Abrir()){ |
|---|
| 953 | $layerXML=""; |
|---|
| 954 | $rs->Primero(); |
|---|
| 955 | while (!$rs->EOF){ |
|---|
| 956 | $descrip=$TbMsg["COMMAND_".$rs->campos["funcion"]]; |
|---|
| 957 | if (empty ($descrip)) { |
|---|
| 958 | $descrip=$rs->campos["funcion"]; |
|---|
| 959 | } |
|---|
| 960 | $layerXML.='<ITEM'; |
|---|
| 961 | $layerXML.=' alpulsar="confirmarcomando('."'".$ambito."'".','.$rs->campos["idcomando"].',\''.$rs->campos["descripcion"].'\',\''.$rs->campos["pagina"]. '\',\''.$rs->campos["gestor"]. '\',\''.$rs->campos["funcion"]. '\')"'; |
|---|
| 962 | $layerXML.=' textoitem="'.$descrip.'"'; |
|---|
| 963 | $layerXML.='></ITEM>'; |
|---|
| 964 | if ($maxlongdescri < strlen($descrip)) // Toma la Descripción de mayor longitud |
|---|
| 965 | $maxlongdescri=strlen($descrip); |
|---|
| 966 | $rs->Siguiente(); |
|---|
| 967 | } |
|---|
| 968 | $layerXML.='</MENUCONTEXTUAL>'; |
|---|
| 969 | $prelayerXML='<MENUCONTEXTUAL'; |
|---|
| 970 | $prelayerXML.=' idctx="flo_comandos_'.$litambito.'"'; |
|---|
| 971 | $prelayerXML.=' maxanchu='.$maxlongdescri*7; |
|---|
| 972 | $prelayerXML.=' clase="menu_contextual"'; |
|---|
| 973 | $prelayerXML.='>'; |
|---|
| 974 | $finallayerXML=$prelayerXML.$layerXML; |
|---|
| 975 | return($finallayerXML); |
|---|
| 976 | } |
|---|
| 977 | } |
|---|
| 978 | |
|---|
| 979 | |
|---|
| 980 | //________________________________________________________________________________________________________ |
|---|
| 981 | function ContextualXMLAsistentes($litambito,$ambito){ |
|---|
| 982 | global $cmd; |
|---|
| 983 | global $TbMsg; |
|---|
| 984 | $maxlongdescri=0; |
|---|
| 985 | $rs=new Recordset; |
|---|
| 986 | $cmd->texto="SELECT idcomando,descripcion,pagina,gestor,funcion |
|---|
| 987 | FROM asistentes |
|---|
| 988 | WHERE activo=1 AND aplicambito & ".$ambito.">0 |
|---|
| 989 | ORDER BY descripcion"; |
|---|
| 990 | $rs->Comando=&$cmd; |
|---|
| 991 | if ($rs->Abrir()){ |
|---|
| 992 | $layerXML=""; |
|---|
| 993 | $rs->Primero(); |
|---|
| 994 | while (!$rs->EOF){ |
|---|
| 995 | $descrip=$TbMsg["WIZARD_".$rs->campos["descripcion"]]; |
|---|
| 996 | if (empty ($descrip)) { |
|---|
| 997 | $descrip=$rs->campos["descripcion"]; |
|---|
| 998 | } |
|---|
| 999 | $layerXML.='<ITEM'; |
|---|
| 1000 | $layerXML.=' alpulsar="confirmarcomando('."'".$ambito."'".','.$rs->campos["idcomando"].',\''.$rs->campos["descripcion"].'\',\''.$rs->campos["pagina"]. '\',\''.$rs->campos["gestor"]. '\',\''.$rs->campos["funcion"]. '\')"'; |
|---|
| 1001 | $layerXML.=' textoitem="'.$descrip.'"'; |
|---|
| 1002 | $layerXML.='></ITEM>'; |
|---|
| 1003 | if($maxlongdescri<strlen($descrip)) // Toma la Descripción de mayor longitud |
|---|
| 1004 | $maxlongdescri=strlen($descrip); |
|---|
| 1005 | $rs->Siguiente(); |
|---|
| 1006 | } |
|---|
| 1007 | $layerXML.='</MENUCONTEXTUAL>'; |
|---|
| 1008 | $prelayerXML='<MENUCONTEXTUAL'; |
|---|
| 1009 | $prelayerXML.=' idctx="flo_asistentes_'.$litambito.'"'; |
|---|
| 1010 | $prelayerXML.=' maxanchu='.$maxlongdescri*7; |
|---|
| 1011 | $prelayerXML.=' clase="menu_contextual"'; |
|---|
| 1012 | $prelayerXML.='>'; |
|---|
| 1013 | $finallayerXML=$prelayerXML.$layerXML; |
|---|
| 1014 | return($finallayerXML); |
|---|
| 1015 | } |
|---|
| 1016 | } |
|---|
| 1017 | |
|---|
| 1018 | |
|---|
| 1019 | function ContextualXMLNetBoot(){ |
|---|
| 1020 | #global $TbMsg; |
|---|
| 1021 | #global $EJECUCION_COMANDO; |
|---|
| 1022 | #global $EJECUCION_TAREA; |
|---|
| 1023 | #global $EJECUCION_TRABAJO; |
|---|
| 1024 | |
|---|
| 1025 | $layerXML='<MENUCONTEXTUAL'; |
|---|
| 1026 | $layerXML.=' idctx="flo_netboot"'; |
|---|
| 1027 | $layerXML.=' maxanchu=190'; |
|---|
| 1028 | $layerXML.=' swimg=1'; |
|---|
| 1029 | $layerXML.=' clase="menu_contextual"'; |
|---|
| 1030 | $layerXML.='>'; |
|---|
| 1031 | |
|---|
| 1032 | |
|---|
| 1033 | //adv compatiblidad Gestor de arranque remoto |
|---|
| 1034 | $layerXML.='<ITEM'; |
|---|
| 1035 | $layerXML.=' alpulsar="ver_boot()"'; |
|---|
| 1036 | $layerXML.=' textoitem="NetBoot AVANZADO"'; |
|---|
| 1037 | $layerXML.=' imgitem="../images/iconos/ordenadores.gif"'; |
|---|
| 1038 | $layerXML.='></ITEM>'; |
|---|
| 1039 | //adv compatiblidad Gestor de arranque remoto |
|---|
| 1040 | //adv compatiblidad Configurador de Startpages |
|---|
| 1041 | // $layerXML.='<ITEM'; |
|---|
| 1042 | // $layerXML.=' alpulsar="ver_startpages()"'; |
|---|
| 1043 | // $layerXML.=' textoitem="Gestor Startpages"'; |
|---|
| 1044 | // $layerXML.=' imgitem="../images/iconos/ordenadores.gif"'; |
|---|
| 1045 | // $layerXML.='></ITEM>'; |
|---|
| 1046 | //adv compatiblidad Configurador de Startpages |
|---|
| 1047 | |
|---|
| 1048 | $layerXML.='</MENUCONTEXTUAL>'; |
|---|
| 1049 | return($layerXML); |
|---|
| 1050 | } |
|---|
| 1051 | |
|---|
| 1052 | ?> |
|---|