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

Issue #6 Removed duplicate LAN_SEARCH from English.php. PHP Notice removal.

This commit is contained in:
Cameron
2015-08-24 10:19:34 -07:00
parent c86e9812f3
commit 29b405d31d
3 changed files with 9 additions and 3 deletions

View File

@@ -288,12 +288,14 @@ if ($action == 'cat' || $action == 'all' || vartrue($_GET['tag']))
$param['itemlink'] = (defined("NEWSLIST_ITEMLINK")) ? NEWSLIST_ITEMLINK : "";
$param['thumbnail'] =(defined("NEWSLIST_THUMB")) ? NEWSLIST_THUMB : "border:0px";
$param['catlink'] = (defined("NEWSLIST_CATLINK")) ? NEWSLIST_CATLINK : "";
$param['caticon'] = (defined("NEWSLIST_CATICON")) ? NEWSLIST_CATICON : ICONSTYLE;
$param['caticon'] = (defined("NEWSLIST_CATICON")) ? NEWSLIST_CATICON : defset('ICONSTYLE','');
$param['current_action'] = $action;
// NEW - allow news batch shortcode override (e.g. e107::getScBatch('news', 'myplugin', true); )
e107::getEvent()->trigger('news_list_parse', $newsList);
$text = '';
if(vartrue($template['start']))
{
$text .= $tp->parseTemplate($template['start'], true);