summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/includes/FiltradoAmbito.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2016-03-18 18:21:08 +0000
committerramon <ramongomez@us.es>2016-03-18 18:21:08 +0000
commit83b9c80945e61056d617d66adf5acebb6c57569b (patch)
tree971d36332d088fd3cac85ada3ee185e46017c4b1 /admin/WebConsole/comandos/includes/FiltradoAmbito.php
parente12e733c94fc30792629f709caf6979e66caa941 (diff)
#739: incluir estados de sesiĆ³n Linux y Windows en sondeo de aula y filtro de ordenadores.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4841 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/includes/FiltradoAmbito.php')
-rw-r--r--admin/WebConsole/comandos/includes/FiltradoAmbito.php32
1 files changed, 25 insertions, 7 deletions
diff --git a/admin/WebConsole/comandos/includes/FiltradoAmbito.php b/admin/WebConsole/comandos/includes/FiltradoAmbito.php
index abc42852..fbcc19f2 100644
--- a/admin/WebConsole/comandos/includes/FiltradoAmbito.php
+++ b/admin/WebConsole/comandos/includes/FiltradoAmbito.php
@@ -173,13 +173,21 @@ function RecorriendoOrdenadores($cmd)
<TD align="center">'.$TbMsg["STATUS_OPG"].'</TD>
<TD><INPUT type="checkbox" checked onclick="selector(this,3,'.$cid.')"></TD>
+</TR>
-<TD align="center">'.$TbMsg["STATUS_WXP"].'</TD>
+<TR>
+<TD align="center">'.$TbMsg["STATUS_WIN"].'</TD>
<TD><INPUT type="checkbox" checked onclick="selector(this,4,'.$cid.')"></TD>
-<TD align="center">'.$TbMsg["STATUS_LNX"].'</TD>
+<TD align="center">'.$TbMsg["STATUS_WINS"].'</TD>
<TD><INPUT type="checkbox" checked onclick="selector(this,5,'.$cid.')"></TD>
+<TD align="center">'.$TbMsg["STATUS_LNX"].'</TD>
+<TD><INPUT type="checkbox" checked onclick="selector(this,6,'.$cid.')"></TD>
+
+<TD align="center">'.$TbMsg["STATUS_LNXS"].'</TD>
+<TD><INPUT type="checkbox" checked onclick="selector(this,7,'.$cid.')"></TD>
+
</TR>
</TABLE>';
@@ -321,27 +329,37 @@ function selector(oSLCT,op,id)
switch(parseInt(op)){
case 1: // Apagados
- if(estado=="ordenador_OFF.gif")
+ if(estado=="ordenador_OFF.png")
oCHK.checked=sw;
break;
case 2: // Ocupados
- if(estado=="ordenador_BSY.gif")
+ if(estado=="ordenador_BSY.png")
oCHK.checked=sw;
break;
case 3: // Opengnsys
- if(estado=="ordenador_OPG.gif")
+ if(estado=="ordenador_OPG.png")
oCHK.checked=sw;
break;
case 4: // Windows
- if(estado=="ordenador_WXP.gif")
+ if(estado=="ordenador_WIN.png")
+ oCHK.checked=sw;
+ break;
+
+ case 5: // Windows
+ if(estado=="ordenador_WINS.png")
oCHK.checked=sw;
break;
case 5: // Linux
- if(estado=="ordenador_LNX.gif")
+ if(estado=="ordenador_LNX.png")
+ oCHK.checked=sw;
+ break;
+
+ case 7: // Linux
+ if(estado=="ordenador_LNXS.png")
oCHK.checked=sw;
break;