Plugin Directory

Changeset 392551


Ignore:
Timestamp:
06/02/2011 10:45:38 PM (15 years ago)
Author:
Yatko
Message:

fixed bugs:
+1 button size selector reset to small
+1 button align selector reset to center

Location:
google-1-widget/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • google-1-widget/trunk/index.html

    r392541 r392551  
    99    <h1>Google +1 WordPress Widget <g:plusone></g:plusone></h1>
    1010    <p>Google +1 WordPress widget adds a configurable Google +1 Button to your WordPress blog.</p>
    11     <h4>Version 1.1.1</h4>
     11    <h4>Version 1.2.0</h4>
    1212    <p>You can set the title, alignment, size and background of the +1 button. Simply install the plugin and place the widget.</p>
    1313
  • google-1-widget/trunk/plusone.html

    r392541 r392551  
    99    <h1>Google +1 WordPress Widget <g:plusone></g:plusone></h1>
    1010    <p>Google +1 WordPress widget adds a configurable Google +1 Button to your WordPress blog.</p>
    11     <h4>Version 1.1.1</h4>
     11    <h4>Version 1.2.0</h4>
    1212    <p>You can set the title, alignment, size and background of the +1 button. Simply install the plugin and place the widget.</p>
    1313
  • google-1-widget/trunk/plusone.php

    r392538 r392551  
    44Plugin URI: http://www.yatko.com/dev/widgets/wordpress/googleplusone/
    55Description: Google +1 WordPress widget adds a configurable Google +1 Button to your WordPress blog. You can set the title, alignment, size and background of the +1 button. Simply install the plugin and place the widget. Visit http://www.yatko.com/dev/widgets/wordpress/googleplusone/
    6 Version: 1.1.1
     6Version: 1.2.0
    77Author: Yatko
    88Author URI: http://www.yatko.com
     
    122122            <label for="<?php echo $this->get_field_id( 'plusone_Size' ); ?>"><?php _e('+1 Size:', 'standard'); ?></label>
    123123            <select id="<?php echo $this->get_field_id( 'plusone_Size' ); ?>" name="<?php echo $this->get_field_name( 'plusone_Size' ); ?>" class="plusOneSelect" style="width:100%;">
    124                 <option <?php if ( 'small' == $instance['format'] ) echo 'selected="selected"'; ?>>small</option>
    125                 <option <?php if ( 'medium' == $instance['format'] ) echo 'selected="selected"'; ?>>medium</option>
    126                 <option <?php if ( 'standard' == $instance['format'] ) echo 'selected="selected"'; ?>>standard</option>
    127                 <option <?php if ( 'tall' == $instance['format'] ) echo 'selected="selected"'; ?>>tall</option>
     124                <option <?php if ( 'small' == $instance['plusone_Size'] ) echo 'selected="selected"'; ?>>small</option>
     125                <option <?php if ( 'medium' == $instance['plusone_Size'] ) echo 'selected="selected"'; ?>>medium</option>
     126                <option <?php if ( 'standard' == $instance['plusone_Size'] ) echo 'selected="selected"'; ?>>standard</option>
     127                <option <?php if ( 'tall' == $instance['plusone_Size'] ) echo 'selected="selected"'; ?>>tall</option>
    128128            </select>
    129129        </p>
     
    133133            <label for="<?php echo $this->get_field_id( 'plusone_Align' ); ?>"><?php _e('Align:', 'center'); ?></label>
    134134            <select id="<?php echo $this->get_field_id( 'plusone_Align' ); ?>" name="<?php echo $this->get_field_name( 'plusone_Align' ); ?>" class="plusOneSelect" style="width:100%;">
    135                 <option <?php if ( 'center' == $instance['format'] ) echo 'selected="selected"'; ?>>center</option>
    136                 <option <?php if ( 'left' == $instance['format'] ) echo 'selected="selected"'; ?>>left</option>
    137                 <option <?php if ( 'right' == $instance['format'] ) echo 'selected="selected"'; ?>>right</option>
     135                <option <?php if ( 'center' == $instance['plusone_Align'] ) echo 'selected="selected"'; ?>>center</option>
     136                <option <?php if ( 'left' == $instance['plusone_Align'] ) echo 'selected="selected"'; ?>>left</option>
     137                <option <?php if ( 'right' == $instance['plusone_Align'] ) echo 'selected="selected"'; ?>>right</option>
    138138            </select>
    139139        </p>
  • google-1-widget/trunk/readme.txt

    r392538 r392551  
    55Requires at least: 2.0.2
    66Tested up to: 3.1.3
    7 Stable tag: 1.1.1
     7Stable tag: 1.2.0
    88
    99Google +1 WordPress widget adds a configurable Google +1 Button to your WordPress blog
     
    2828
    2929== Changelog ==
     30= 1.2.0 =
     31* fixed: +1 button size selector reset to small
     32* fixed: +1 button align selector reset to center
     33
    3034= 1.1.1 =
    3135* fixed: standard +1 button missing
Note: See TracChangeset for help on using the changeset viewer.