$jfbcLogin = "";
$loginButtonType = $params->get('loginButtonType');
if($loginButtonType == "text_link")
{
$loginButtonLinkText = $params->get('loginButtonLinkText');
$jfbcLogin = '<a href="javascript:void(0)" onclick="jfbc.login.login_custom();">'.$loginButtonLinkText.'</a>';
}
else if($loginButtonType == "image_link")
{
$loginButtonLinkImage = $params->get('loginButtonLinkImage');
$jfbcLogin = '<a href="javascript:void(0)" onclick="jfbc.login.login_custom();"><img src="'.$loginButtonLinkImage.'" /></a>';
}
else //if($loginButtonType == 'javascript')
{
$jfbcLogin = $helper->getJFBConnectLoginButton();
}
if ($jfbcLogin != "")
echo $jfbcLogin;if ($registerType == "communitybuilder")
$passwordName = 'passwd';
// PASTE THE CODE HERE
?>Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
