Changeset 490

Show
Ignore:
Timestamp:
2008-07-18 12:39:55 (4 months ago)
Author:
tdb01r
Message:
  • Added hidden "width" and "height" options to charts
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/www/html/include/chart.php

    r440 r490  
    1010        $archives = get_archives('live'); 
    1111 
    12         $width = 800
    13         $height = 300
     12        $width = get_numeric_param( "width", 800, 50, 2000 )
     13        $height = get_numeric_param( "height", 300, 50, 2000 )
    1414 
    1515        $graph = new Graph($width, $height, 'roar'); 
     
    9292        $archives = get_archives('live'); 
    9393 
    94         $width = 800
    95         $height = 300
     94        $width = get_numeric_param( "width", 800, 50, 2000 )
     95        $height = get_numeric_param( "height", 300, 50, 2000 )
    9696        $max = 10; 
    9797 
     
    241241        $archives = get_archives('live'); 
    242242 
    243         $width = 800
    244         $height = 300
     243        $width = get_numeric_param( "width", 800, 50, 2000 )
     244        $height = get_numeric_param( "height", 300, 50, 2000 )
    245245 
    246246        $graph = new PieGraph($width, $height, 'roar'); 
  • trunk/www/html/include/roar_api.php

    r489 r490  
    2424include("config.php"); 
    2525 
     26include("cgi.php"); 
    2627include("ldap.php"); 
    2728include("detect.php");