1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

Fixes #2667 - Set default comment icon when none defined.

This commit is contained in:
Cameron 2017-06-05 14:35:25 -07:00
parent 2d1894fb2a
commit dce42f3e31
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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', '<br />');