summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/includes
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-06-13 10:07:07 +0000
committerramon <ramongomez@us.es>2012-06-13 10:07:07 +0000
commitc65587cf2ab476ffd89525a0d2b015863b8970f8 (patch)
tree42a8bebbcabb70a26e4053d81acf989a4f7a387c /admin/WebConsole/comandos/includes
parentc76414ec3497682ce1bfb60dd532f50d8c861a15 (diff)
Versión 1.0.4, #505: Internacionalización de mensajes de estado.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3190 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/includes')
-rw-r--r--admin/WebConsole/comandos/includes/FiltradoAmbito.php45
1 files changed, 23 insertions, 22 deletions
diff --git a/admin/WebConsole/comandos/includes/FiltradoAmbito.php b/admin/WebConsole/comandos/includes/FiltradoAmbito.php
index 2e16c9f9..3b6ad287 100644
--- a/admin/WebConsole/comandos/includes/FiltradoAmbito.php
+++ b/admin/WebConsole/comandos/includes/FiltradoAmbito.php
@@ -1,4 +1,4 @@
-<?
+<?php
// ******************************************************************************************************************
// Aplicación WEB: ogAdmWebCon
// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
@@ -11,6 +11,8 @@
//
// ********************************************************************************************************************
//
+include_once("../idiomas/php/".$idioma."/estados_".$idioma.".php");
+
$cadenaip="";
$cid=0; // Identificadores para tablas de ordenadores
switch($ambito)
@@ -159,28 +161,27 @@ function RecorriendoOrdenadores($cmd)
$htmlCode="";
$con=0;
- $htmlCode.='<TABLE border=0 class="tabla_busquedas" align=center>';
- $htmlCode.='<TR>';
-
- $htmlCode.='<TD align="center">Apagados</TD>';
- $htmlCode.='<TD><INPUT type="checkbox" checked onclick="selector(this,1,'.$cid.')"></TD>';
-
- $htmlCode.='<TD align="center">Ocupados</TD>';
- $htmlCode.='<TD><INPUT type="checkbox" checked onclick="selector(this,2,'.$cid.')"></TD>';
-
-
- $htmlCode.='<TD align="center">Opengnsys</TD>';
- $htmlCode.='<TD><INPUT type="checkbox" checked onclick="selector(this,3,'.$cid.')"></TD>';
-
- $htmlCode.='<TD align="center">Windows</TD>';
- $htmlCode.='<TD><INPUT type="checkbox" checked onclick="selector(this,4,'.$cid.')"></TD>';
-
-
- $htmlCode.='<TD align="center">Linux</TD>';
- $htmlCode.='<TD><INPUT type="checkbox" checked onclick="selector(this,5,'.$cid.')"></TD>';
+ $htmlCode.='
+<TABLE border=0 class="tabla_busquedas" align=center>
+<TR>
+
+<TD align="center">'.$TbMsg["STATUS_OFF"].'</TD>
+<TD><INPUT type="checkbox" checked onclick="selector(this,1,'.$cid.')"></TD>
- $htmlCode.='</TR>';
- $htmlCode.='</TABLE>';
+<TD align="center">'.$TbMsg["STATUS_BSY"].'</TD>
+<TD><INPUT type="checkbox" checked onclick="selector(this,2,'.$cid.')"></TD>
+
+<TD align="center">'.$TbMsg["STATUS_OPG"].'</TD>
+<TD><INPUT type="checkbox" checked onclick="selector(this,3,'.$cid.')"></TD>
+
+<TD align="center">'.$TbMsg["STATUS_WXP"].'</TD>
+<TD><INPUT type="checkbox" checked onclick="selector(this,4,'.$cid.')"></TD>
+
+<TD align="center">'.$TbMsg["STATUS_LNX"].'</TD>
+<TD><INPUT type="checkbox" checked onclick="selector(this,5,'.$cid.')"></TD>
+
+</TR>
+</TABLE>';
$htmlCode.='<BR>';
$htmlCode.='<TABLE id="tbo-'.$cid.'" border=0 align=center>';