1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 01:30:32 +02:00

Fixes #197 , Issue #831 - Social logins.

This commit is contained in:
Cameron
2015-02-05 16:24:54 -08:00
parent 812ca301e3
commit b7cb8fe75d
7 changed files with 293 additions and 210 deletions

View File

@@ -63,7 +63,23 @@ class social_shortcodes extends e_shortcode
}
function sc_social_login($parm=null)
{
$pref = e107::pref('core', 'social_login_active');
if(empty($pref))
{
return;
}
$sc = e107::getScBatch('signup');
$text .= "<p>Sign in with:</p>";
$text .= $sc->sc_signup_xup_login($parm);
$text .= "
<div class='clearfix'></div><hr class='clearfix' />";
return $text;
}