Changeset 217813
- Timestamp:
- 03/15/2010 06:41:23 PM (16 years ago)
- Location:
- facebook-fan-box/trunk
- Files:
-
- 5 edited
-
facebook-fan-box.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
screenshot-1.jpg (modified) (previous)
-
screenshot-2.jpg (modified) (previous)
-
screenshot-3.jpg (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
facebook-fan-box/trunk/facebook-fan-box.php
r217764 r217813 35 35 $ffb_options['widget_fields']['iframe'] = array('label'=>'iFrame:', 'type'=>'checkbox', 'default'=>false, 'class'=>'', 'size'=>'', 'help'=>''); 36 36 $ffb_options['widget_fields']['logo'] = array('label'=>'Logo:', 'type'=>'checkbox', 'default'=>false, 'class'=>'', 'size'=>'', 'help'=>''); 37 $ffb_options['widget_fields']['lang'] = array('label'=>'Language:', 'type'=>'text', 'default'=>'en_ EN', 'class'=>'', 'size'=>'4', 'help'=>'(en_US, es_ES...)');37 $ffb_options['widget_fields']['lang'] = array('label'=>'Language:', 'type'=>'text', 'default'=>'en_US', 'class'=>'', 'size'=>'4', 'help'=>'(en_US, es_ES...)'); 38 38 39 39 function facebook_fan_box($api_key, $profile_id, $stream = 1, $connections = 10, $width = 300, $css = '', $iframe = 0, $height = '', $logo = 0, $lang = '') { … … 42 42 if($iframe != 1) { 43 43 if($lang != '') $lang = '/'.$lang; 44 $output = '<script src="http://www.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php'.$lang.'" type="text/javascript"></script>' 45 .'<script type="text/javascript">FB.init("'.$api_key.'", "");</script>' 44 /* -- Old Facebook call -- */ 45 /*$output = '<script src="http://www.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php'.$lang.'" type="text/javascript"></script><script type="text/javascript">FB.init("'.$api_key.'", "");</script><fb:fan profile_id="'.$profile_id.'" stream="'.$stream.'" connections="'.$connections.'" logobar="'.$logo.'" width="'.$width.'" css="'.$css.'?'.mktime().'"></fb:fan>';*/ 46 $output = '<script type="text/javascript" src="http://static.ak.connect.facebook.com/connect.php'.$lang.'"></script>' 47 .'<script type="text/javascript">FB.init("'.$api_key.'");</script>' 46 48 .'<fb:fan profile_id="'.$profile_id.'" stream="'.$stream.'" connections="'.$connections.'" logobar="'.$logo.'" width="'.$width.'" css="'.$css.'?'.mktime().'"></fb:fan>'; 47 49 } else { -
facebook-fan-box/trunk/readme.txt
r217764 r217813 61 61 * Facebook locale option. 62 62 * Title enabled in the widget method. 63 * New Facebook javascript call. 63 64 64 65 = 1.4.1 =
Note: See TracChangeset
for help on using the changeset viewer.