Changeset 198984
- Timestamp:
- 01/28/2010 09:28:18 AM (16 years ago)
- File:
-
- 1 edited
-
facebook-fan-box/trunk/facebook-fan-box.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
facebook-fan-box/trunk/facebook-fan-box.php
r192725 r198984 4 4 Plugin URI: http://www.dolcebita.com/wordpress/facebook-fan-box-wordpress-plugin/ 5 5 Description: Displays a Facebook Fan Box 6 Version: 1.3. 26 Version: 1.3.3 7 7 Author: Marcos Esperon 8 8 Author URI: http://www.dolcebita.com/ … … 34 34 $ffb_options['widget_fields']['iframe'] = array('label'=>'iFrame:', 'type'=>'checkbox', 'default'=>false, 'class'=>'', 'size'=>'', 'help'=>''); 35 35 36 function facebook_fan_box($api_key, $profile_id, $stream = 1, $connections = 10, $width = 300, $css = '', $iframe = 0, $height = 550) {36 function facebook_fan_box($api_key, $profile_id, $stream = 1, $connections = 10, $width = 300, $css = '', $iframe = 0, $height) { 37 37 $output = ''; 38 38 if ($profile_id != '') { … … 42 42 .'<fb:fan profile_id="'.$profile_id.'" stream="'.$stream.'" connections="'.$connections.'" width="'.$width.'" css="'.$css.'?'.mktime().'"></fb:fan>'; 43 43 } else { 44 $output = '<iframe scrolling="no" frameborder="0" src="http://www.facebook.com/connect/connect.php?id='.$profile_id.'&stream='.$stream.'&connections='.$connections.'&css='.$css.'?'.mktime().'" style="border: none; width: '.$width.'px; height: '.$height.'px;"> </iframe>'; 44 if($height != '') $height = ' height: '.$height.'px;'; 45 $output = '<iframe scrolling="no" frameborder="0" src="http://www.facebook.com/connect/connect.php?id='.$profile_id.'&stream='.$stream.'&connections='.$connections.'&css='.$css.'?'.mktime().'" style="border: none; width: '.$width.'px; '.$height.'"> </iframe>'; 45 46 } 46 47 }
Note: See TracChangeset
for help on using the changeset viewer.