Version Description
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 0.9.5.1 |
Comparing to | |
See all releases |
Code changes from version 0.9.5 to 0.9.5.1
- README.txt +6 -1
- add-to-any.php +4 -4
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.addtoany.com/contact/
|
|
4 |
Tags: bookmarking, social, social bookmarking, bookmark, bookmarks, sharing, share, 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, addtoany, add, any
|
5 |
Requires at least: 2.0
|
6 |
Tested up to: 2.6
|
7 |
-
Stable tag: 0.9.5
|
8 |
|
9 |
Helps readers share, save, and bookmark your posts and pages using any service, such as Delicious, Digg, Facebook, MySpace, and all the rest.
|
10 |
|
@@ -59,6 +59,10 @@ This is done to overcome browser limitations that prevent the drop-down menu fro
|
|
59 |
|
60 |
== Changelog ==
|
61 |
|
|
|
|
|
|
|
|
|
62 |
.9.5:
|
63 |
|
64 |
* New: Custom buttons (specify a URL)
|
@@ -70,4 +74,5 @@ This is done to overcome browser limitations that prevent the drop-down menu fro
|
|
70 |
* New Menu Option: "Only show the menu when the user clicks the Share/Save button"
|
71 |
* New: Set custom JavaScript variables for further customization
|
72 |
* Better support for CSS styling: .addtoany_share_save
|
|
|
73 |
* PHP4 legacy and compatibility fixes
|
4 |
Tags: bookmarking, social, social bookmarking, bookmark, bookmarks, sharing, share, 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, addtoany, add, any
|
5 |
Requires at least: 2.0
|
6 |
Tested up to: 2.6
|
7 |
+
Stable tag: 0.9.5.1
|
8 |
|
9 |
Helps readers share, save, and bookmark your posts and pages using any service, such as Delicious, Digg, Facebook, MySpace, and all the rest.
|
10 |
|
59 |
|
60 |
== Changelog ==
|
61 |
|
62 |
+
.9.5.1:
|
63 |
+
|
64 |
+
* Fixed 1 line to support those without short_open_tag
|
65 |
+
|
66 |
.9.5:
|
67 |
|
68 |
* New: Custom buttons (specify a URL)
|
74 |
* New Menu Option: "Only show the menu when the user clicks the Share/Save button"
|
75 |
* New: Set custom JavaScript variables for further customization
|
76 |
* Better support for CSS styling: .addtoany_share_save
|
77 |
+
* PHP support for short_open_tag
|
78 |
* PHP4 legacy and compatibility fixes
|
add-to-any.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Add to Any: Share/Save/Bookmark Button
|
4 |
Plugin URI: http://www.addtoany.com/
|
5 |
Description: Helps readers share, save, and bookmark your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
|
6 |
-
Version: .9.5
|
7 |
Author: MicroPat
|
8 |
Author URI: http://www.addtoany.com/contact/
|
9 |
*/
|
@@ -78,7 +78,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON($output_buffering=false) {
|
|
78 |
$button = '<img src="'.$button_src.'" width="'.$button_width.'" height="'.$button_height.'" alt="Share/Save/Bookmark"/>';
|
79 |
?>
|
80 |
|
81 |
-
<a class="
|
82 |
<script type="text/javascript">
|
83 |
a2a_linkname="<?php echo str_replace('"', '\\"', $linkname); ?>";
|
84 |
a2a_linkurl="<?php echo $linkurl; ?>";
|
@@ -108,7 +108,7 @@ function A2A_SHARE_SAVE_to_bottom_of_content($content) {
|
|
108 |
)
|
109 |
return $content;
|
110 |
|
111 |
-
$content .= '<p class="
|
112 |
return $content;
|
113 |
}
|
114 |
|
@@ -117,7 +117,7 @@ add_action('the_content', 'A2A_SHARE_SAVE_to_bottom_of_content');
|
|
117 |
|
118 |
function A2A_SHARE_SAVE_button_css() {
|
119 |
?><style type="text/css">.addtoany_share_save img{border:0;}</style>
|
120 |
-
<?
|
121 |
}
|
122 |
|
123 |
add_action('wp_head', 'A2A_SHARE_SAVE_button_css');
|
3 |
Plugin Name: Add to Any: Share/Save/Bookmark Button
|
4 |
Plugin URI: http://www.addtoany.com/
|
5 |
Description: Helps readers share, save, and bookmark your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
|
6 |
+
Version: .9.5.1
|
7 |
Author: MicroPat
|
8 |
Author URI: http://www.addtoany.com/contact/
|
9 |
*/
|
78 |
$button = '<img src="'.$button_src.'" width="'.$button_width.'" height="'.$button_height.'" alt="Share/Save/Bookmark"/>';
|
79 |
?>
|
80 |
|
81 |
+
<a class="addtoany_share_save" name="a2a_dd" <?php echo (get_option('A2A_SHARE_SAVE_onclick')=='1') ? 'onclick="a2a_show_dropdown(this);return false"' : 'onmouseover="a2a_show_dropdown(this)"'; ?> onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/share_save?sitename=<?php echo $sitename_enc; ?>&siteurl=<?php echo $siteurl_enc; ?>&linkname=<?php echo $linkname_enc; ?>&linkurl=<?php echo $linkurl_enc; ?>"<?php echo $style; ?>><?php echo $button; ?></a>
|
82 |
<script type="text/javascript">
|
83 |
a2a_linkname="<?php echo str_replace('"', '\\"', $linkname); ?>";
|
84 |
a2a_linkurl="<?php echo $linkurl; ?>";
|
108 |
)
|
109 |
return $content;
|
110 |
|
111 |
+
$content .= '<p class="addtoany_share_save_container">'.ADDTOANY_SHARE_SAVE_BUTTON(true).'</p>';
|
112 |
return $content;
|
113 |
}
|
114 |
|
117 |
|
118 |
function A2A_SHARE_SAVE_button_css() {
|
119 |
?><style type="text/css">.addtoany_share_save img{border:0;}</style>
|
120 |
+
<?php
|
121 |
}
|
122 |
|
123 |
add_action('wp_head', 'A2A_SHARE_SAVE_button_css');
|