You are here

function _fb_connect_block_login_defaults in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 5.2 fb_connect.module \_fb_connect_block_login_defaults()
  2. 6.2 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()

Default markup for our login block.

1 call to _fb_connect_block_login_defaults()
fb_connect_block in ./fb_connect.module
Implements hook_block().

File

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

Code

function _fb_connect_block_login_defaults() {
  return array(
    'anon_not_connected' => array(
      'title' => t('Facebook Connect'),
      'body' => '<div class="fb-login-button" scope="!perms" data-show-faces="false"></div>',
    ),
    'user_not_connected' => array(
      'title' => t('Facebook Connect'),
      'body' => '<div class="fb-login-button" scope="!perms" data-show-faces="false"></div>',
    ),
    'connected' => array(
      'title' => t('Facebook Connect'),
      'body' => '<fb:profile-pic uid="loggedinuser" linked="false" facebook-logo="true"></fb:profile-pic>',
    ),
  );
}