Plugin Directory

Changeset 198984


Ignore:
Timestamp:
01/28/2010 09:28:18 AM (16 years ago)
Author:
hanok
Message:

Alto por defecto en blanco

File:
1 edited

Legend:

Unmodified
Added
Removed
  • facebook-fan-box/trunk/facebook-fan-box.php

    r192725 r198984  
    44Plugin URI: http://www.dolcebita.com/wordpress/facebook-fan-box-wordpress-plugin/
    55Description: Displays a Facebook Fan Box
    6 Version: 1.3.2
     6Version: 1.3.3
    77Author: Marcos Esperon
    88Author URI: http://www.dolcebita.com/
     
    3434$ffb_options['widget_fields']['iframe'] = array('label'=>'iFrame:', 'type'=>'checkbox', 'default'=>false, 'class'=>'', 'size'=>'', 'help'=>'');
    3535
    36 function facebook_fan_box($api_key, $profile_id, $stream = 1, $connections = 10, $width = 300, $css = '', $iframe = 0, $height = 550) {
     36function facebook_fan_box($api_key, $profile_id, $stream = 1, $connections = 10, $width = 300, $css = '', $iframe = 0, $height) {
    3737    $output = '';
    3838  if ($profile_id != '') {
     
    4242               .'<fb:fan profile_id="'.$profile_id.'" stream="'.$stream.'" connections="'.$connections.'" width="'.$width.'" css="'.$css.'?'.mktime().'"></fb:fan>';
    4343    } else {
    44       $output = '<iframe scrolling="no" frameborder="0" src="http://www.facebook.com/connect/connect.php?id='.$profile_id.'&amp;stream='.$stream.'&amp;connections='.$connections.'&amp;css='.$css.'?'.mktime().'" style="border: none; width: '.$width.'px; height: '.$height.'px;">&nbsp;</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.'&amp;stream='.$stream.'&amp;connections='.$connections.'&amp;css='.$css.'?'.mktime().'" style="border: none; width: '.$width.'px; '.$height.'">&nbsp;</iframe>';
    4546    }
    4647  }
Note: See TracChangeset for help on using the changeset viewer.