Version Description
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 0.9.7 |
Comparing to | |
See all releases |
Code changes from version 0.9.6 to 0.9.7
- README.txt +16 -3
- add-to-any.php +62 -27
- add-to-any.po +172 -0
- favicon.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- share_save_120_16.gif +0 -0
- share_save_171_16.gif +0 -0
- share_save_256_24.gif +0 -0
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.2
|
7 |
-
Stable tag: 0.9.
|
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 |
|
@@ -48,20 +48,33 @@ If your button isn't already set up to appear (it is by default), type the follo
|
|
48 |
|
49 |
Type the following tag into the page or post that you do not want the button to appear in: `<!--nosharesave-->`
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
= Why do embedded objects (like Flash) disappear when the menu is displayed? =
|
52 |
|
53 |
This is done to overcome browser limitations that prevent the drop-down menu from displaying on top of intersecting embedded objects. If you would like to disable this, uncheck the `Hide embedded objects (Flash, video, etc.) that intersect with the menu when displayed` option on the plugin's settings page.
|
54 |
|
55 |
== Screenshots ==
|
56 |
|
57 |
-
1.
|
58 |
-
2.
|
|
|
59 |
|
60 |
== Changelog ==
|
61 |
|
|
|
|
|
|
|
|
|
|
|
62 |
.9.6:
|
63 |
|
64 |
* Moved external JavaScript to bottom so that content is prioritized over HTTP requests to static.addtoany.com
|
|
|
65 |
|
66 |
.9.5.2:
|
67 |
|
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.2
|
7 |
+
Stable tag: 0.9.7
|
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 |
|
48 |
|
49 |
Type the following tag into the page or post that you do not want the button to appear in: `<!--nosharesave-->`
|
50 |
|
51 |
+
= Why isn't the drop-down menu appearing? =
|
52 |
+
|
53 |
+
It's likely because your your theme wasn't <a href="http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks" target="_blank">coded properly</a>. Using the Theme Editor, make sure that the following piece of code is included in your theme's `footer.php` file just before the `</body>` line:
|
54 |
+
|
55 |
+
`<?php wp_footer(); ?>`
|
56 |
+
|
57 |
= Why do embedded objects (like Flash) disappear when the menu is displayed? =
|
58 |
|
59 |
This is done to overcome browser limitations that prevent the drop-down menu from displaying on top of intersecting embedded objects. If you would like to disable this, uncheck the `Hide embedded objects (Flash, video, etc.) that intersect with the menu when displayed` option on the plugin's settings page.
|
60 |
|
61 |
== Screenshots ==
|
62 |
|
63 |
+
1. Add to Any Share/Save button
|
64 |
+
2. Drop-down menu that appears instantly when visitors move the mouse over the Share/Save button
|
65 |
+
3. This is the drop-down menu showing the services available to the user within the Share/Save menu. Services are constantly added/updated.
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
.9.7:
|
70 |
+
|
71 |
+
* Internationalization
|
72 |
+
* Buttons updated
|
73 |
+
|
74 |
.9.6:
|
75 |
|
76 |
* Moved external JavaScript to bottom so that content is prioritized over HTTP requests to static.addtoany.com
|
77 |
+
* Please note that some improperly-coded themes may prevent this from working. See the FAQ entry for "Why isn't the drop-down menu appearing?" if this is the case.
|
78 |
|
79 |
.9.5.2:
|
80 |
|
add-to-any.php
CHANGED
@@ -3,14 +3,24 @@
|
|
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.
|
7 |
-
Author:
|
8 |
Author URI: http://www.addtoany.com/contact/
|
9 |
*/
|
10 |
|
11 |
|
12 |
if( !isset($A2A_javascript) )
|
13 |
$A2A_javascript = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
|
16 |
// Returns the utf string corresponding to the unicode value (from php.net, courtesy - romans@void.lv)
|
@@ -96,6 +106,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON($output_buffering=false) {
|
|
96 |
else
|
97 |
$external_script_call = 'a2a_init("page");</script>';
|
98 |
$A2A_javascript .= '<script type="text/javascript">' . "\n"
|
|
|
99 |
. 'a2a_linkname="' . str_replace('"', '\\"', $linkname) . '";' . "\n"
|
100 |
. 'a2a_linkurl="' . $linkurl . '";' . "\n"
|
101 |
. ((get_option('A2A_SHARE_SAVE_hide_embeds')=='-1') ? 'a2a_hide_embeds=0;' . "\n" : '')
|
@@ -121,6 +132,30 @@ if (!function_exists('A2A_menu_javascript')) {
|
|
121 |
}
|
122 |
}
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
|
125 |
function A2A_SHARE_SAVE_to_bottom_of_content($content) {
|
126 |
if (
|
@@ -170,7 +205,7 @@ function A2A_SHARE_SAVE_options_page() {
|
|
170 |
update_option( 'A2A_SHARE_SAVE_additional_js_variables', trim($_POST['A2A_SHARE_SAVE_additional_js_variables']) );
|
171 |
|
172 |
?>
|
173 |
-
<div class="updated fade"><p><strong><?php _e('Settings saved.'
|
174 |
<?php
|
175 |
|
176 |
}
|
@@ -179,7 +214,7 @@ function A2A_SHARE_SAVE_options_page() {
|
|
179 |
|
180 |
<div class="wrap">
|
181 |
|
182 |
-
<h2><?php
|
183 |
|
184 |
<form method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
|
185 |
|
@@ -189,7 +224,7 @@ function A2A_SHARE_SAVE_options_page() {
|
|
189 |
|
190 |
<table class="form-table">
|
191 |
<tr valign="top">
|
192 |
-
<th scope="row"
|
193 |
<td><fieldset>
|
194 |
<label>
|
195 |
<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"'; ?>
|
@@ -218,7 +253,7 @@ function A2A_SHARE_SAVE_options_page() {
|
|
218 |
<label>
|
219 |
<input name="A2A_SHARE_SAVE_button" value="CUSTOM" type="radio"<?php if( get_option('A2A_SHARE_SAVE_button') == 'CUSTOM' ) echo ' checked="checked"'; ?>
|
220 |
style="margin:9px 0;vertical-align:middle">
|
221 |
-
<span style="margin:0 9px;vertical-align:middle"
|
222 |
</label>
|
223 |
<input name="A2A_SHARE_SAVE_button_custom" type="text" class="code" size="50" onclick="e=document.getElementsByName('A2A_SHARE_SAVE_button');e[e.length-1].checked=true" style="vertical-align:middle"
|
224 |
value="<?php echo get_option('A2A_SHARE_SAVE_button_custom'); ?>" />
|
@@ -226,87 +261,87 @@ function A2A_SHARE_SAVE_options_page() {
|
|
226 |
</fieldset></td>
|
227 |
</tr>
|
228 |
<tr valign="top">
|
229 |
-
<th scope="row"
|
230 |
<td><fieldset>
|
231 |
<label>
|
232 |
<input name="A2A_SHARE_SAVE_display_in_posts"
|
233 |
onclick="e=getElementsByName('A2A_SHARE_SAVE_display_in_posts_on_front_page')[0];if(!this.checked){e.checked=false;e.disabled=true}else{e.checked=true;e.disabled=false}"
|
234 |
onchange="e=getElementsByName('A2A_SHARE_SAVE_display_in_posts_on_front_page')[0];if(!this.checked){e.checked=false;e.disabled=true}else{e.checked=true;e.disabled=false}"
|
235 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_display_in_posts')!='-1') echo ' checked="checked"'; ?> value="1"/>
|
236 |
-
Display Share/Save button at the bottom of posts <strong>*</strong>
|
237 |
</label><br/>
|
238 |
<label>
|
239 |
<input name="A2A_SHARE_SAVE_display_in_posts_on_front_page" type="checkbox"<?php
|
240 |
if(get_option('A2A_SHARE_SAVE_display_in_posts_on_front_page')!='-1') echo ' checked="checked"';
|
241 |
if(get_option('A2A_SHARE_SAVE_display_in_posts')=='-1') echo ' disabled="disabled"';
|
242 |
?> value="1"/>
|
243 |
-
Display Share/Save button at the bottom of posts on the front page
|
244 |
</label><br/>
|
245 |
<label>
|
246 |
<input name="A2A_SHARE_SAVE_display_in_pages" type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_display_in_pages')!='-1') echo ' checked="checked"'; ?> value="1"/>
|
247 |
-
Display Share/Save button at the bottom of pages <strong>*</strong>
|
248 |
</label>
|
249 |
|
250 |
<br/><br/>
|
251 |
-
<strong>*</strong> If unchecked, be sure to place the following code in <a href
|
252 |
<code><?php if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) { ADDTOANY_SHARE_SAVE_BUTTON(); } ?></code>
|
253 |
</fieldset></td>
|
254 |
</tr>
|
255 |
<tr valign="top">
|
256 |
-
<th scope="row"
|
257 |
<td><fieldset>
|
258 |
-
Using Add to Any's Menu Styler, you can customize the colors of your Share/Save menu! When you're done, be sure to paste the generated code in the <a href
|
259 |
<p>
|
260 |
-
<a href="http://www.addtoany.com/buttons/share_save/menu_style/wordpress" class="button-secondary" title="Open the Add to Any Menu Styler in a new window" target="_blank"
|
261 |
onclick="document.getElementById('A2A_SHARE_SAVE_additional_js_variables').focus();
|
262 |
-
document.getElementById('A2A_SHARE_SAVE_menu_styler_note').style.display='';"
|
263 |
</p>
|
264 |
</fieldset></td>
|
265 |
</tr>
|
266 |
<tr valign="top">
|
267 |
-
<th scope="row"
|
268 |
<td><fieldset>
|
269 |
<label>
|
270 |
<input name="A2A_SHARE_SAVE_hide_embeds"
|
271 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_hide_embeds')!='-1') echo ' checked="checked"'; ?> value="1"/>
|
272 |
-
Hide embedded objects (Flash, video, etc.) that intersect with the menu when displayed
|
273 |
</label><br />
|
274 |
<label>
|
275 |
<input name="A2A_SHARE_SAVE_show_title"
|
276 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_show_title')=='1') echo ' checked="checked"'; ?> value="1"/>
|
277 |
-
Show the title of the post (or page) within the menu
|
278 |
</label><br />
|
279 |
<label>
|
280 |
<input name="A2A_SHARE_SAVE_onclick"
|
281 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_onclick')=='1') echo ' checked="checked"'; ?> value="1"/>
|
282 |
-
Only show the menu when the user clicks the Share/Save button
|
283 |
</label>
|
284 |
</fieldset></td>
|
285 |
</tr>
|
286 |
<tr valign="top">
|
287 |
-
<th scope="row"
|
288 |
<td><fieldset>
|
289 |
<p id="A2A_SHARE_SAVE_menu_styler_note" style="display:none">
|
290 |
<label for="A2A_SHARE_SAVE_additional_js_variables">
|
291 |
-
<strong
|
292 |
</label>
|
293 |
</p>
|
294 |
<label for="A2A_SHARE_SAVE_additional_js_variables">
|
295 |
-
Below you can set special JavaScript variables to apply to each Share/Save menu.
|
296 |
-
Advanced users might want to check out the code generated by Add to Any's general <a href
|
297 |
</label>
|
298 |
<p>
|
299 |
<textarea name="A2A_SHARE_SAVE_additional_js_variables" id="A2A_SHARE_SAVE_additional_js_variables" class="code" style="width: 98%; font-size: 12px;" rows="5" cols="50"><?php echo stripslashes(get_option('A2A_SHARE_SAVE_additional_js_variables')); ?></textarea>
|
300 |
</p>
|
301 |
<?php if( get_option('A2A_SHARE_SAVE_additional_js_variables')!='' ) { ?>
|
302 |
-
<label for="A2A_SHARE_SAVE_additional_js_variables"
|
303 |
<?php } ?>
|
304 |
</fieldset></td>
|
305 |
</tr>
|
306 |
</table>
|
307 |
|
308 |
<p class="submit">
|
309 |
-
<input type="submit" name="Submit" value="<?php _e('Save Changes', '
|
310 |
</p>
|
311 |
|
312 |
</form>
|
@@ -319,8 +354,8 @@ function A2A_SHARE_SAVE_options_page() {
|
|
319 |
function A2A_SHARE_SAVE_add_menu_link() {
|
320 |
if( current_user_can('manage_options') ) {
|
321 |
add_options_page(
|
322 |
-
'Add to Any: Share/Save Settings
|
323 |
-
,
|
324 |
, 8
|
325 |
, basename(__FILE__)
|
326 |
, 'A2A_SHARE_SAVE_options_page'
|
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.7
|
7 |
+
Author: Add to Any
|
8 |
Author URI: http://www.addtoany.com/contact/
|
9 |
*/
|
10 |
|
11 |
|
12 |
if( !isset($A2A_javascript) )
|
13 |
$A2A_javascript = '';
|
14 |
+
if( !isset($A2A_locale) )
|
15 |
+
$A2A_locale = '';
|
16 |
+
|
17 |
+
|
18 |
+
function A2A_SHARE_SAVE_textdomain() {
|
19 |
+
load_plugin_textdomain('add-to-any',
|
20 |
+
PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)),
|
21 |
+
dirname(plugin_basename(__FILE__)));
|
22 |
+
}
|
23 |
+
add_action('init', 'A2A_SHARE_SAVE_textdomain');
|
24 |
|
25 |
|
26 |
// Returns the utf string corresponding to the unicode value (from php.net, courtesy - romans@void.lv)
|
106 |
else
|
107 |
$external_script_call = 'a2a_init("page");</script>';
|
108 |
$A2A_javascript .= '<script type="text/javascript">' . "\n"
|
109 |
+
. A2A_menu_locale()
|
110 |
. 'a2a_linkname="' . str_replace('"', '\\"', $linkname) . '";' . "\n"
|
111 |
. 'a2a_linkurl="' . $linkurl . '";' . "\n"
|
112 |
. ((get_option('A2A_SHARE_SAVE_hide_embeds')=='-1') ? 'a2a_hide_embeds=0;' . "\n" : '')
|
132 |
}
|
133 |
}
|
134 |
|
135 |
+
if (!function_exists('A2A_menu_locale')) {
|
136 |
+
function A2A_menu_locale() {
|
137 |
+
global $A2A_locale;
|
138 |
+
if( $A2A_locale != '' ) return false;
|
139 |
+
$A2A_locale = 'a2a_localize = {
|
140 |
+
Share: "' . __("Share", "add-to-any") . '",
|
141 |
+
Save: "' . __("Save", "add-to-any") . '",
|
142 |
+
Subscribe: "' . __("Subscribe", "add-to-any") . '",
|
143 |
+
ShowAll: "' . __("Show all", "add-to-any") . '",
|
144 |
+
ShowLess: "' . __("Show less", "add-to-any") . '",
|
145 |
+
FindServices: "' . __("Find service(s)", "add-to-any") . '",
|
146 |
+
FindAnyServiceToAddTo: "' . __("Instantly find any service to add to", "add-to-any") . '",
|
147 |
+
PoweredBy: "' . __("Powered by", "add-to-any") . '",
|
148 |
+
ShareViaEmail: "' . __("Share via e-mail", "add-to-any") . '",
|
149 |
+
SubscribeViaEmail: "' . __("Subscribe via e-mail", "add-to-any") . '",
|
150 |
+
BookmarkInYourBrowser: "' . __("Bookmark in your browser", "add-to-any") . '",
|
151 |
+
BookmarkInstructions: "' . __("After clicking OK, press Ctrl+D or Cmd+D to bookmark this page", "add-to-any") . '",
|
152 |
+
AddToYourFavorites: "' . __("Add to your favorites", "add-to-any") . '"
|
153 |
+
};
|
154 |
+
';
|
155 |
+
return $A2A_locale;
|
156 |
+
}
|
157 |
+
}
|
158 |
+
|
159 |
|
160 |
function A2A_SHARE_SAVE_to_bottom_of_content($content) {
|
161 |
if (
|
205 |
update_option( 'A2A_SHARE_SAVE_additional_js_variables', trim($_POST['A2A_SHARE_SAVE_additional_js_variables']) );
|
206 |
|
207 |
?>
|
208 |
+
<div class="updated fade"><p><strong><?php _e('Settings saved.'); ?></strong></p></div>
|
209 |
<?php
|
210 |
|
211 |
}
|
214 |
|
215 |
<div class="wrap">
|
216 |
|
217 |
+
<h2><?php _e( 'Add to Any: Share/Save ', 'add-to-any' ) . _e( 'Settings' ); ?></h2>
|
218 |
|
219 |
<form method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
|
220 |
|
224 |
|
225 |
<table class="form-table">
|
226 |
<tr valign="top">
|
227 |
+
<th scope="row"><? _e("Button", "add-to-any"); ?></th>
|
228 |
<td><fieldset>
|
229 |
<label>
|
230 |
<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"'; ?>
|
253 |
<label>
|
254 |
<input name="A2A_SHARE_SAVE_button" value="CUSTOM" type="radio"<?php if( get_option('A2A_SHARE_SAVE_button') == 'CUSTOM' ) echo ' checked="checked"'; ?>
|
255 |
style="margin:9px 0;vertical-align:middle">
|
256 |
+
<span style="margin:0 9px;vertical-align:middle"><? _e("Image URL"); ?>:</span>
|
257 |
</label>
|
258 |
<input name="A2A_SHARE_SAVE_button_custom" type="text" class="code" size="50" onclick="e=document.getElementsByName('A2A_SHARE_SAVE_button');e[e.length-1].checked=true" style="vertical-align:middle"
|
259 |
value="<?php echo get_option('A2A_SHARE_SAVE_button_custom'); ?>" />
|
261 |
</fieldset></td>
|
262 |
</tr>
|
263 |
<tr valign="top">
|
264 |
+
<th scope="row"><? _e('Button Placement', 'add-to-any'); ?></th>
|
265 |
<td><fieldset>
|
266 |
<label>
|
267 |
<input name="A2A_SHARE_SAVE_display_in_posts"
|
268 |
onclick="e=getElementsByName('A2A_SHARE_SAVE_display_in_posts_on_front_page')[0];if(!this.checked){e.checked=false;e.disabled=true}else{e.checked=true;e.disabled=false}"
|
269 |
onchange="e=getElementsByName('A2A_SHARE_SAVE_display_in_posts_on_front_page')[0];if(!this.checked){e.checked=false;e.disabled=true}else{e.checked=true;e.disabled=false}"
|
270 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_display_in_posts')!='-1') echo ' checked="checked"'; ?> value="1"/>
|
271 |
+
<? _e('Display Share/Save button at the bottom of posts', 'add-to-any'); ?> <strong>*</strong>
|
272 |
</label><br/>
|
273 |
<label>
|
274 |
<input name="A2A_SHARE_SAVE_display_in_posts_on_front_page" type="checkbox"<?php
|
275 |
if(get_option('A2A_SHARE_SAVE_display_in_posts_on_front_page')!='-1') echo ' checked="checked"';
|
276 |
if(get_option('A2A_SHARE_SAVE_display_in_posts')=='-1') echo ' disabled="disabled"';
|
277 |
?> value="1"/>
|
278 |
+
<? _e('Display Share/Save button at the bottom of posts on the front page', 'add-to-any'); ?>
|
279 |
</label><br/>
|
280 |
<label>
|
281 |
<input name="A2A_SHARE_SAVE_display_in_pages" type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_display_in_pages')!='-1') echo ' checked="checked"'; ?> value="1"/>
|
282 |
+
<? _e('Display Share/Save button at the bottom of pages', 'add-to-any'); ?> <strong>*</strong>
|
283 |
</label>
|
284 |
|
285 |
<br/><br/>
|
286 |
+
<strong>*</strong> <? _e("If unchecked, be sure to place the following code in <a href=\"theme-editor.php\">your template pages</a> (within <code>index.php</code>, <code>single.php</code>, and/or <code>page.php</code>)", "add-to-any"); ?>:<br/>
|
287 |
<code><?php if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) { ADDTOANY_SHARE_SAVE_BUTTON(); } ?></code>
|
288 |
</fieldset></td>
|
289 |
</tr>
|
290 |
<tr valign="top">
|
291 |
+
<th scope="row"><? _e('Menu Style', 'add-to-any'); ?></th>
|
292 |
<td><fieldset>
|
293 |
+
<? _e("Using Add to Any's Menu Styler, you can customize the colors of your Share/Save menu! When you're done, be sure to paste the generated code in the <a href=\"#\" onclick=\"document.getElementById('A2A_SHARE_SAVE_additional_js_variables').focus();return false\">Additional Options</a> box below.", "add-to-any"); ?>
|
294 |
<p>
|
295 |
+
<a href="http://www.addtoany.com/buttons/share_save/menu_style/wordpress" class="button-secondary" title="<? _e("Open the Add to Any Menu Styler in a new window", "add-to-any"); ?>" target="_blank"
|
296 |
onclick="document.getElementById('A2A_SHARE_SAVE_additional_js_variables').focus();
|
297 |
+
document.getElementById('A2A_SHARE_SAVE_menu_styler_note').style.display='';"><? _e("Open Menu Styler", "add-to-any"); ?></a>
|
298 |
</p>
|
299 |
</fieldset></td>
|
300 |
</tr>
|
301 |
<tr valign="top">
|
302 |
+
<th scope="row"><? _e('Menu Options', 'add-to-any'); ?></th>
|
303 |
<td><fieldset>
|
304 |
<label>
|
305 |
<input name="A2A_SHARE_SAVE_hide_embeds"
|
306 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_hide_embeds')!='-1') echo ' checked="checked"'; ?> value="1"/>
|
307 |
+
<? _e('Hide embedded objects (Flash, video, etc.) that intersect with the menu when displayed', 'add-to-any'); ?>
|
308 |
</label><br />
|
309 |
<label>
|
310 |
<input name="A2A_SHARE_SAVE_show_title"
|
311 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_show_title')=='1') echo ' checked="checked"'; ?> value="1"/>
|
312 |
+
<? _e('Show the title of the post (or page) within the menu', 'add-to-any'); ?>
|
313 |
</label><br />
|
314 |
<label>
|
315 |
<input name="A2A_SHARE_SAVE_onclick"
|
316 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_onclick')=='1') echo ' checked="checked"'; ?> value="1"/>
|
317 |
+
<? _e('Only show the menu when the user clicks the Share/Save button', 'add-to-any'); ?>
|
318 |
</label>
|
319 |
</fieldset></td>
|
320 |
</tr>
|
321 |
<tr valign="top">
|
322 |
+
<th scope="row"><? _e('Additional Options', 'add-to-any'); ?></th>
|
323 |
<td><fieldset>
|
324 |
<p id="A2A_SHARE_SAVE_menu_styler_note" style="display:none">
|
325 |
<label for="A2A_SHARE_SAVE_additional_js_variables">
|
326 |
+
<strong><? _e("Paste the code from Add to Any's Menu Styler in the box below!", 'add-to-any'); ?></strong>
|
327 |
</label>
|
328 |
</p>
|
329 |
<label for="A2A_SHARE_SAVE_additional_js_variables">
|
330 |
+
<? _e('Below you can set special JavaScript variables to apply to each Share/Save menu.', 'add-to-any'); ?>
|
331 |
+
<? _e("Advanced users might want to check out the code generated by Add to Any's general <a href=\"http://www.addtoany.com/buttons/share_save\">Share/Save button generator</a>.", "add-to-any"); ?>
|
332 |
</label>
|
333 |
<p>
|
334 |
<textarea name="A2A_SHARE_SAVE_additional_js_variables" id="A2A_SHARE_SAVE_additional_js_variables" class="code" style="width: 98%; font-size: 12px;" rows="5" cols="50"><?php echo stripslashes(get_option('A2A_SHARE_SAVE_additional_js_variables')); ?></textarea>
|
335 |
</p>
|
336 |
<?php if( get_option('A2A_SHARE_SAVE_additional_js_variables')!='' ) { ?>
|
337 |
+
<label for="A2A_SHARE_SAVE_additional_js_variables"><? _e("<strong>Note</strong>: If you're adding new code, be careful not to accidentally overwrite any previous code.</label>", 'add-to-any'); ?>
|
338 |
<?php } ?>
|
339 |
</fieldset></td>
|
340 |
</tr>
|
341 |
</table>
|
342 |
|
343 |
<p class="submit">
|
344 |
+
<input type="submit" name="Submit" value="<?php _e('Save Changes', 'add-to-any' ) ?>" />
|
345 |
</p>
|
346 |
|
347 |
</form>
|
354 |
function A2A_SHARE_SAVE_add_menu_link() {
|
355 |
if( current_user_can('manage_options') ) {
|
356 |
add_options_page(
|
357 |
+
'Add to Any: '. __("Share/Save", "add-to-any"). " " . __("Settings")
|
358 |
+
, __("Share/Save Buttons", "add-to-any")
|
359 |
, 8
|
360 |
, basename(__FILE__)
|
361 |
, 'A2A_SHARE_SAVE_options_page'
|
add-to-any.po
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: add-to-any\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2008-09-26 01:55-0800\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: MicroPat\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-SearchPath-0: .\n"
|
15 |
+
|
16 |
+
#: add-to-any.php:132
|
17 |
+
msgid "Share"
|
18 |
+
msgstr ""
|
19 |
+
|
20 |
+
#: add-to-any.php:133
|
21 |
+
msgid "Save"
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#: add-to-any.php:134
|
25 |
+
msgid "Subscribe"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: add-to-any.php:135
|
29 |
+
msgid "Show all"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: add-to-any.php:136
|
33 |
+
msgid "Show less"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: add-to-any.php:137
|
37 |
+
msgid "Find service(s)"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: add-to-any.php:138
|
41 |
+
msgid "Instantly find any service to add to"
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: add-to-any.php:139
|
45 |
+
msgid "Powered by"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: add-to-any.php:140
|
49 |
+
msgid "Share via e-mail"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: add-to-any.php:141
|
53 |
+
msgid "Subscribe via e-mail"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: add-to-any.php:142
|
57 |
+
msgid "Bookmark in your browser"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: add-to-any.php:143
|
61 |
+
msgid "After clicking OK, press Ctrl+D or Cmd+D to bookmark this page"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: add-to-any.php:144
|
65 |
+
msgid "Add to your favorites"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: add-to-any.php:200
|
69 |
+
msgid "Settings saved."
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: add-to-any.php:209
|
73 |
+
msgid "Add to Any: Share/Save "
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: add-to-any.php:209
|
77 |
+
#: add-to-any.php:349
|
78 |
+
msgid "Settings"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: add-to-any.php:219
|
82 |
+
msgid "Button"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: add-to-any.php:248
|
86 |
+
msgid "Image URL"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: add-to-any.php:256
|
90 |
+
msgid "Button Placement"
|
91 |
+
msgstr ""
|
92 |
+
|
93 |
+
#: add-to-any.php:263
|
94 |
+
msgid "Display Share/Save button at the bottom of posts"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: add-to-any.php:270
|
98 |
+
msgid "Display Share/Save button at the bottom of posts on the front page"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: add-to-any.php:274
|
102 |
+
msgid "Display Share/Save button at the bottom of pages"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: add-to-any.php:278
|
106 |
+
msgid "If unchecked, be sure to place the following code in <a href=\"theme-editor.php\">your template pages</a> (within <code>index.php</code>, <code>single.php</code>, and/or <code>page.php</code>)"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: add-to-any.php:283
|
110 |
+
msgid "Menu Style"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: add-to-any.php:285
|
114 |
+
msgid "Using Add to Any's Menu Styler, you can customize the colors of your Share/Save menu! When you're done, be sure to paste the generated code in the <a href=\"#\" onclick=\"document.getElementById('A2A_SHARE_SAVE_additional_js_variables').focus();return false\">Additional Options</a> box below."
|
115 |
+
msgstr ""
|
116 |
+
|
117 |
+
#: add-to-any.php:287
|
118 |
+
msgid "Open the Add to Any Menu Styler in a new window"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: add-to-any.php:289
|
122 |
+
msgid "Open Menu Styler"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: add-to-any.php:294
|
126 |
+
msgid "Menu Options"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: add-to-any.php:299
|
130 |
+
msgid "Hide embedded objects (Flash, video, etc.) that intersect with the menu when displayed"
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: add-to-any.php:304
|
134 |
+
msgid "Show the title of the post (or page) within the menu"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: add-to-any.php:309
|
138 |
+
msgid "Only show the menu when the user clicks the Share/Save button"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: add-to-any.php:314
|
142 |
+
msgid "Additional Options"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: add-to-any.php:318
|
146 |
+
msgid "Paste the code from Add to Any's Menu Styler in the box below!"
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: add-to-any.php:322
|
150 |
+
msgid "Below you can set special JavaScript variables to apply to each Share/Save menu."
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: add-to-any.php:323
|
154 |
+
msgid "Advanced users might want to check out the code generated by Add to Any's general <a href=\"http://www.addtoany.com/buttons/share_save\">Share/Save button generator</a>."
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: add-to-any.php:329
|
158 |
+
msgid "<strong>Note</strong>: If you're adding new code, be careful not to accidentally overwrite any previous code.</label>"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: add-to-any.php:336
|
162 |
+
msgid "Save Changes"
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: add-to-any.php:349
|
166 |
+
msgid "Share/Save"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: add-to-any.php:350
|
170 |
+
msgid "Share/Save Buttons"
|
171 |
+
msgstr ""
|
172 |
+
|
favicon.png
CHANGED
Binary file
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
ADDED
Binary file
|
share_save_120_16.gif
CHANGED
Binary file
|
share_save_171_16.gif
CHANGED
Binary file
|
share_save_256_24.gif
CHANGED
Binary file
|