mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +02:00
Update e_comment.php
This commit is contained in:
@@ -34,7 +34,7 @@ class social_comment
|
|||||||
|
|
||||||
if($engine == 'social::facebook' && empty($this->facebookActive))
|
if($engine == 'social::facebook' && empty($this->facebookActive))
|
||||||
{
|
{
|
||||||
e107::getMessage()->addInfo("Facebook comments requires that you have a facebook App ID. See the 'social login' area in admin-preferences to add one.");
|
e107::getMessage()->addInfo(LAN_SOCIAL_205);
|
||||||
}
|
}
|
||||||
|
|
||||||
$config = array();
|
$config = array();
|
||||||
@@ -51,7 +51,7 @@ class social_comment
|
|||||||
|
|
||||||
if(!deftrue('SOCIAL_FACEBOOK_INIT') && ADMIN)
|
if(!deftrue('SOCIAL_FACEBOOK_INIT') && ADMIN)
|
||||||
{
|
{
|
||||||
return "<div class='alert alert-important alert-danger'>Unable to render comments. Missing Facebook appID.</div>";
|
return "<div class='alert alert-important alert-danger'>".LAN_SOCIAL_206."</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
e107::js('footer-inline', SOCIAL_FACEBOOK_INIT);
|
e107::js('footer-inline', SOCIAL_FACEBOOK_INIT);
|
||||||
|
Reference in New Issue
Block a user