diff options
author | ramon <ramongomez@us.es> | 2015-04-20 10:56:54 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2015-04-20 10:56:54 +0000 |
commit | 1a2fa9d82bafd3ef8e0d703bf715fe3e58853d0d (patch) | |
tree | 1e008f200ff4b413d0807eee03df75ef42f39fab /admin/WebConsole/includes/pintaParticiones.php | |
parent | c916af9faafcd8fa120aeaf9092c0847aa09183a (diff) |
#673: Actualizar código incluido en OepnGnSys 1.0.6 sobre la rama {{{version1.1}}} para desarrollar la nueva versión.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4609 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/includes/pintaParticiones.php')
-rw-r--r-- | admin/WebConsole/includes/pintaParticiones.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/admin/WebConsole/includes/pintaParticiones.php b/admin/WebConsole/includes/pintaParticiones.php index 2ef909e6..90dff53f 100644 --- a/admin/WebConsole/includes/pintaParticiones.php +++ b/admin/WebConsole/includes/pintaParticiones.php @@ -123,7 +123,11 @@ function pintaParticiones($cmd,$configuraciones,$idordenadores,$cc) $numero=1; for ($x=0;$x<count($ima); $x++) { if(substr($ima[$x],-3)==".MB") { - echo '<strong>'.$TbMsg["CACHE_FREESPACE"].': '.$ima[$x].'</strong>'; + if ( $ima[$x] == "0.MB" ){ + echo '<font color=red><strong>'.$TbMsg["CACHE_COMPLETE"].': '.$ima[$x].'</strong></font>'; + }else{ + echo '<strong>'.$TbMsg["CACHE_FREESPACE"].': '.$ima[$x].'</strong>'; + } }elseif (! empty($ima[1])){ // $dir=is_dir('$ima');echo $dir; // if ($ima == "directorio"){$dir="si";} |