Changeset 691812
- Timestamp:
- 04/04/2013 09:02:44 PM (13 years ago)
- Location:
- widget-embed-lastest-tweets
- Files:
-
- 4 edited
- 4 copied
-
tags/0.4.1 (copied) (copied from widget-embed-lastest-tweets/trunk)
-
tags/0.4.1/js (copied) (copied from widget-embed-lastest-tweets/trunk/js)
-
tags/0.4.1/readme.txt (copied) (copied from widget-embed-lastest-tweets/trunk/readme.txt) (3 diffs)
-
tags/0.4.1/welt-option.php (modified) (2 diffs)
-
tags/0.4.1/widget-embed-latest-tweets.php (copied) (copied from widget-embed-lastest-tweets/trunk/widget-embed-latest-tweets.php) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/welt-option.php (modified) (2 diffs)
-
trunk/widget-embed-latest-tweets.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
widget-embed-lastest-tweets/tags/0.4.1/readme.txt
r668718 r691812 9 9 10 10 A Widget to show your latest Tweets. 11 Visit the option page "Plugins->Widget Embed La st Plugin" to authentify yourself11 Visit the option page "Plugins->Widget Embed Latest Tweet" to authentify yourself 12 12 13 13 … … 17 17 18 18 This plugin uses the Twitter API version 1.1. You have to authentify yourself ! 19 Visit the option page "Plugins->Widget Embed La st Plugin" to do so.19 Visit the option page "Plugins->Widget Embed Latest Tweet" to do so. 20 20 21 21 Options : … … 59 59 60 60 == Changelog == 61 62 = 0.4.1 = 63 64 * Add 'exclude_replies' option 65 * typo fixes 61 66 62 67 = 0.4 = -
widget-embed-lastest-tweets/tags/0.4.1/welt-option.php
r624528 r691812 64 64 <h4><?php _e('Why', 'ab-welt-locales'); ?> ?</h4> 65 65 <p> 66 <?php _e(' In order to avoid the Twitter\'s API limitation from anonymous request.', 'ab-welt-locales'); ?>66 <?php _e('Twitter\'s API version 1.1 require it', 'ab-welt-locales'); ?> 67 67 </p> 68 68 … … 121 121 function welt_twitter_oauth_var_validate($twitter_variable) { 122 122 123 $valid_option = $twitter_variable; 123 $valid_option = array(); 124 125 foreach ($twitter_variable as $option => $value) { 126 if( !empty( $value ) ){ 127 $valid_option[$option] = $value; 128 } 129 } 124 130 125 131 return $valid_option; -
widget-embed-lastest-tweets/tags/0.4.1/widget-embed-latest-tweets.php
r668718 r691812 2 2 /* 3 3 * Plugin Name: Widget embed latest Tweets 4 * Plugin URI: http:// www.arnaudbanvillet.com/blog/portfolio/widget-embed-latest-tweets/4 * Plugin URI: http://arnaudban.me/blog/portfolio/widget-embed-latest-tweets/ 5 5 * Description: A Widget to show your latest Tweets. Use the oEmbed methode and some cache. Visit the option page "Plugins->Widget Embed Last Plugin" to authentify yourself 6 * Version: 0.4 6 * Version: 0.4.1 7 7 * Author: Arnaud Banvillet 8 * Author URI: http:// www.arnaudbanvillet.com8 * Author URI: http://arnaudban.me 9 9 * License: GPL2 10 10 * … … 29 29 30 30 var $defaut = array( 31 'title' => 'Last Tweet', 32 'count' => 3, 33 'align' => 'none', 34 'hide_thread' => true, 35 'lang' => 'en', 36 'include_rts' => true, 37 'hide_media' => true 31 'title' => 'Latest Tweets', 32 'count' => 3, 33 'align' => 'none', 34 'hide_thread' => true, 35 'lang' => 'en', 36 'include_rts' => true, 37 'hide_media' => true, 38 'exclude_replies' => false, 38 39 ); 39 40 … … 113 114 $instance['hide_thread'] = $new_instance['hide_thread'] == 'hide_thread'; 114 115 $instance['hide_media'] = $new_instance['hide_media'] == 'hide_media'; 116 $instance['exclude_replies'] = $new_instance['exclude_replies'] == 'exclude_replies'; 115 117 116 118 $instance['lang'] = strip_tags($new_instance['lang']); … … 178 180 <br /> 179 181 <span class="description"><?php _e('Hide the images in the Tweet' , 'ab-welt-locales') ?></span> 182 </p> 183 184 <p> 185 <label for="<?php echo $this->get_field_id('exclude_replies'); ?>"><?php _e('Exclude replies', 'ab-welt-locales') ?> :</label> 186 <input id="<?php echo $this->get_field_id('exclude_replies'); ?>" name="<?php echo $this->get_field_name('exclude_replies'); ?>" type="checkbox" <?php checked( $exclude_replies ) ?> value="exclude_replies"/> 187 <br /> 188 <span class="description"><?php _e('They will not show but they will count in the number of tweets' , 'ab-welt-locales') ?></span> 180 189 </p> 181 190 -
widget-embed-lastest-tweets/trunk/readme.txt
r668718 r691812 9 9 10 10 A Widget to show your latest Tweets. 11 Visit the option page "Plugins->Widget Embed La st Plugin" to authentify yourself11 Visit the option page "Plugins->Widget Embed Latest Tweet" to authentify yourself 12 12 13 13 … … 17 17 18 18 This plugin uses the Twitter API version 1.1. You have to authentify yourself ! 19 Visit the option page "Plugins->Widget Embed La st Plugin" to do so.19 Visit the option page "Plugins->Widget Embed Latest Tweet" to do so. 20 20 21 21 Options : … … 59 59 60 60 == Changelog == 61 62 = 0.4.1 = 63 64 * Add 'exclude_replies' option 65 * typo fixes 61 66 62 67 = 0.4 = -
widget-embed-lastest-tweets/trunk/welt-option.php
r624528 r691812 64 64 <h4><?php _e('Why', 'ab-welt-locales'); ?> ?</h4> 65 65 <p> 66 <?php _e(' In order to avoid the Twitter\'s API limitation from anonymous request.', 'ab-welt-locales'); ?>66 <?php _e('Twitter\'s API version 1.1 require it', 'ab-welt-locales'); ?> 67 67 </p> 68 68 … … 121 121 function welt_twitter_oauth_var_validate($twitter_variable) { 122 122 123 $valid_option = $twitter_variable; 123 $valid_option = array(); 124 125 foreach ($twitter_variable as $option => $value) { 126 if( !empty( $value ) ){ 127 $valid_option[$option] = $value; 128 } 129 } 124 130 125 131 return $valid_option; -
widget-embed-lastest-tweets/trunk/widget-embed-latest-tweets.php
r668718 r691812 2 2 /* 3 3 * Plugin Name: Widget embed latest Tweets 4 * Plugin URI: http:// www.arnaudbanvillet.com/blog/portfolio/widget-embed-latest-tweets/4 * Plugin URI: http://arnaudban.me/blog/portfolio/widget-embed-latest-tweets/ 5 5 * Description: A Widget to show your latest Tweets. Use the oEmbed methode and some cache. Visit the option page "Plugins->Widget Embed Last Plugin" to authentify yourself 6 * Version: 0.4 6 * Version: 0.4.1 7 7 * Author: Arnaud Banvillet 8 * Author URI: http:// www.arnaudbanvillet.com8 * Author URI: http://arnaudban.me 9 9 * License: GPL2 10 10 * … … 29 29 30 30 var $defaut = array( 31 'title' => 'Last Tweet', 32 'count' => 3, 33 'align' => 'none', 34 'hide_thread' => true, 35 'lang' => 'en', 36 'include_rts' => true, 37 'hide_media' => true 31 'title' => 'Latest Tweets', 32 'count' => 3, 33 'align' => 'none', 34 'hide_thread' => true, 35 'lang' => 'en', 36 'include_rts' => true, 37 'hide_media' => true, 38 'exclude_replies' => false, 38 39 ); 39 40 … … 113 114 $instance['hide_thread'] = $new_instance['hide_thread'] == 'hide_thread'; 114 115 $instance['hide_media'] = $new_instance['hide_media'] == 'hide_media'; 116 $instance['exclude_replies'] = $new_instance['exclude_replies'] == 'exclude_replies'; 115 117 116 118 $instance['lang'] = strip_tags($new_instance['lang']); … … 178 180 <br /> 179 181 <span class="description"><?php _e('Hide the images in the Tweet' , 'ab-welt-locales') ?></span> 182 </p> 183 184 <p> 185 <label for="<?php echo $this->get_field_id('exclude_replies'); ?>"><?php _e('Exclude replies', 'ab-welt-locales') ?> :</label> 186 <input id="<?php echo $this->get_field_id('exclude_replies'); ?>" name="<?php echo $this->get_field_name('exclude_replies'); ?>" type="checkbox" <?php checked( $exclude_replies ) ?> value="exclude_replies"/> 187 <br /> 188 <span class="description"><?php _e('They will not show but they will count in the number of tweets' , 'ab-welt-locales') ?></span> 180 189 </p> 181 190
Note: See TracChangeset
for help on using the changeset viewer.