mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 10:20:45 +02:00
BC Fix for when $NEWSLISTSTYLE is used.
This commit is contained in:
@@ -17,6 +17,9 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
|
|
||||||
class parseXml extends xmlClass // BC with v1.x
|
class parseXml extends xmlClass // BC with v1.x
|
||||||
{
|
{
|
||||||
|
private $xmlData = array();
|
||||||
|
private $counterArray = array();
|
||||||
|
|
||||||
function __construct()
|
function __construct()
|
||||||
{
|
{
|
||||||
$data = debug_backtrace(true);
|
$data = debug_backtrace(true);
|
||||||
|
2
news.php
2
news.php
@@ -257,7 +257,7 @@ if ($action == 'cat' || $action == 'all' || vartrue($_GET['tag']))
|
|||||||
|
|
||||||
if(vartrue($NEWSLISTSTYLE)) // Legacy v1.x
|
if(vartrue($NEWSLISTSTYLE)) // Legacy v1.x
|
||||||
{
|
{
|
||||||
$template = $NEWSLISTSTYLE;
|
$template = array('start'=>'', 'item'=>$NEWSLISTSTYLE, 'end'=>'');
|
||||||
}
|
}
|
||||||
else // v2.x
|
else // v2.x
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user