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:
4
news.php
4
news.php
@@ -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);
|
||||
|
Reference in New Issue
Block a user