You are here

function theme_fbconnect_login_user_profile_tab_connected in Facebook Connect 7.2

Same name and namespace in other branches
  1. 8.2 fbconnect_login/fbconnect_login.pages.inc \theme_fbconnect_login_user_profile_tab_connected()

Make rendering of Facebook user profile tab themable

1 theme call to theme_fbconnect_login_user_profile_tab_connected()
fbconnect_login_user_identities in fbconnect_login/fbconnect_login.pages.inc
Menu callback fbconnect identities

File

fbconnect_login/fbconnect_login.pages.inc, line 439
User pages callbacks for the fbconnect module.

Code

function theme_fbconnect_login_user_profile_tab_connected($variables) {
  $account = $variables['account'];
  $conf = $variables['conf'];
  $uid = $variables['uid'];
  $site_name = $conf['invite_name'] ? $conf['invite_name'] : '';
  return t("Your current Facebook session is associated to another account on our site.\nYou can logout of Facebook and attempt to associate another Facebook account to your !site_name account, or you need to disconnect the current association.", array(
    '!site_name' => $site_name,
  ));
}