Changeset 526 for trunk/admin/common.php

Show
Ignore:
Timestamp:
02/18/2008 01:28:31 PM (10 months ago)
Author:
moo
Message:

allow user decide to show used or free blocks/percent

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/common.php

    r517 r526  
    109109    $lang = 'en-us'; 
    110110} 
    111 if (!isset($free_graph_width)) { 
    112     $free_graph_width = 120; 
     111if (!isset($usage_graph_width) && !isset($free_graph_width)) { 
     112    $usage_graph_width = 120; 
    113113} 
     114$graph_width = isset($free_graph_width) ? $free_graph_width : $usage_graph_width; 
    114115 
    115116?>