1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 16:20:13 +02:00

Fix for login/signup message on comment form. Allow login page to load if social signup is active.

This commit is contained in:
Cameron
2016-03-13 17:57:51 -07:00
parent e972053cd3
commit 8d13c27638
7 changed files with 125 additions and 19 deletions

View File

@@ -130,7 +130,14 @@ class social_shortcodes extends e_shortcode
}
$sc = e107::getScBatch('signup');
$text = "<p>Sign in with:</p>";
$text = '';
if(!empty($parm['label']))
{
$text .= "<p>Sign in with:</p>";
}
$text .= $sc->sc_signup_xup_login($parm);
$text .= "
<div class='clearfix'></div><hr class='clearfix' />";