mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +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))
|
||||
{
|
||||
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();
|
||||
@@ -51,7 +51,7 @@ class social_comment
|
||||
|
||||
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);
|
||||
@@ -77,4 +77,4 @@ class social_comment
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user