AddToAny Share Buttons - Version 0.9.9.4.2

Version Description

Download this release

Release Info

Developer micropat
Plugin Icon 128x128 AddToAny Share Buttons
Version 0.9.9.4.2
Comparing to
See all releases

Code changes from version 0.9.9.4.1 to 0.9.9.4.2

Files changed (2) hide show
  1. README.txt +5 -1
  2. add-to-any.php +7 -7
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.addtoany.com/contact/
4
  Tags: bookmarking, social, social bookmarking, social bookmarks, bookmark, bookmarks, sharing, share, sharethis, saving, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, e-mail, email, seo, button, delicious, google, digg, reddit, facebook, myspace, twitter, stumbleupon, technorati, wpmu, addtoany, add, any
5
  Requires at least: 2.0
6
  Tested up to: 2.8
7
- Stable tag: 0.9.9.5
8
 
9
  Help readers share, bookmark, and email your posts and pages using any service, such as Facebook, Twitter, Digg, Delicious and over 100 more.
10
 
@@ -122,6 +122,10 @@ This is done to overcome browser limitations that prevent the drop-down menu fro
122
 
123
  == Changelog ==
124
 
 
 
 
 
125
  = .9.9.4.1 =
126
  * Twitter icon included in standard sharing button
127
  * Albanian translation (by <a href="http://www.romeolab.com/" target="_blank">Romeo Shuka</a>)
4
  Tags: bookmarking, social, social bookmarking, social bookmarks, bookmark, bookmarks, sharing, share, sharethis, saving, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, e-mail, email, seo, button, delicious, google, digg, reddit, facebook, myspace, twitter, stumbleupon, technorati, wpmu, addtoany, add, any
5
  Requires at least: 2.0
6
  Tested up to: 2.8
7
+ Stable tag: 0.9.9.4.2
8
 
9
  Help readers share, bookmark, and email your posts and pages using any service, such as Facebook, Twitter, Digg, Delicious and over 100 more.
10
 
122
 
123
  == Changelog ==
124
 
125
+ = .9.9.4.2 =
126
+ * Updated button text
127
+ * Further localized strings
128
+
129
  = .9.9.4.1 =
130
  * Twitter icon included in standard sharing button
131
  * Albanian translation (by <a href="http://www.romeolab.com/" target="_blank">Romeo Shuka</a>)
add-to-any.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Add to Any: Share/Bookmark/Email Button
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Help readers share, bookmark, and email your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
- Version: .9.9.4.1
7
  Author: Add to Any
8
  Author URI: http://www.addtoany.com/contact/
9
  */
@@ -384,7 +384,7 @@ function A2A_SHARE_SAVE_options_page() {
384
  elseif( get_option('A2A_SHARE_SAVE_button') == 'share_16_16.png|16|16' )
385
  update_option( 'A2A_SHARE_SAVE_button_text', $_POST['A2A_SHARE_SAVE_button_share_16_16_text'] );
386
  else
387
- update_option( 'A2A_SHARE_SAVE_button_text', ( trim($_POST['A2A_SHARE_SAVE_button_text']) != '' ) ? $_POST['A2A_SHARE_SAVE_button_text'] : "Share/Save" );
388
 
389
  // Store chosen individual services to make active
390
  $active_services = Array();
@@ -455,19 +455,19 @@ function A2A_SHARE_SAVE_options_page() {
455
  <label>
456
  <input name="A2A_SHARE_SAVE_button" value="favicon.png|16|16" type="radio"<?php if(get_option('A2A_SHARE_SAVE_button')=='favicon.png|16|16') echo ' checked="checked"'; ?>
457
  style="margin:9px 0;vertical-align:middle">
458
- <img src="<?php echo $A2A_SHARE_SAVE_plugin_url_path.'/favicon.png'; ?>" width="16" height="16" border="0" style="padding:9px;vertical-align:middle" alt="+ Share/Save" title="+ Share/Save"
459
  onclick="this.parentNode.firstChild.checked=true"/>
460
  </label>
461
  <input name="A2A_SHARE_SAVE_button_favicon_16_16_text" type="text" class="code" size="50" onclick="e=document.getElementsByName('A2A_SHARE_SAVE_button');e[e.length-7].checked=true" style="vertical-align:middle;width:150px"
462
- value="<?php echo (get_option('A2A_SHARE_SAVE_button_text') !== FALSE) ? stripslashes(get_option('A2A_SHARE_SAVE_button_text')) : "Share/Save"; ?>" />
463
  <label style="padding-left:9px">
464
  <input name="A2A_SHARE_SAVE_button" value="share_16_16.png|16|16" type="radio"<?php if(get_option('A2A_SHARE_SAVE_button')=='share_16_16.png|16|16') echo ' checked="checked"'; ?>
465
  style="margin:9px 0;vertical-align:middle">
466
- <img src="<?php echo $A2A_SHARE_SAVE_plugin_url_path.'/share_16_16.png'; ?>" width="16" height="16" border="0" style="padding:9px;vertical-align:middle" alt="+ Share/Save" title="+ Share/Save"
467
  onclick="this.parentNode.firstChild.checked=true"/>
468
  </label>
469
  <input name="A2A_SHARE_SAVE_button_share_16_16_text" type="text" class="code" size="50" onclick="e=document.getElementsByName('A2A_SHARE_SAVE_button');e[e.length-6].checked=true" style="vertical-align:middle;width:150px"
470
- value="<?php echo (get_option('A2A_SHARE_SAVE_button_text') !== FALSE) ? stripslashes(get_option('A2A_SHARE_SAVE_button_text')) : "Share/Save"; ?>" /><br>
471
  <label>
472
  <input name="A2A_SHARE_SAVE_button" value="share_save_120_16.png|120|16" type="radio"<?php if(get_option('A2A_SHARE_SAVE_button' )=='share_save_120_16.png|120|16') echo ' checked="checked"'; ?>
473
  style="margin:9px 0;vertical-align:middle">
@@ -499,7 +499,7 @@ function A2A_SHARE_SAVE_options_page() {
499
  <span style="margin:0 9px;vertical-align:middle"><?php _e("Text only"); ?>:</span>
500
  </label>
501
  <input name="A2A_SHARE_SAVE_button_text" type="text" class="code" size="50" onclick="e=document.getElementsByName('A2A_SHARE_SAVE_button');e[e.length-1].checked=true" style="vertical-align:middle;width:150px"
502
- value="<?php echo ( trim(get_option('A2A_SHARE_SAVE_button_text')) != '' ) ? stripslashes(get_option('A2A_SHARE_SAVE_button_text')) : "Share/Save"; ?>" />
503
 
504
  </fieldset></td>
505
  </tr>
3
  Plugin Name: Add to Any: Share/Bookmark/Email Button
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Help readers share, bookmark, and email your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
+ Version: .9.9.4.2
7
  Author: Add to Any
8
  Author URI: http://www.addtoany.com/contact/
9
  */
384
  elseif( get_option('A2A_SHARE_SAVE_button') == 'share_16_16.png|16|16' )
385
  update_option( 'A2A_SHARE_SAVE_button_text', $_POST['A2A_SHARE_SAVE_button_share_16_16_text'] );
386
  else
387
+ update_option( 'A2A_SHARE_SAVE_button_text', ( trim($_POST['A2A_SHARE_SAVE_button_text']) != '' ) ? $_POST['A2A_SHARE_SAVE_button_text'] : __('Share/Bookmark','add-to-any') );
388
 
389
  // Store chosen individual services to make active
390
  $active_services = Array();
455
  <label>
456
  <input name="A2A_SHARE_SAVE_button" value="favicon.png|16|16" type="radio"<?php if(get_option('A2A_SHARE_SAVE_button')=='favicon.png|16|16') echo ' checked="checked"'; ?>
457
  style="margin:9px 0;vertical-align:middle">
458
+ <img src="<?php echo $A2A_SHARE_SAVE_plugin_url_path.'/favicon.png'; ?>" width="16" height="16" border="0" style="padding:9px;vertical-align:middle" alt="+ <?php _e('Share/Bookmark','add-to-any'); ?>" title="+ <?php _e('Share/Bookmark','add-to-any'); ?>"
459
  onclick="this.parentNode.firstChild.checked=true"/>
460
  </label>
461
  <input name="A2A_SHARE_SAVE_button_favicon_16_16_text" type="text" class="code" size="50" onclick="e=document.getElementsByName('A2A_SHARE_SAVE_button');e[e.length-7].checked=true" style="vertical-align:middle;width:150px"
462
+ value="<?php echo (get_option('A2A_SHARE_SAVE_button_text') !== FALSE) ? stripslashes(get_option('A2A_SHARE_SAVE_button_text')) : __('Share/Bookmark','add-to-any'); ?>" />
463
  <label style="padding-left:9px">
464
  <input name="A2A_SHARE_SAVE_button" value="share_16_16.png|16|16" type="radio"<?php if(get_option('A2A_SHARE_SAVE_button')=='share_16_16.png|16|16') echo ' checked="checked"'; ?>
465
  style="margin:9px 0;vertical-align:middle">
466
+ <img src="<?php echo $A2A_SHARE_SAVE_plugin_url_path.'/share_16_16.png'; ?>" width="16" height="16" border="0" style="padding:9px;vertical-align:middle" alt="+ <?php _e('Share/Bookmark','add-to-any'); ?>" title="+ <?php _e('Share/Bookmark','add-to-any'); ?>"
467
  onclick="this.parentNode.firstChild.checked=true"/>
468
  </label>
469
  <input name="A2A_SHARE_SAVE_button_share_16_16_text" type="text" class="code" size="50" onclick="e=document.getElementsByName('A2A_SHARE_SAVE_button');e[e.length-6].checked=true" style="vertical-align:middle;width:150px"
470
+ value="<?php echo (get_option('A2A_SHARE_SAVE_button_text') !== FALSE) ? stripslashes(get_option('A2A_SHARE_SAVE_button_text')) : __('Share/Bookmark','add-to-any'); ?>" /><br>
471
  <label>
472
  <input name="A2A_SHARE_SAVE_button" value="share_save_120_16.png|120|16" type="radio"<?php if(get_option('A2A_SHARE_SAVE_button' )=='share_save_120_16.png|120|16') echo ' checked="checked"'; ?>
473
  style="margin:9px 0;vertical-align:middle">
499
  <span style="margin:0 9px;vertical-align:middle"><?php _e("Text only"); ?>:</span>
500
  </label>
501
  <input name="A2A_SHARE_SAVE_button_text" type="text" class="code" size="50" onclick="e=document.getElementsByName('A2A_SHARE_SAVE_button');e[e.length-1].checked=true" style="vertical-align:middle;width:150px"
502
+ value="<?php echo ( trim(get_option('A2A_SHARE_SAVE_button_text')) != '' ) ? stripslashes(get_option('A2A_SHARE_SAVE_button_text')) : __('Share/Bookmark','add-to-any'); ?>" />
503
 
504
  </fieldset></td>
505
  </tr>