summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/pintaParticiones.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2015-08-10 11:28:56 +0000
committerramon <ramongomez@us.es>2015-08-10 11:28:56 +0000
commit6b530716c03e9c37a3123407e6dfa8857af0d8a7 (patch)
tree97e40ff3329ec9c705431529f75de5dbcd5e89ff /admin/WebConsole/includes/pintaParticiones.php
parent4454169b9cbc4e9ec7d14cdacfa8a335ed37aee2 (diff)
#711: Mostrar porcentaje de uso del sistema de archivos al poner el cursor sobre el tamaño de su partición.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4669 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/includes/pintaParticiones.php')
-rw-r--r--admin/WebConsole/includes/pintaParticiones.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/admin/WebConsole/includes/pintaParticiones.php b/admin/WebConsole/includes/pintaParticiones.php
index 8a783d3d..be412c74 100644
--- a/admin/WebConsole/includes/pintaParticiones.php
+++ b/admin/WebConsole/includes/pintaParticiones.php
@@ -109,9 +109,11 @@ 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);
-
- echo'<td style="text-align:right; background-image:url(../images/flotantes/lsu.gif); background-size:'.$tbKeys[$k]["uso"].'% 100%; background-repeat:no-repeat">&nbsp;'.tomaTamano($tbKeys[$k]["numpar"],$idordenadores,$tbKeys[$k]["numdisk"]).'&nbsp;</td>'.chr(13);
-
+ if ($tbKeys[$k]["uso"] > 0) {
+ 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);
+ }
echo'<td align="center">&nbsp;'.tomaImagenes($tbKeys[$k]["numpar"],$idordenadores,$tbKeys[$k]["numdisk"]).'&nbsp;</td>'.chr(13);
echo'<td align="center">&nbsp;'.tomaPerfiles($tbKeys[$k]["numpar"],$idordenadores,$tbKeys[$k]["numdisk"]).'&nbsp;</td>'.chr(13);