Version Description
- Fixed: https security warning in IE. (Hatena, Facebook and Twitter Button)
- Improved: Hatena Button layout
Download this release
Release Info
Developer | utahvich |
Plugin | WP Social Bookmarking Light |
Version | 1.7.7 |
Comparing to | |
See all releases |
Code changes from version 1.7.6 to 1.7.7
- modules/admin.php +3 -0
- modules/options.php +3 -2
- modules/services.php +4 -4
- readme.txt +5 -1
- wp-social-bookmarking-light.php +1 -1
modules/admin.php
CHANGED
@@ -461,8 +461,11 @@ function wp_social_bookmarking_light_options_page()
|
|
461 |
<th scope="row">Layout:</th>
|
462 |
<td>
|
463 |
<select name='hatena_button_layout'>
|
|
|
|
|
464 |
<option value='standard' <?php if( $options['hatena_button']['layout'] == 'standard' ) echo 'selected'; ?>>standard</option>
|
465 |
<option value='simple' <?php if( $options['hatena_button']['layout'] == 'simple' ) echo 'selected'; ?>>simple</option>
|
|
|
466 |
</select>
|
467 |
</td>
|
468 |
</tr>
|
461 |
<th scope="row">Layout:</th>
|
462 |
<td>
|
463 |
<select name='hatena_button_layout'>
|
464 |
+
<option value='standard-balloon' <?php if( $options['hatena_button']['layout'] == 'standard-balloon' ) echo 'selected'; ?>>standard-balloon</option>
|
465 |
+
<option value='standard-noballoon' <?php if( $options['hatena_button']['layout'] == 'standard-noballoon' ) echo 'selected'; ?>>standard-noballoon</option>
|
466 |
<option value='standard' <?php if( $options['hatena_button']['layout'] == 'standard' ) echo 'selected'; ?>>standard</option>
|
467 |
<option value='simple' <?php if( $options['hatena_button']['layout'] == 'simple' ) echo 'selected'; ?>>simple</option>
|
468 |
+
<option value='simple-balloon' <?php if( $options['hatena_button']['layout'] == 'simple-balloon' ) echo 'selected'; ?>>simple-balloon</option>
|
469 |
</select>
|
470 |
</td>
|
471 |
</tr>
|
modules/options.php
CHANGED
@@ -32,7 +32,8 @@ function wp_social_bookmarking_light_default_options()
|
|
32 |
border: 0 !important;
|
33 |
padding: 0 !important;
|
34 |
margin: 0 5px 0px 0 !important;
|
35 |
-
|
|
|
36 |
text-indent: 0 !important;
|
37 |
}
|
38 |
.wp_social_bookmarking_light img{
|
@@ -67,7 +68,7 @@ EOT;
|
|
67 |
"twitter" => array('via' => "",
|
68 |
'lang' => "en",
|
69 |
'count' => 'horizontal'),
|
70 |
-
"hatena_button" => array('layout' => '
|
71 |
'facebook' => array('locale' => 'en_US',
|
72 |
'version' => 'xfbml',
|
73 |
'fb_root' => true),
|
32 |
border: 0 !important;
|
33 |
padding: 0 !important;
|
34 |
margin: 0 5px 0px 0 !important;
|
35 |
+
min-height: 30px !important;
|
36 |
+
line-height: 18px !important;
|
37 |
text-indent: 0 !important;
|
38 |
}
|
39 |
.wp_social_bookmarking_light img{
|
68 |
"twitter" => array('via' => "",
|
69 |
'lang' => "en",
|
70 |
'count' => 'horizontal'),
|
71 |
+
"hatena_button" => array('layout' => 'simple-balloon'),
|
72 |
'facebook' => array('locale' => 'en_US',
|
73 |
'version' => 'xfbml',
|
74 |
'fb_root' => true),
|
modules/services.php
CHANGED
@@ -87,9 +87,9 @@ class WpSocialBookmarkingLight
|
|
87 |
.' data-hatena-bookmark-title="'.$title.'"'
|
88 |
.' data-hatena-bookmark-layout="'.$options['hatena_button']['layout'].'"'
|
89 |
.' title="'.$alt.'">'
|
90 |
-
.' <img src="
|
91 |
.' alt="'.$alt.'" width="20" height="20" style="border: none;" /></a>'
|
92 |
-
.'<script type="text/javascript" src="
|
93 |
}
|
94 |
|
95 |
/**
|
@@ -130,7 +130,7 @@ class WpSocialBookmarkingLight
|
|
130 |
$options = wp_social_bookmarking_light_options();
|
131 |
$twitter = $options['twitter'];
|
132 |
return $this->link_raw('<iframe allowtransparency="true" frameborder="0" scrolling="no"'
|
133 |
-
.' src="
|
134 |
.'?url='.$this->encode_url
|
135 |
.'&text='.$this->encode_title
|
136 |
.($twitter['via'] != '' ? '&via='.$twitter['via'] : '')
|
@@ -399,7 +399,7 @@ class WpSocialBookmarkingLight
|
|
399 |
.'</fb:like>');
|
400 |
}
|
401 |
else{
|
402 |
-
return $this->link_raw('<iframe src="
|
403 |
.'&layout='.$layout
|
404 |
.'&show_faces=false'
|
405 |
.'&width='.$width
|
87 |
.' data-hatena-bookmark-title="'.$title.'"'
|
88 |
.' data-hatena-bookmark-layout="'.$options['hatena_button']['layout'].'"'
|
89 |
.' title="'.$alt.'">'
|
90 |
+
.' <img src="//b.hatena.ne.jp/images/entry-button/button-only@2x.png"'
|
91 |
.' alt="'.$alt.'" width="20" height="20" style="border: none;" /></a>'
|
92 |
+
.'<script type="text/javascript" src="//b.hatena.ne.jp/js/bookmark_button.js" charset="utf-8" async="async"></script>');
|
93 |
}
|
94 |
|
95 |
/**
|
130 |
$options = wp_social_bookmarking_light_options();
|
131 |
$twitter = $options['twitter'];
|
132 |
return $this->link_raw('<iframe allowtransparency="true" frameborder="0" scrolling="no"'
|
133 |
+
.' src="//platform.twitter.com/widgets/tweet_button.html'
|
134 |
.'?url='.$this->encode_url
|
135 |
.'&text='.$this->encode_title
|
136 |
.($twitter['via'] != '' ? '&via='.$twitter['via'] : '')
|
399 |
.'</fb:like>');
|
400 |
}
|
401 |
else{
|
402 |
+
return $this->link_raw('<iframe src="//www.facebook.com/plugins/like.php?href='.$this->encode_url
|
403 |
.'&layout='.$layout
|
404 |
.'&show_faces=false'
|
405 |
.'&width='.$width
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: links, social, bookmarks, bookmarking, Hatena, Livedoor Clip, BuzzURL, @nifty clip, Twitter, Tumblr, FC2 Bookmark, newsing, Choix, Yahoo!JAPAN Bookmark, Yahoo!Buzz, Google Bookmark, Delicious, Digg, FriendFeed, Google Buzz, Facebook, reddit, LinkedIn, Evernote, Instapaper, StumbleUpon, mixi, gree, atode, toread, line, pocket
|
5 |
Requires at least: 2.9.0
|
6 |
Tested up to: 3.8
|
7 |
-
Stable tag: 1.7.
|
8 |
|
9 |
This plugin inserts social share links at the top or bottom of each post.
|
10 |
|
@@ -61,6 +61,10 @@ This is the list of used social sites:
|
|
61 |
|
62 |
== Changelog ==
|
63 |
|
|
|
|
|
|
|
|
|
64 |
= 1.7.6 =
|
65 |
* Improved: Facebook Like, Share and Send Button
|
66 |
* Improved: CSS
|
4 |
Tags: links, social, bookmarks, bookmarking, Hatena, Livedoor Clip, BuzzURL, @nifty clip, Twitter, Tumblr, FC2 Bookmark, newsing, Choix, Yahoo!JAPAN Bookmark, Yahoo!Buzz, Google Bookmark, Delicious, Digg, FriendFeed, Google Buzz, Facebook, reddit, LinkedIn, Evernote, Instapaper, StumbleUpon, mixi, gree, atode, toread, line, pocket
|
5 |
Requires at least: 2.9.0
|
6 |
Tested up to: 3.8
|
7 |
+
Stable tag: 1.7.7
|
8 |
|
9 |
This plugin inserts social share links at the top or bottom of each post.
|
10 |
|
61 |
|
62 |
== Changelog ==
|
63 |
|
64 |
+
= 1.7.7 =
|
65 |
+
* Fixed: https security warning in IE. (Hatena, Facebook and Twitter Button)
|
66 |
+
* Improved: Hatena Button layout
|
67 |
+
|
68 |
= 1.7.6 =
|
69 |
* Improved: Facebook Like, Share and Send Button
|
70 |
* Improved: CSS
|
wp-social-bookmarking-light.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ninxit.com/blog/2010/06/13/wp-social-bookmarking-light/
|
|
5 |
Description: This plugin inserts social share links at the top or bottom of each post.
|
6 |
Author: utahta
|
7 |
Author URI: http://www.ninxit.com/blog/
|
8 |
-
Version: 1.7.
|
9 |
*/
|
10 |
/*
|
11 |
Copyright 2010 utahta (email : labs.ninxit@gmail.com)
|
5 |
Description: This plugin inserts social share links at the top or bottom of each post.
|
6 |
Author: utahta
|
7 |
Author URI: http://www.ninxit.com/blog/
|
8 |
+
Version: 1.7.7
|
9 |
*/
|
10 |
/*
|
11 |
Copyright 2010 utahta (email : labs.ninxit@gmail.com)
|