You are here

function fbconnect_footer in Facebook Connect 5

Same name and namespace in other branches
  1. 6.2 fbconnect.module \fbconnect_footer()
  2. 6 fbconnect.module \fbconnect_footer()

Implementation of hook_footer().

File

./fbconnect.module, line 649
This module allows site visitors to connect and register with facebook account

Code

function fbconnect_footer() {
  $fb_js_url = 'http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php';
  $footer = '<script type="text/javascript" src="' . $fb_js_url . '"></script>';

  // Display the autoconnect form.
  $footer .= drupal_get_form('fbconnect_autoconnect_form');
  return $footer;
}