You are here

function _fb_connect_block_login_defaults in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 5.2 fb_connect.module \_fb_connect_block_login_defaults()
  2. 6.3 fb_connect.module \_fb_connect_block_login_defaults()
  3. 7.4 fb_connect.module \_fb_connect_block_login_defaults()
  4. 7.3 fb_connect.module \_fb_connect_block_login_defaults()
1 call to _fb_connect_block_login_defaults()
fb_connect_block in ./fb_connect.module
Implementation of hook_block.

File

./fb_connect.module, line 510
Support for Facebook Connect features

Code

function _fb_connect_block_login_defaults() {
  return array(
    'anon_not_connected' => array(
      'title' => t('Facebook Connect'),
      'body' => t('<fb:login-button onclick="FB_Connect.login_onclick()" v="2"><fb:intl>Connect with Facebook</fb:intl></fb:login-button>'),
    ),
    'user_not_connected' => array(
      'title' => t('Facebook Connect'),
      'body' => t('<fb:login-button onclick="FB_Connect.login_onclick()" v="2"><fb:intl>Connect with Facebook</fb:intl></fb:login-button>'),
    ),
    'connected' => array(
      'title' => t('Facebook Connect'),
      'body' => "<fb:profile-pic uid=!fbu></fb:profile-pic><!--<fb:login-button onclick='FB_Connect.logout_onclick();' autologoutlink=true></fb:login-button>-->",
    ),
  );
}