Changeset 725319
- Timestamp:
- 06/11/2013 01:59:40 PM (13 years ago)
- Location:
- wp-social-bookmarking-light
- Files:
-
- 10 edited
- 1 copied
-
tags/1.7.5 (copied) (copied from wp-social-bookmarking-light/trunk)
-
tags/1.7.5/modules/admin.php (modified) (4 diffs)
-
tags/1.7.5/modules/options.php (modified) (2 diffs)
-
tags/1.7.5/modules/services.php (modified) (1 diff)
-
tags/1.7.5/readme.txt (modified) (3 diffs)
-
tags/1.7.5/wp-social-bookmarking-light.php (modified) (1 diff)
-
trunk/modules/admin.php (modified) (4 diffs)
-
trunk/modules/options.php (modified) (2 diffs)
-
trunk/modules/services.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wp-social-bookmarking-light.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-social-bookmarking-light/tags/1.7.5/modules/admin.php
r650224 r725319 182 182 183 183 is_simply = is_simply || false; 184 var services = ['mixi', 'twitter', 'hatena_button', 'facebook', 'gree', 'evernote', 'tumblr', 'atode', 'google_plus_one', 'line' ];184 var services = ['mixi', 'twitter', 'hatena_button', 'facebook', 'gree', 'evernote', 'tumblr', 'atode', 'google_plus_one', 'line', 'pocket']; 185 185 for(var i in services){ 186 186 wsbl_tab_toggle(services[i], is_simply); … … 282 282 <li id='google_plus_one_settings'><a href="#tabs-11"><span><?php _el("google_plus_one") ?></span></a></li> 283 283 <li id='line_settings'><a href="#tabs-12"><span><?php _el("line") ?></span></a></li> 284 <li id='pocket_settings'><a href="#tabs-13"><span><?php _el("pocket") ?></span></a></li> 284 285 </ul> 285 286 … … 767 768 </table> 768 769 </div> 770 771 <!-- pocket --> 772 <div id="tabs-13"> 773 <table class='form-table'> 774 <tr> 775 <th scope="row">Button type:</th> 776 <td> 777 <select name='pocket_button_type'> 778 <option value='none' <?php if( $options['pocket']['button_type'] == 'none' ) echo 'selected'; ?>>none</option> 779 <option value='horizontal' <?php if( $options['pocket']['button_type'] == 'horizontal' ) echo 'selected'; ?>>horizontal</option> 780 <option value='vertical' <?php if( $options['pocket']['button_type'] == 'vertical' ) echo 'selected'; ?>>vertical</option> 781 </select> 782 </td> 783 </tr> 784 </table> 785 </div> 769 786 770 787 </div> … … 817 834 <tr><td>atode</td><td>atode (toread)</td></tr> 818 835 <tr><td>line</td><td>LINE Button</td></tr> 836 <tr><td>pocket</td><td>Pocket Button</td></tr> 819 837 </table> 820 838 </div> -
wp-social-bookmarking-light/tags/1.7.5/modules/options.php
r650224 r725319 84 84 'inline_size' => '250'), 85 85 'line' => array('button_type' => 'line88x20'), 86 'pocket' => array('button_type' => 'none'), 86 87 ); 87 88 } … … 146 147 'inline_size' => $data['google_plus_one_inline_size']), 147 148 'line' => array('button_type' => $data['line_button_type']), 149 'pocket' => array('button_type' => $data['pocket_button_type']), 148 150 ); 149 151 update_option( 'wp_social_bookmarking_light_options', $options ); -
wp-social-bookmarking-light/tags/1.7.5/modules/services.php
r650224 r725319 570 570 return $this->link("http://line.naver.jp/R/msg/text/?{$this->title}%0D%0A{$this->url}", "LINEで送る", $icon, $width, $height); 571 571 } 572 572 573 /** 574 * @brief Pocket 575 */ 576 function pocket() 577 { 578 $options = wp_social_bookmarking_light_options(); 579 return $this->link_raw('<a href="https://getpocket.com/save" class="pocket-btn" data-lang="en" data-save-url="' . $this->url . '" data-pocket-count="' . $options['pocket']['button_type'] . '" data-pocket-align="left" >Pocket</a><script type="text/javascript">!function(d,i){if(!d.getElementById(i)){var j=d.createElement("script");j.id=i;j.src="https://widgets.getpocket.com/v1/j/btn.js?v=1";var w=d.getElementById(i);d.body.appendChild(j);}}(document,"pocket-btn-js");</script>'); 580 } 581 573 582 } 574 583 -
wp-social-bookmarking-light/tags/1.7.5/readme.txt
r650224 r725319 2 2 Contributors: utahvich 3 3 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 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 5 Requires at least: 2.9.0 6 6 Tested up to: 3.5 7 Stable tag: 1.7. 47 Stable tag: 1.7.5 8 8 9 9 This plugin inserts social share links at the top or bottom of each post. … … 45 45 * atode (toread) 46 46 * LINE 47 * Pocket 47 48 48 49 == Installation == … … 59 60 60 61 == Changelog == 62 63 = 1.7.5 = 64 * Added: Pocket Button 61 65 62 66 = 1.7.4 = -
wp-social-bookmarking-light/tags/1.7.5/wp-social-bookmarking-light.php
r650224 r725319 6 6 Author: utahta 7 7 Author URI: http://www.ninxit.com/blog/ 8 Version: 1.7. 48 Version: 1.7.5 9 9 */ 10 10 /* -
wp-social-bookmarking-light/trunk/modules/admin.php
r650224 r725319 182 182 183 183 is_simply = is_simply || false; 184 var services = ['mixi', 'twitter', 'hatena_button', 'facebook', 'gree', 'evernote', 'tumblr', 'atode', 'google_plus_one', 'line' ];184 var services = ['mixi', 'twitter', 'hatena_button', 'facebook', 'gree', 'evernote', 'tumblr', 'atode', 'google_plus_one', 'line', 'pocket']; 185 185 for(var i in services){ 186 186 wsbl_tab_toggle(services[i], is_simply); … … 282 282 <li id='google_plus_one_settings'><a href="#tabs-11"><span><?php _el("google_plus_one") ?></span></a></li> 283 283 <li id='line_settings'><a href="#tabs-12"><span><?php _el("line") ?></span></a></li> 284 <li id='pocket_settings'><a href="#tabs-13"><span><?php _el("pocket") ?></span></a></li> 284 285 </ul> 285 286 … … 767 768 </table> 768 769 </div> 770 771 <!-- pocket --> 772 <div id="tabs-13"> 773 <table class='form-table'> 774 <tr> 775 <th scope="row">Button type:</th> 776 <td> 777 <select name='pocket_button_type'> 778 <option value='none' <?php if( $options['pocket']['button_type'] == 'none' ) echo 'selected'; ?>>none</option> 779 <option value='horizontal' <?php if( $options['pocket']['button_type'] == 'horizontal' ) echo 'selected'; ?>>horizontal</option> 780 <option value='vertical' <?php if( $options['pocket']['button_type'] == 'vertical' ) echo 'selected'; ?>>vertical</option> 781 </select> 782 </td> 783 </tr> 784 </table> 785 </div> 769 786 770 787 </div> … … 817 834 <tr><td>atode</td><td>atode (toread)</td></tr> 818 835 <tr><td>line</td><td>LINE Button</td></tr> 836 <tr><td>pocket</td><td>Pocket Button</td></tr> 819 837 </table> 820 838 </div> -
wp-social-bookmarking-light/trunk/modules/options.php
r650224 r725319 84 84 'inline_size' => '250'), 85 85 'line' => array('button_type' => 'line88x20'), 86 'pocket' => array('button_type' => 'none'), 86 87 ); 87 88 } … … 146 147 'inline_size' => $data['google_plus_one_inline_size']), 147 148 'line' => array('button_type' => $data['line_button_type']), 149 'pocket' => array('button_type' => $data['pocket_button_type']), 148 150 ); 149 151 update_option( 'wp_social_bookmarking_light_options', $options ); -
wp-social-bookmarking-light/trunk/modules/services.php
r650224 r725319 570 570 return $this->link("http://line.naver.jp/R/msg/text/?{$this->title}%0D%0A{$this->url}", "LINEで送る", $icon, $width, $height); 571 571 } 572 572 573 /** 574 * @brief Pocket 575 */ 576 function pocket() 577 { 578 $options = wp_social_bookmarking_light_options(); 579 return $this->link_raw('<a href="https://getpocket.com/save" class="pocket-btn" data-lang="en" data-save-url="' . $this->url . '" data-pocket-count="' . $options['pocket']['button_type'] . '" data-pocket-align="left" >Pocket</a><script type="text/javascript">!function(d,i){if(!d.getElementById(i)){var j=d.createElement("script");j.id=i;j.src="https://widgets.getpocket.com/v1/j/btn.js?v=1";var w=d.getElementById(i);d.body.appendChild(j);}}(document,"pocket-btn-js");</script>'); 580 } 581 573 582 } 574 583 -
wp-social-bookmarking-light/trunk/readme.txt
r650224 r725319 2 2 Contributors: utahvich 3 3 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 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 5 Requires at least: 2.9.0 6 6 Tested up to: 3.5 7 Stable tag: 1.7. 47 Stable tag: 1.7.5 8 8 9 9 This plugin inserts social share links at the top or bottom of each post. … … 45 45 * atode (toread) 46 46 * LINE 47 * Pocket 47 48 48 49 == Installation == … … 59 60 60 61 == Changelog == 62 63 = 1.7.5 = 64 * Added: Pocket Button 61 65 62 66 = 1.7.4 = -
wp-social-bookmarking-light/trunk/wp-social-bookmarking-light.php
r650224 r725319 6 6 Author: utahta 7 7 Author URI: http://www.ninxit.com/blog/ 8 Version: 1.7. 48 Version: 1.7.5 9 9 */ 10 10 /*
Note: See TracChangeset
for help on using the changeset viewer.