Changeset 686158
- Timestamp:
- 03/23/2013 08:30:07 AM (13 years ago)
- Location:
- ra-fb-like-box
- Files:
-
- 2 edited
- 3 copied
-
tags/1.4 (copied) (copied from ra-fb-like-box/trunk)
-
tags/1.4/ra_fb_like_box.php (copied) (copied from ra-fb-like-box/trunk/ra_fb_like_box.php) (6 diffs)
-
tags/1.4/readme.txt (copied) (copied from ra-fb-like-box/trunk/readme.txt) (1 diff)
-
trunk/ra_fb_like_box.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ra-fb-like-box/tags/1.4/ra_fb_like_box.php
r686142 r686158 4 4 Plugin URI: http://blog.ecafechat.com/rashids-facebook-like-box-plugin-for-wordpress/ 5 5 Description: RA-FB Like Box enables you to display the facebook page likes in your website. 6 Version: 1. 36 Version: 1.4 7 7 Author: Rashid Azar 8 8 Author URI: http://blog.ecafechat.com … … 42 42 static protected $_ra_stream = "crafb_stream"; 43 43 static protected $_ra_header = "crafb_header"; 44 44 static protected $_ra_linkback = "crafb_linkback"; 45 45 46 static protected $_ra_option_page_title = 'Rashid\'s Facebook Like Box'; 46 47 static protected $_ra_option_menu_title = 'RA-FB Like Box'; … … 60 61 'stream' => stripslashes(get_option(self::$_ra_stream)), 61 62 'header' => stripslashes(get_option(self::$_ra_header)), 63 'linkback' => stripslashes(get_option(self::$_ra_linkback)), 62 64 ); 63 65 … … 93 95 style="border:none; overflow:hidden; width:<?php echo $option_value['width'];?>px; height:<?php echo $option_value['height'];?>px;"> 94 96 </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 95 101 <?php 96 102 } … … 109 115 static function ra_fb_like_options_page(){ 110 116 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']); 115 121 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']); 117 123 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']); 120 127 ?> 121 128 <div id="message" class="updated fade"><p><strong><?php _e('Options saved successfully.'); ?></strong></p></div> … … 222 229 <td>(Select the option to display the title)</td> 223 230 </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> 224 244 <tr height="60"> 225 245 <td></td> -
ra-fb-like-box/tags/1.4/readme.txt
r686142 r686158 5 5 Requires at least: 3.3.1 6 6 Tested up to: 3.5.1 7 Stable tag: 1. 37 Stable tag: 1.4 8 8 9 9 RA-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 4 4 Plugin URI: http://blog.ecafechat.com/rashids-facebook-like-box-plugin-for-wordpress/ 5 5 Description: RA-FB Like Box enables you to display the facebook page likes in your website. 6 Version: 1. 36 Version: 1.4 7 7 Author: Rashid Azar 8 8 Author URI: http://blog.ecafechat.com … … 42 42 static protected $_ra_stream = "crafb_stream"; 43 43 static protected $_ra_header = "crafb_header"; 44 44 static protected $_ra_linkback = "crafb_linkback"; 45 45 46 static protected $_ra_option_page_title = 'Rashid\'s Facebook Like Box'; 46 47 static protected $_ra_option_menu_title = 'RA-FB Like Box'; … … 60 61 'stream' => stripslashes(get_option(self::$_ra_stream)), 61 62 'header' => stripslashes(get_option(self::$_ra_header)), 63 'linkback' => stripslashes(get_option(self::$_ra_linkback)), 62 64 ); 63 65 … … 93 95 style="border:none; overflow:hidden; width:<?php echo $option_value['width'];?>px; height:<?php echo $option_value['height'];?>px;"> 94 96 </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 95 101 <?php 96 102 } … … 109 115 static function ra_fb_like_options_page(){ 110 116 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']); 115 121 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']); 117 123 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']); 120 127 ?> 121 128 <div id="message" class="updated fade"><p><strong><?php _e('Options saved successfully.'); ?></strong></p></div> … … 222 229 <td>(Select the option to display the title)</td> 223 230 </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> 224 244 <tr height="60"> 225 245 <td></td> -
ra-fb-like-box/trunk/readme.txt
r686142 r686158 5 5 Requires at least: 3.3.1 6 6 Tested up to: 3.5.1 7 Stable tag: 1. 37 Stable tag: 1.4 8 8 9 9 RA-FB Like Box enables you to display the facebook page likes in your website.
Note: See TracChangeset
for help on using the changeset viewer.