Plugin Directory

Changeset 686158


Ignore:
Timestamp:
03/23/2013 08:30:07 AM (13 years ago)
Author:
thewarlog
Message:

linkback

Location:
ra-fb-like-box
Files:
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • ra-fb-like-box/tags/1.4/ra_fb_like_box.php

    r686142 r686158  
    44   Plugin URI: http://blog.ecafechat.com/rashids-facebook-like-box-plugin-for-wordpress/
    55   Description: RA-FB Like Box enables you to display the facebook page likes in your website.
    6    Version: 1.3
     6   Version: 1.4
    77   Author: Rashid Azar
    88   Author URI: http://blog.ecafechat.com
     
    4242    static protected $_ra_stream       = "crafb_stream";
    4343    static protected $_ra_header       = "crafb_header";
    44    
     44    static protected $_ra_linkback     = "crafb_linkback";
     45
    4546    static protected $_ra_option_page_title = 'Rashid\'s Facebook Like Box';
    4647    static protected $_ra_option_menu_title = 'RA-FB Like Box';
     
    6061                'stream'        => stripslashes(get_option(self::$_ra_stream)),
    6162                'header'        => stripslashes(get_option(self::$_ra_header)),
     63                'linkback'      => stripslashes(get_option(self::$_ra_linkback)),
    6264        );
    6365       
     
    9395        style="border:none; overflow:hidden; width:<?php echo $option_value['width'];?>px; height:<?php echo $option_value['height'];?>px;">
    9496        </iframe>
     97        <small <?php echo $option_value['linkback'] == "false" ? 'style="display:none"' : "" ?>>
     98            <a href="http://www.ecafechat.com">By: Rashid Azar</a>
     99        </small>
     100
    95101    <?php
    96102    }
     
    109115    static function ra_fb_like_options_page(){
    110116        if(isset($_POST['ra_submit'])){
    111             if(true || !empty($_POST['ra_title']))      update_option(self::$_ra_title          , $_POST['ra_title']);
    112             if(!empty($_POST['ra_url']))            update_option(self::$_ra_url            , $_POST['ra_url']);
    113             if(!empty($_POST['ra_width']))          update_option(self::$_ra_width          , $_POST['ra_width']);
    114             if(!empty($_POST['ra_height']))         update_option(self::$_ra_height         , $_POST['ra_height']);
     117            if(true || !empty($_POST['ra_title']))  update_option(self::$_ra_title      , $_POST['ra_title']);
     118            if(!empty($_POST['ra_url']))        update_option(self::$_ra_url        , $_POST['ra_url']);
     119            if(!empty($_POST['ra_width']))      update_option(self::$_ra_width      , $_POST['ra_width']);
     120            if(!empty($_POST['ra_height']))     update_option(self::$_ra_height     , $_POST['ra_height']);
    115121            if(!empty($_POST['ra_color_scheme']))   update_option(self::$_ra_color_scheme   , $_POST['ra_color_scheme']);
    116             if(!empty($_POST['ra_show_faces']))     update_option(self::$_ra_show_faces     , $_POST['ra_show_faces']);
     122            if(!empty($_POST['ra_show_faces']))     update_option(self::$_ra_show_faces , $_POST['ra_show_faces']);
    117123            if(!empty($_POST['ra_border_color']))   update_option(self::$_ra_border_color   , $_POST['ra_border_color']);
    118             if(!empty($_POST['ra_stream']))         update_option(self::$_ra_stream         , $_POST['ra_stream']);
    119             if(!empty($_POST['ra_header']))         update_option(self::$_ra_header         , $_POST['ra_header']);
     124            if(!empty($_POST['ra_stream']))     update_option(self::$_ra_stream     , $_POST['ra_stream']);
     125            if(!empty($_POST['ra_header']))     update_option(self::$_ra_header     , $_POST['ra_header']);
     126            if(!empty($_POST['ra_linkback']))   update_option(self::$_ra_linkback   , $_POST['ra_linkback']);
    120127    ?>
    121128            <div id="message" class="updated fade"><p><strong><?php _e('Options saved successfully.'); ?></strong></p></div>
     
    222229                        <td>(Select the option to display the title)</td>
    223230                    </tr>
     231                    <tr>
     232                        <td width="150"><b>Linkback</b></td>
     233                        <td>
     234                            <select name="ra_linkback">
     235                                <option value="true" <?php if($option_value['linkback']=="true") echo "selected='selected'";?>>Yes</option>
     236                                <option value="false" <?php if($option_value['linkback']=="false") echo "selected='selected'";?>>No</option>
     237                            </select>
     238                        </td>
     239                    </tr>
     240                    <tr>
     241                        <td width="150"></td>
     242                        <td>(Linkback to plugin site)</td>
     243                    </tr>
    224244                    <tr height="60">
    225245                        <td></td>
  • ra-fb-like-box/tags/1.4/readme.txt

    r686142 r686158  
    55Requires at least: 3.3.1
    66Tested up to: 3.5.1
    7 Stable tag: 1.3
     7Stable tag: 1.4
    88
    99RA-FB Like Box enables you to display the facebook page likes in your website.
  • ra-fb-like-box/trunk/ra_fb_like_box.php

    r686142 r686158  
    44   Plugin URI: http://blog.ecafechat.com/rashids-facebook-like-box-plugin-for-wordpress/
    55   Description: RA-FB Like Box enables you to display the facebook page likes in your website.
    6    Version: 1.3
     6   Version: 1.4
    77   Author: Rashid Azar
    88   Author URI: http://blog.ecafechat.com
     
    4242    static protected $_ra_stream       = "crafb_stream";
    4343    static protected $_ra_header       = "crafb_header";
    44    
     44    static protected $_ra_linkback     = "crafb_linkback";
     45
    4546    static protected $_ra_option_page_title = 'Rashid\'s Facebook Like Box';
    4647    static protected $_ra_option_menu_title = 'RA-FB Like Box';
     
    6061                'stream'        => stripslashes(get_option(self::$_ra_stream)),
    6162                'header'        => stripslashes(get_option(self::$_ra_header)),
     63                'linkback'      => stripslashes(get_option(self::$_ra_linkback)),
    6264        );
    6365       
     
    9395        style="border:none; overflow:hidden; width:<?php echo $option_value['width'];?>px; height:<?php echo $option_value['height'];?>px;">
    9496        </iframe>
     97        <small <?php echo $option_value['linkback'] == "false" ? 'style="display:none"' : "" ?>>
     98            <a href="http://www.ecafechat.com">By: Rashid Azar</a>
     99        </small>
     100
    95101    <?php
    96102    }
     
    109115    static function ra_fb_like_options_page(){
    110116        if(isset($_POST['ra_submit'])){
    111             if(true || !empty($_POST['ra_title']))      update_option(self::$_ra_title          , $_POST['ra_title']);
    112             if(!empty($_POST['ra_url']))            update_option(self::$_ra_url            , $_POST['ra_url']);
    113             if(!empty($_POST['ra_width']))          update_option(self::$_ra_width          , $_POST['ra_width']);
    114             if(!empty($_POST['ra_height']))         update_option(self::$_ra_height         , $_POST['ra_height']);
     117            if(true || !empty($_POST['ra_title']))  update_option(self::$_ra_title      , $_POST['ra_title']);
     118            if(!empty($_POST['ra_url']))        update_option(self::$_ra_url        , $_POST['ra_url']);
     119            if(!empty($_POST['ra_width']))      update_option(self::$_ra_width      , $_POST['ra_width']);
     120            if(!empty($_POST['ra_height']))     update_option(self::$_ra_height     , $_POST['ra_height']);
    115121            if(!empty($_POST['ra_color_scheme']))   update_option(self::$_ra_color_scheme   , $_POST['ra_color_scheme']);
    116             if(!empty($_POST['ra_show_faces']))     update_option(self::$_ra_show_faces     , $_POST['ra_show_faces']);
     122            if(!empty($_POST['ra_show_faces']))     update_option(self::$_ra_show_faces , $_POST['ra_show_faces']);
    117123            if(!empty($_POST['ra_border_color']))   update_option(self::$_ra_border_color   , $_POST['ra_border_color']);
    118             if(!empty($_POST['ra_stream']))         update_option(self::$_ra_stream         , $_POST['ra_stream']);
    119             if(!empty($_POST['ra_header']))         update_option(self::$_ra_header         , $_POST['ra_header']);
     124            if(!empty($_POST['ra_stream']))     update_option(self::$_ra_stream     , $_POST['ra_stream']);
     125            if(!empty($_POST['ra_header']))     update_option(self::$_ra_header     , $_POST['ra_header']);
     126            if(!empty($_POST['ra_linkback']))   update_option(self::$_ra_linkback   , $_POST['ra_linkback']);
    120127    ?>
    121128            <div id="message" class="updated fade"><p><strong><?php _e('Options saved successfully.'); ?></strong></p></div>
     
    222229                        <td>(Select the option to display the title)</td>
    223230                    </tr>
     231                    <tr>
     232                        <td width="150"><b>Linkback</b></td>
     233                        <td>
     234                            <select name="ra_linkback">
     235                                <option value="true" <?php if($option_value['linkback']=="true") echo "selected='selected'";?>>Yes</option>
     236                                <option value="false" <?php if($option_value['linkback']=="false") echo "selected='selected'";?>>No</option>
     237                            </select>
     238                        </td>
     239                    </tr>
     240                    <tr>
     241                        <td width="150"></td>
     242                        <td>(Linkback to plugin site)</td>
     243                    </tr>
    224244                    <tr height="60">
    225245                        <td></td>
  • ra-fb-like-box/trunk/readme.txt

    r686142 r686158  
    55Requires at least: 3.3.1
    66Tested up to: 3.5.1
    7 Stable tag: 1.3
     7Stable tag: 1.4
    88
    99RA-FB Like Box enables you to display the facebook page likes in your website.
Note: See TracChangeset for help on using the changeset viewer.