From dce42f3e31db1bda99e3e07bc272dd78f5cacc56 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 5 Jun 2017 14:35:25 -0700 Subject: [PATCH] Fixes #2667 - Set default comment icon when none defined. --- e107_handlers/news_class.php | 4 ++-- e107_themes/bootstrap3/theme.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/news_class.php b/e107_handlers/news_class.php index e30784685..78c6bb83d 100644 --- a/e107_handlers/news_class.php +++ b/e107_handlers/news_class.php @@ -272,8 +272,8 @@ class news { $tmp = array(); $tmp['caticon'] = defset('ICONSTYLE'); - $tmp['commentoffstring'] = defset('COMMENTOFFSTRING'); - $tmp['commentlink'] = defset('COMMENTLINK'); + $tmp['commentoffstring'] = defset('COMMENTOFFSTRING', ''); + $tmp['commentlink'] = defset('COMMENTLINK', e107::getParser()->toGlyph('fa-comment')); $tmp['trackbackstring'] = defset('TRACKBACKSTRING'); $tmp['trackbackbeforestring'] = defset('TRACKBACKBEFORESTRING'); $tmp['trackbackafterstring'] = defset('TRACKBACKAFTERSTRING'); diff --git a/e107_themes/bootstrap3/theme.php b/e107_themes/bootstrap3/theme.php index 9abf6ea1a..6e971e0ed 100644 --- a/e107_themes/bootstrap3/theme.php +++ b/e107_themes/bootstrap3/theme.php @@ -52,7 +52,7 @@ define('OTHERNEWS_COLS',false); // no tables, only divs. define('OTHERNEWS_LIMIT', 3); // Limit to 3. define('OTHERNEWS2_COLS',false); // no tables, only divs. define('OTHERNEWS2_LIMIT', 3); // Limit to 3. -define('COMMENTLINK', e107::getParser()->toGlyph('fa-comment')); +// define('COMMENTLINK', e107::getParser()->toGlyph('fa-comment')); define('COMMENTOFFSTRING', ''); define('PRE_EXTENDEDSTRING', '
');