Version Description
Download this release
Release Info
Developer | joostdevalk |
Plugin | Sociable |
Version | 3.2.3 |
Comparing to | |
See all releases |
Code changes from version 3.2.2 to 3.2.3
- readme.txt +2 -1
- sociable-admin.css +3 -2
- sociable-admin.js +11 -11
- sociable.php +1 -3
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/donate/
|
|
4 |
Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 2.8
|
7 |
-
Stable tag: 3.2.
|
8 |
|
9 |
Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites. WordPress 2.6 or above required!
|
10 |
|
@@ -19,6 +19,7 @@ More info:
|
|
19 |
|
20 |
**Changelog**
|
21 |
|
|
|
22 |
* 3.2.2 Moved style loading to admin_print_styles and scripts to admin_print_scripts
|
23 |
* 3.2.1 Fixed a bug with printing styles in 2.8 beta
|
24 |
* 3.2
|
4 |
Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 2.8
|
7 |
+
Stable tag: 3.2.3
|
8 |
|
9 |
Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites. WordPress 2.6 or above required!
|
10 |
|
19 |
|
20 |
**Changelog**
|
21 |
|
22 |
+
* 3.2.3 Removed the last bit of non jQuery javascript, improved styling and visual feedback when selecting a site
|
23 |
* 3.2.2 Moved style loading to admin_print_styles and scripts to admin_print_scripts
|
24 |
* 3.2.1 Fixed a bug with printing styles in 2.8 beta
|
25 |
* 3.2
|
sociable-admin.css
CHANGED
@@ -14,12 +14,13 @@
|
|
14 |
cursor: move;
|
15 |
float: left;
|
16 |
margin: 2px 2px 0 0;
|
17 |
-
width:
|
18 |
height: 20px;
|
19 |
text-align: left;
|
20 |
font-size: 10px;
|
21 |
padding: 4px;
|
22 |
-moz-border-radius: 5px;
|
|
|
23 |
border-radius: 5px;
|
24 |
}
|
25 |
#sociable_site_list li.active {
|
@@ -40,7 +41,7 @@
|
|
40 |
}
|
41 |
#sociable_site_list li input {
|
42 |
height: 12px;
|
43 |
-
margin: 0 5px
|
44 |
padding: 0;
|
45 |
background: transparent;
|
46 |
border: none;
|
14 |
cursor: move;
|
15 |
float: left;
|
16 |
margin: 2px 2px 0 0;
|
17 |
+
width: 135px;
|
18 |
height: 20px;
|
19 |
text-align: left;
|
20 |
font-size: 10px;
|
21 |
padding: 4px;
|
22 |
-moz-border-radius: 5px;
|
23 |
+
-webkit-border-radius: 5px;
|
24 |
border-radius: 5px;
|
25 |
}
|
26 |
#sociable_site_list li.active {
|
41 |
}
|
42 |
#sociable_site_list li input {
|
43 |
height: 12px;
|
44 |
+
margin: 0 5px 8px 0;
|
45 |
padding: 0;
|
46 |
background: transparent;
|
47 |
border: none;
|
sociable-admin.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
jQuery(document).ready(function(){
|
2 |
-
|
3 |
-
});
|
4 |
-
/* make checkbox action prettier */
|
5 |
-
function toggle_checkbox(id) {
|
6 |
-
var checkbox = document.getElementById(id);
|
7 |
|
8 |
-
checkbox.
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
|
1 |
jQuery(document).ready(function(){
|
2 |
+
jQuery("#sociable_site_list").sortable({});
|
|
|
|
|
|
|
|
|
3 |
|
4 |
+
jQuery("#sociable_site_list input:checkbox").change(function() {
|
5 |
+
if (jQuery(this).attr('checked')) {
|
6 |
+
jQuery(this).parent().removeClass("inactive");
|
7 |
+
jQuery(this).parent().addClass("active");
|
8 |
+
} else {
|
9 |
+
jQuery(this).parent().removeClass('active');
|
10 |
+
jQuery(this).parent().addClass('inactive');
|
11 |
+
}
|
12 |
+
} );
|
13 |
+
});
|
sociable.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Sociable
|
4 |
Plugin URI: http://yoast.com/wordpress/sociable/
|
5 |
Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
|
6 |
-
Version: 3.2.
|
7 |
Author: Joost de Valk
|
8 |
Author URI: http://yoast.com/
|
9 |
|
@@ -843,9 +843,7 @@ function sociable_submenu() {
|
|
843 |
<input
|
844 |
type="checkbox"
|
845 |
id="cb_<?php echo $sitename; ?>"
|
846 |
-
class="checkbox"
|
847 |
name="active_sites[<?php echo $sitename; ?>]"
|
848 |
-
onclick="javascript:toggle_checkbox('<?php echo $sitename; ?>');"
|
849 |
<?php echo (in_array($sitename, $active_sites)) ? ' checked="checked"' : ''; ?>
|
850 |
/>
|
851 |
<img src="<?php echo $sociablepluginpath.'images/'.$site['favicon']; ?>" width="16" height="16" alt="" />
|
3 |
Plugin Name: Sociable
|
4 |
Plugin URI: http://yoast.com/wordpress/sociable/
|
5 |
Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
|
6 |
+
Version: 3.2.3
|
7 |
Author: Joost de Valk
|
8 |
Author URI: http://yoast.com/
|
9 |
|
843 |
<input
|
844 |
type="checkbox"
|
845 |
id="cb_<?php echo $sitename; ?>"
|
|
|
846 |
name="active_sites[<?php echo $sitename; ?>]"
|
|
|
847 |
<?php echo (in_array($sitename, $active_sites)) ? ' checked="checked"' : ''; ?>
|
848 |
/>
|
849 |
<img src="<?php echo $sociablepluginpath.'images/'.$site['favicon']; ?>" width="16" height="16" alt="" />
|