Changeset 133 for trunk/lib/settings.php

Show
Ignore:
Timestamp:
04/21/08 13:02:16 (7 months ago)
Author:
root
Message:

1.5.1 working beta release

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/settings.php

    r132 r133  
    3535        $alertstyle = 'color:red; background-color:#ffd;'; 
    3636        ?> 
    37 <?php   //# moved to wassup.php add_wassup_css() function 
    38         //<script type="text/javascript"> 
    39         //$(function() { 
    40         // $('#tab_container > ul').tabs({ fxFade: true, fxSpeed: 'fast' }); 
    41         //}); 
    42         //</script> ?> 
    4337        <style type="text/css"> 
    4438          h3 { margin-bottom:0px; padding-bottom:5px; color:#333; } 
    45           #wassup_opt_frag-1,#wassup_opt_frag-2,#wassup_opt_frag-3,#wassup_opt_frag-4 {  
    46                 background-color: #e6eff6;  
    47                 border-left: 1px solid #cce;  
    48                 border-right: 1px solid #cce;  
    49                 border-bottom: 1px solid #cce; 
    50           } 
    51           #tab_container ul li { min-width:60px; display:inline; } 
    5239          form p { margin-top:0px; padding-top:0px; padding-left:15px; } 
     40          #wassup_opt_frag-1 { height: 100%; margin:0;} 
     41          #wassup_opt_frag-2 { height: 100%; margin:0;} 
     42          #wassup_opt_frag-3 { height: 100%; margin:0;} 
     43          #wassup_opt_frag-4 { height: 100%; margin:0;} 
    5344        </style> 
    5445        <h2><?php _e('Options','wassup'); ?></h2> 
     
    6152        else { $tab = "0"; } ?> 
    6253        <form action="" method="post"> 
    63         <div id="tab_container"> 
    64             <ul style="clear:both;"> 
     54        <div id="tabcontainer"> 
     55            <ul> 
    6556                <li><a href="#wassup_opt_frag-1"><span><?php _e("General Setup", "wassup") ?></span></a></li> 
    6657                <li<?php if ($tab == "2"  || isset($_POST['submit-options2'])) { echo ' class="ui-tabs-selected"';} ?>><a href="#wassup_opt_frag-2"><span><?php _e("Statistics Recording", "wassup") ?></span></a></li> 
     
    7061 
    7162           <div id="wassup_opt_frag-1"> 
    72                 <br /><h3><?php _e('Your default screen resolution (browser width)','wassup'); ?></h3> 
     63                <h3><?php _e('Your default screen resolution (browser width)','wassup'); ?></h3> 
    7364                <p><strong><?php _e('Default screen resolution (in pixels)','wassup'); ?></strong>: 
    7465                <select name='wassup_screen_res' style="width: 90px;"> 
     
    10495                //TODO: Make Top 10 Customizable with up to 10 choices 
    10596                $top_ten = unserialize($wassup_options->wassup_top10); 
    106                 print_r($top_ten); 
    10797                ?> 
    10898                <br /><h3><?php _e('Customize Top Ten List','wassup'); ?></h3> 
     
    131121 
    132122           <div id="wassup_opt_frag-2"> 
    133                 <br /><h3><?php _e('Statistics Recording Settings','wassup'); ?></h3> 
     123                <h3><?php _e('Statistics Recording Settings','wassup'); ?></h3> 
    134124                <p> <input type="checkbox" name="wassup_active" value="1" <?php if($wassup_options->wassup_active == 1) print "CHECKED"; ?> /> <strong><?php _e('Enable/Disable Recording','wassup'); ?></strong></p> 
    135125                <p style="margin-top:5px;"> <strong> <?php _e("Checkbox to record statistics for each type of \"visitor\"", "wassup") ?></strong><br /> 
     
    157147           </div> 
    158148         
    159            <div id="wassup_opt_frag-3"><br /> 
     149           <div id="wassup_opt_frag-3"> 
    160150           <h3><?php _e('Temporary files location folder','wassup'); ?></h3> 
    161151                <p><?php echo '<strong>'.__('Current "Save path" directory for storing temporary files used to track visitor activity','wassup').'</strong>:<br />'; 
     
    214204           </div> 
    215205         
    216            <div id="wassup_opt_frag-4"><br /> 
     206           <div id="wassup_opt_frag-4">i 
    217207                <h3><?php _e('Want to uninstall WassUp?', 'wassup') ;?></h3> 
    218208                <p><?php _e('No problem. Before you deactivate this plugin, check the box below to cleanup any data that was collected by WassUp that could be left behind.', 'wassup') ;?></p><br />