setupTheme(); $helper->setupTwoFactorAuthentication(); $helper->setupJavascript(); $jLoginUrl = $helper->getLoginRedirect('jlogin'); $jLogoutUrl = $helper->getLoginRedirect('jlogout'); $registerType = $params->get('register_type'); $showRegisterLink = $params->get('showRegisterLink'); $showRegisterLinkInModal = $showRegisterLink == 2 || $showRegisterLink == 3; $showRegisterLinkInLogin = $showRegisterLink == 1 || $showRegisterLink == 3; // Setup our parameters $layout = $params->get('socialButtonsLayout', 'vertical'); //horizontal or vertical $orientation = $params->get('socialButtonsOrientation'); //bottom, side or top $alignment = $params->get('socialButtonsAlignment'); $loginButtonType = $params->get('loginButtonType'); if ($layout == 'horizontal') { $joomlaSpan = 'pull-left'; $socialSpan = 'pull-' . $alignment; } else if ($orientation == 'side' && $helper->isJFBConnectInstalled) { // probably need settings for these spans instead of auto-guessing them, since any images can be used nowadays $joomlaSpan = 'span8'; $socialSpan = 'span4'; } else //$orientation == 'bottom' || $orientation == 'top' { $joomlaSpan = 'span12'; $socialSpan = 'span12'; } $addClearfix = false; //($layout == 'vertical' && $orientation == "side") || // ($layout == "horizontal" && $orientation == "side" && $params->get('displayType') == 'modal'); require(JModuleHelper::getLayoutPath('mod_sclogin', $helper->getType())); ?>