Plugin Directory

Changeset 725319


Ignore:
Timestamp:
06/11/2013 01:59:40 PM (13 years ago)
Author:
utahvich
Message:

update 1.7.5

Location:
wp-social-bookmarking-light
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-social-bookmarking-light/tags/1.7.5/modules/admin.php

    r650224 r725319  
    182182   
    183183    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'];
    185185    for(var i in services){
    186186        wsbl_tab_toggle(services[i], is_simply);
     
    282282            <li id='google_plus_one_settings'><a href="#tabs-11"><span><?php _el("google_plus_one") ?></span></a></li>
    283283            <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>
    284285            </ul>
    285286
     
    767768            </table>
    768769        </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>
    769786       
    770787    </div>
     
    817834    <tr><td>atode</td><td>atode (toread)</td></tr>
    818835    <tr><td>line</td><td>LINE Button</td></tr>
     836    <tr><td>pocket</td><td>Pocket Button</td></tr>
    819837    </table>
    820838</div>
  • wp-social-bookmarking-light/tags/1.7.5/modules/options.php

    r650224 r725319  
    8484                                             'inline_size' => '250'),
    8585                  'line' => array('button_type' => 'line88x20'),
     86                  'pocket' => array('button_type' => 'none'),
    8687    );
    8788}
     
    146147                                                  'inline_size' => $data['google_plus_one_inline_size']),
    147148                      'line' => array('button_type' => $data['line_button_type']),
     149                      'pocket' => array('button_type' => $data['pocket_button_type']),
    148150    );
    149151    update_option( 'wp_social_bookmarking_light_options', $options );
  • wp-social-bookmarking-light/tags/1.7.5/modules/services.php

    r650224 r725319  
    570570        return $this->link("http://line.naver.jp/R/msg/text/?{$this->title}%0D%0A{$this->url}", "LINEで送る", $icon, $width, $height);
    571571    }
    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
    573582}
    574583
  • wp-social-bookmarking-light/tags/1.7.5/readme.txt

    r650224 r725319  
    22Contributors: utahvich
    33Donate 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
     4Tags: 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
    55Requires at least: 2.9.0
    66Tested up to: 3.5
    7 Stable tag: 1.7.4
     7Stable tag: 1.7.5
    88
    99This plugin inserts social share links at the top or bottom of each post.
     
    4545*  atode (toread)
    4646*  LINE
     47*  Pocket
    4748
    4849== Installation ==
     
    5960
    6061== Changelog ==
     62
     63= 1.7.5 =
     64* Added: Pocket Button
    6165
    6266= 1.7.4 =
  • wp-social-bookmarking-light/tags/1.7.5/wp-social-bookmarking-light.php

    r650224 r725319  
    66Author: utahta
    77Author URI: http://www.ninxit.com/blog/
    8 Version: 1.7.4
     8Version: 1.7.5
    99*/
    1010/*
  • wp-social-bookmarking-light/trunk/modules/admin.php

    r650224 r725319  
    182182   
    183183    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'];
    185185    for(var i in services){
    186186        wsbl_tab_toggle(services[i], is_simply);
     
    282282            <li id='google_plus_one_settings'><a href="#tabs-11"><span><?php _el("google_plus_one") ?></span></a></li>
    283283            <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>
    284285            </ul>
    285286
     
    767768            </table>
    768769        </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>
    769786       
    770787    </div>
     
    817834    <tr><td>atode</td><td>atode (toread)</td></tr>
    818835    <tr><td>line</td><td>LINE Button</td></tr>
     836    <tr><td>pocket</td><td>Pocket Button</td></tr>
    819837    </table>
    820838</div>
  • wp-social-bookmarking-light/trunk/modules/options.php

    r650224 r725319  
    8484                                             'inline_size' => '250'),
    8585                  'line' => array('button_type' => 'line88x20'),
     86                  'pocket' => array('button_type' => 'none'),
    8687    );
    8788}
     
    146147                                                  'inline_size' => $data['google_plus_one_inline_size']),
    147148                      'line' => array('button_type' => $data['line_button_type']),
     149                      'pocket' => array('button_type' => $data['pocket_button_type']),
    148150    );
    149151    update_option( 'wp_social_bookmarking_light_options', $options );
  • wp-social-bookmarking-light/trunk/modules/services.php

    r650224 r725319  
    570570        return $this->link("http://line.naver.jp/R/msg/text/?{$this->title}%0D%0A{$this->url}", "LINEで送る", $icon, $width, $height);
    571571    }
    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
    573582}
    574583
  • wp-social-bookmarking-light/trunk/readme.txt

    r650224 r725319  
    22Contributors: utahvich
    33Donate 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
     4Tags: 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
    55Requires at least: 2.9.0
    66Tested up to: 3.5
    7 Stable tag: 1.7.4
     7Stable tag: 1.7.5
    88
    99This plugin inserts social share links at the top or bottom of each post.
     
    4545*  atode (toread)
    4646*  LINE
     47*  Pocket
    4748
    4849== Installation ==
     
    5960
    6061== Changelog ==
     62
     63= 1.7.5 =
     64* Added: Pocket Button
    6165
    6266= 1.7.4 =
  • wp-social-bookmarking-light/trunk/wp-social-bookmarking-light.php

    r650224 r725319  
    66Author: utahta
    77Author URI: http://www.ninxit.com/blog/
    8 Version: 1.7.4
     8Version: 1.7.5
    99*/
    1010/*
Note: See TracChangeset for help on using the changeset viewer.