Changeset 526 for trunk/admin/common.php


Ignore:
Timestamp:
2008-02-18T14:28:31+01:00 (7 years ago)
Author:
moo
Message:

allow user decide to show used or free blocks/percent

File:
1 edited

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?>
Note: See TracChangeset for help on using the changeset viewer.