Changeset 392519
- Timestamp:
- 06/02/2011 09:26:04 PM (15 years ago)
- Location:
- google-1-widget/trunk
- Files:
-
- 4 edited
-
index.html (modified) (1 diff)
-
plusone.html (modified) (1 diff)
-
plusone.php (modified) (5 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
google-1-widget/trunk/index.html
r392506 r392519 9 9 <h1>Google +1 WordPress Widget <g:plusone></g:plusone></h1> 10 10 <p>Google +1 WordPress widget adds a configurable Google +1 Button to your WordPress blog.</p> 11 <h4>Version 1. 0.0</h4>11 <h4>Version 1.1.0</h4> 12 12 <p>You can set the title, alignment, size and background of the +1 button. Simply install the plugin and place the widget.</p> 13 13 -
google-1-widget/trunk/plusone.html
r392506 r392519 9 9 <h1>Google +1 WordPress Widget <g:plusone></g:plusone></h1> 10 10 <p>Google +1 WordPress widget adds a configurable Google +1 Button to your WordPress blog.</p> 11 <h4>Version 1. 0.0</h4>11 <h4>Version 1.1.0</h4> 12 12 <p>You can set the title, alignment, size and background of the +1 button. Simply install the plugin and place the widget.</p> 13 13 -
google-1-widget/trunk/plusone.php
r392506 r392519 4 4 Plugin URI: http://www.yatko.com/dev/widgets/wordpress/googleplusone/ 5 5 Description: 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. 0.06 Version: 1.1.0 7 7 Author: Yatko 8 8 Author URI: http://www.yatko.com … … 96 96 /* Strip tags for title and name to remove HTML (important for text inputs). */ 97 97 $instance['title'] = strip_tags( $new_instance['title'] ); 98 $instance['plusone_Size'] = strip_tags( $new_instance['plusone_ ID'] );98 $instance['plusone_Size'] = strip_tags( $new_instance['plusone_Size'] ); 99 99 $instance['plusone_Align'] = strip_tags( $new_instance['plusone_Align'] ); 100 100 $instance['plusone_BGColor'] = strip_tags( $new_instance['plusone_BGColor'] ); … … 109 109 110 110 /* Set up default widget settings. */ 111 $defaults = array( 'title' => __(' plusone', 'plusone'), 'plusone_Size' => __('0', 'plusone'), 'plusone_Align' => __('center', 'plusone'), 'plusone_BGColor' => __('transparent', 'plusone'));111 $defaults = array( 'title' => __('Google +1', 'plusone'), 'plusone_Size' => __('0', 'plusone'), 'plusone_Align' => __('center', 'plusone'), 'plusone_BGColor' => __('transparent', 'plusone')); 112 112 $instance = wp_parse_args( (array) $instance, $defaults ); ?> 113 113 … … 118 118 </p> 119 119 120 <!-- plusone Size: Text Input-->120 <!-- plusone Size: Select Box --> 121 121 <p> 122 <label for="<?php echo $this->get_field_id( 'plusone_Size' ); ?>"><?php _e('+1 Size:', '0'); ?></label> 123 <input id="<?php echo $this->get_field_id( 'plusone_Size' ); ?>" name="<?php echo $this->get_field_name( 'plusone_Size' ); ?>" value="<?php echo $instance['plusone_Size']; ?>" style="width:100%;" /> 122 <label for="<?php echo $this->get_field_id( 'plusone_Size' ); ?>"><?php _e('+1 Size:', 'medium'); ?></label> 123 <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 ( 'tall' == $instance['format'] ) echo 'selected="selected"'; ?>>tall</option> 127 </select> 124 128 </p> 125 129 … … 127 131 <p> 128 132 <label for="<?php echo $this->get_field_id( 'plusone_Align' ); ?>"><?php _e('Align:', 'center'); ?></label> 129 <select id="<?php echo $this->get_field_id( 'plusone_Align' ); ?>" name="<?php echo $this->get_field_name( 'plusone_Align' ); ?>" class=" widefat" style="width:100%;">133 <select id="<?php echo $this->get_field_id( 'plusone_Align' ); ?>" name="<?php echo $this->get_field_name( 'plusone_Align' ); ?>" class="plusOneSelect" style="width:100%;"> 130 134 <option <?php if ( 'center' == $instance['format'] ) echo 'selected="selected"'; ?>>center</option> 131 135 <option <?php if ( 'left' == $instance['format'] ) echo 'selected="selected"'; ?>>left</option> -
google-1-widget/trunk/readme.txt
r392506 r392519 1 === +1 Button ===1 === Google +1 Button === 2 2 Contributors: Yatko 3 3 Donate link: http://www.yatko.com/ … … 5 5 Requires at least: 2.0.2 6 6 Tested up to: 3.1.3 7 Stable tag: 1. 0.07 Stable tag: 1.1.0 8 8 9 9 Google +1 WordPress widget adds a configurable Google +1 Button to your WordPress blog … … 28 28 29 29 == Changelog == 30 = 1.1.0 = 31 * changed: +1 size select box 32 * fixed: +1 button size not changing 30 33 31 34 = 1.0.0 =
Note: See TracChangeset
for help on using the changeset viewer.