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

Update e_comment.php

This commit is contained in:
Gábor
2017-01-31 07:19:34 +01:00
committed by GitHub
parent 18fa8a3151
commit c2f989e303

View File

@@ -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);