Changeset 136 for trunk/lib/settings.php

Show
Ignore:
Timestamp:
04/22/08 11:25:27 (7 months ago)
Author:
root
Message:

1.5.1 almost ready

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/settings.php

    r134 r136  
    3838          h3 { margin-bottom:0px; padding-bottom:5px; color:#333; } 
    3939          form p { margin-top:0px; padding-top:0px; padding-left:15px; } 
     40        <?php if (version_compare($wp_version, '2.5', '<')) { ?> 
     41          #wassup_opt_frag-1, #wassup_opt_frag-2,  
     42          #wassup_opt_frag-3, #wassup_opt_frag-4 {  
     43                background-color: #e6eff6;  
     44                border-left: 1px solid #cce;  
     45                border-right: 1px solid #cce;  
     46                border-bottom: 1px solid #cce; 
     47                font-size: 85%; 
     48          } 
     49          #tab_container { list-style:none; } 
     50          #tab_container ul li { min-width:60px; display:inline;} 
     51          #tab_container ul li a span { font-size: 105%; } 
     52        <?php } else { ?> 
    4053          #wassup_opt_frag-1 { height: 100%; margin:0;} 
    4154          #wassup_opt_frag-2 { height: 100%; margin:0;} 
    4255          #wassup_opt_frag-3 { height: 100%; margin:0;} 
    4356          #wassup_opt_frag-4 { height: 100%; margin:0;} 
     57        <?php } //end if version_compare ?> 
    4458        </style> 
    4559        <h2><?php _e('Options','wassup'); ?></h2> 
     
    7185                <?php $wassup_options->showFormOptions("wassup_userlevel"); ?> 
    7286                </select></p><br /> 
     87 
     88                <br /><h3><?php _e('Dashboard Settings','wassup'); ?></h3> 
     89                <p><input type="checkbox" name="wassup_dashboard_chart" value="1" <?php if($wassup_options->wassup_dashboard_chart == 1) print "CHECKED"; ?> /> <strong><?php _e('Display small chart in the dashboard','wassup'); ?></strong> 
     90                </p><br /> 
    7391 
    7492                <br /><h3><?php _e('Visit Detail Settings','wassup'); ?></h3>