WordPress.org

Plugin Directory

Changeset 499559


Ignore:
Timestamp:
02/03/12 05:43:00 (2 years ago)
Author:
taylorde
Message:

0.3.3 release

Location:
tdd-progress-bar
Files:
13 added
4 edited

Legend:

Unmodified
Added
Removed
  • tdd-progress-bar/trunk/css/default.css

    r491737 r499559  
    3030} 
    3131 
    32 .td_pb_race .td_pb_orange { 
     32.tdd_pb_race .tdd_pb_orange { 
    3333    background-position: 0px -62px; 
    3434} 
    3535 
    36 .td_pb_yellow { 
     36.tdd_pb_yellow { 
    3737    background-position: 0px -100px; 
    3838} 
    3939 
    40 .td_pb_race .td_pb_yellow { 
     40.tdd_pb_race .tdd_pb_yellow { 
    4141    background-position: 0px -112px; 
    4242} 
    4343 
    44 .td_pb_green { 
     44.tdd_pb_green { 
    4545    background-position: 0px -150px; 
    4646} 
    4747 
    48 .td_pb_race .td_pb_green { 
     48.tdd_pb_race .tdd_pb_green { 
    4949    background-position: 0px -162px; 
    5050} 
    5151 
    52 .td_pb_teal { 
     52.tdd_pb_teal { 
    5353    background-position: 0px -200px; 
    5454} 
    5555 
    56 .td_pb_race .td_pb_teal { 
     56.tdd_pb_race .tdd_pb_teal { 
    5757    background-position: 0px -212px; 
    5858} 
    5959 
    60 .td_pb_lightblue { 
     60.tdd_pb_lightblue { 
    6161    background-position: 0px -250px; 
    6262} 
    6363 
    64 .td_pb_race .td_pb_lightblue { 
     64.tdd_pb_race .tdd_pb_lightblue { 
    6565    background-position: 0px -262px; 
    6666} 
    6767 
    68 .td_pb_blue { 
     68.tdd_pb_blue { 
    6969    background-position: 0px -300px; 
    7070} 
    7171 
    72 .td_pb_race .td_pb_blue { 
     72.tdd_pb_race .tdd_pb_blue { 
    7373    background-position: 0px -312px; 
    7474} 
    7575 
    76 .td_pb_purple { 
     76.tdd_pb_purple { 
    7777    background-position: 0px -350px; 
    7878} 
    7979 
    80 .td_pb_race .td_pb_purple { 
     80.tdd_pb_race .tdd_pb_purple { 
    8181    background-position: 0px -362px; 
    8282} 
    8383 
    84 .td_pb_fuchsia { 
     84.tdd_pb_fuchsia { 
    8585    background-position: 0px -400px; 
    8686} 
    8787 
    88 .td_pb_race .td_pb_fuchsia { 
     88.tdd_pb_race .tdd_pb_fuchsia { 
    8989    background-position: 0px -415px; 
    9090} 
    9191 
    92 .td_pb_strawberry { 
     92.tdd_pb_strawberry { 
    9393    background-position: 0px -450px; 
    9494} 
    9595 
    96 .td_pb_race .td_pb_strawberry { 
     96.tdd_pb_race .tdd_pb_strawberry { 
    9797    background-position: 0px -465px; 
    9898} 
    9999 
    100 .td_pb_black { 
     100.tdd_pb_black { 
    101101    background-position: 0px -500px; 
    102102} 
    103103 
    104 .td_pb_race .td_pb_black { 
     104.tdd_pb_race .tdd_pb_black { 
    105105    background-position: 0px -515px; 
    106106} 
    107107 
    108 .td_pb_silver { 
     108.tdd_pb_silver { 
    109109    background-position: 0px -550px; 
    110110} 
    111111 
    112 .td_pb_race .td_pb_silver { 
     112.tdd_pb_race .tdd_pb_silver { 
    113113    background-position: 0px -565px; 
    114114} 
     
    127127} 
    128128 
    129 .td_pb_race .tdd_pb_bar_container { 
     129.tdd_pb_race .tdd_pb_bar_container { 
    130130    height: 25px; 
    131131} 
    132132 
    133 .td_pb_race .tdd_pb_bar_container .td_pb_numbers { 
     133.tdd_pb_race .tdd_pb_bar_container .tdd_pb_numbers { 
    134134    font-size: 15px; 
    135135    margin-top: 4px; 
    136136} 
    137137 
    138 .td_pb_numbers { 
     138.tdd_pb_numbers { 
    139139    text-shadow: -1px -1px 1px #000; 
    140140    font-size: 30px; 
  • tdd-progress-bar/trunk/inc/admin.php

    r491108 r499559  
    3737    <table class="form-table"> 
    3838        <tr valign="top"> 
    39             <th scope="row"><label for="td_pb_color">Bar Color</label></th> 
     39            <th scope="row"><label for="tdd_pb_color">Bar Color</label></th> 
    4040            <td><select name="tdd_pb_color"> 
    4141                <?php global $colors; ?> 
     
    103103            echo tdd_pb_get_bars( array(  
    104104                'ids' => array( $post->ID ), 
    105                 'class' => 'td_pb_race', 
     105                'class' => 'tdd_pb_race', 
    106106            ) ); 
    107107 
  • tdd-progress-bar/trunk/readme.txt

    r499505 r499559  
    55Requires at least: 3.2.1 
    66Tested up to: 3.3.1 
    7 Stable tag: 0.3.2 
     7Stable tag: 0.3.3 
    88 
    99Configure and display any number of percent-complete progress bars. 
     
    4444 
    4545== Changelog == 
     46 
     47= 0.3.3 = 
     48* Fixed: Some CSS classes were malformed causing the wrong color progress bar to display. 
    4649 
    4750= 0.3.2 = 
  • tdd-progress-bar/trunk/tdd-progress-bar.php

    r499508 r499559  
    44Plugin URI: http://github.com/tddewey/tdd-progress 
    55Description: Manage and display progress bars 
    6 Version: 0.3.2 
     6Version: 0.3.3 
    77Author: Taylor D. Dewey 
    88Author URI: http://websitesthatdontsuck.com 
     
    213213        'width' => 'auto', 
    214214        'class' => '', 
    215         'default_color' => 'td_pb_red', 
     215        'default_color' => 'tdd_pb_red', 
    216216        ); 
    217217 
     
    227227 
    228228    //count if this is a race (more than one progress bar being displayed. The race format can also be forced by passing "race" in the $class argument) 
    229     $race = ( count( $idsarr ) > 1 ) ? 'td_pb_race' : ''; 
     229    $race = ( count( $idsarr ) > 1 ) ? 'tdd_pb_race' : ''; 
    230230 
    231231    //Set up our global container 
     
    257257        $color = strip_tags( get_post_meta( get_the_ID(), '_tdd_pb_color', true ) ); 
    258258        //if no color, define a default 
    259         $color = (!$color) ? $args['default_color'] : 'td_pb_'.$color; 
     259        $color = (!$color) ? $args['default_color'] : 'tdd_pb_'.$color; 
    260260        $return .= '<div title="'.get_the_title() .': '.$percentage.'%" class="tdd_pb_bar_container" style="background-color: #'. $tdd_pb_options["bar_background_color"] .'" role="progressbar" aria-valuenow="'.$percentage.'" aria-valuemax="100" aria-valuemin="0">'; 
    261261        if ($tdd_pb_options['display_percentage']){ 
    262             $return .= '<div class="td_pb_numbers" style="color: #'.$tdd_pb_options["percentage_color"].'">'. $percentage .'%</div>'; 
     262            $return .= '<div class="tdd_pb_numbers" style="color: #'.$tdd_pb_options["percentage_color"].'">'. $percentage .'%</div>'; 
    263263        } 
    264264        $return .= '<div class="tdd_pb_bar '. $color .'" style="width:'. $percentage .'%"></div></div>'; 
Note: See TracChangeset for help on using the changeset viewer.