summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2015-08-13 10:16:29 +0000
committerramon <ramongomez@us.es>2015-08-13 10:16:29 +0000
commit965ac11d950c0ded527bdd824a7ae2ebd3ab6d63 (patch)
treed2db67bb43a921b54109de39dabe382f5869e650 /admin/WebConsole/includes
parent6b530716c03e9c37a3123407e6dfa8857af0d8a7 (diff)
#711: Solo mostrar porcentaje de uso si los clientes no están agrupados, para evitar las diferencias entre los miembros del grupo.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4670 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/includes')
-rw-r--r--admin/WebConsole/includes/pintaParticiones.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/WebConsole/includes/pintaParticiones.php b/admin/WebConsole/includes/pintaParticiones.php
index be412c74..c209fffb 100644
--- a/admin/WebConsole/includes/pintaParticiones.php
+++ b/admin/WebConsole/includes/pintaParticiones.php
@@ -109,7 +109,8 @@ function pintaParticiones($cmd,$configuraciones,$idordenadores,$cc)
echo'<td align="center">&nbsp;'.$filesys.'&nbsp;</td>'.chr(13);
echo '<td align="center">&nbsp;'.tomaNombresSO($tbKeys[$k]["numpar"],$idordenadores,$tbKeys[$k]["numdisk"]).'&nbsp;</td>'.chr(13);
- if ($tbKeys[$k]["uso"] > 0) {
+ // Mostrar uso solo en clientes individuales.
+ if ($tbKeys[$k]["uso"] > 0 and strpos($idordenadores, ',') === false) {
echo'<td style="text-align:right; background-image:url(../images/flotantes/lsu.gif); background-size:'.$tbKeys[$k]["uso"].'% 100%; background-repeat:no-repeat"><a title="'.$TbMsg["USAGE"].': '.$tbKeys[$k]["uso"].'%">&nbsp;'.tomaTamano($tbKeys[$k]["numpar"],$idordenadores,$tbKeys[$k]["numdisk"]).'&nbsp;</a></td>'.chr(13);
} else {
echo'<td style="text-align:right">&nbsp;'.tomaTamano($tbKeys[$k]["numpar"],$idordenadores,$tbKeys[$k]["numdisk"]).'&nbsp;</td>'.chr(13);