Changeset 5310

Show
Ignore:
Timestamp:
11/27/07 18:58:05 (1 year ago)
Author:
p_lindheimer
Message:

#2365 don't make readonly disk devices red when 100%

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/dashboard/module.xml

    r5272 r5310  
    1818        </depends> 
    1919        <changelog> 
     20                *0.3.3.3* #2365 don't make readonly disk devices red when 100% 
    2021                *0.3.3.2* #2469 fix division my zero in cpu usage 
    2122                *0.3.3.1* Cosmetic fix (#2278 - long mount point paths) 
  • modules/branches/2.4/dashboard/page.index.php

    r4888 r5310  
    194194        $out .= "<h4>"._("Disks")."</h4>"; 
    195195        foreach ($sysinfo->filesystems() as $fs) { 
    196                 $out .= draw_graph($fs["mount"], "GB", number_format($fs["used"]/1024/1024, 2), $fs["size"]/1024/1024); 
     196                $out .= draw_graph($fs["mount"], "GB", number_format($fs["used"]/1024/1024, 2), $fs["size"]/1024/1024, strpos( $fs["options"],"ro" )!==false ? array(0=>"graphok"):null); 
    197197        } 
    198198