mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
#2475 Removed news_categories.sc template from news template and replaced with 'category' template which is a copy of 'default'
This commit is contained in:
@@ -35,11 +35,12 @@ $nbr_cols = (defined("NEWSCAT_COLS")) ? NEWSCAT_COLS : $nbr_cols;
|
||||
}
|
||||
|
||||
// News templates with BC
|
||||
if(!$NEWSCAT)
|
||||
/* if(!$NEWSCAT)
|
||||
{
|
||||
$tmpl = e107::getTemplate('news', 'news', 'category');
|
||||
$NEWSCAT = $tmpl['body'];
|
||||
}
|
||||
*/
|
||||
if(!$NEWSCAT)
|
||||
{
|
||||
$NEWSCAT = "
|
||||
@@ -52,11 +53,13 @@ $nbr_cols = (defined("NEWSCAT_COLS")) ? NEWSCAT_COLS : $nbr_cols;
|
||||
}
|
||||
|
||||
// News templates with BC
|
||||
/*
|
||||
if(!$NEWSCAT_ITEM)
|
||||
{
|
||||
$tmpl = e107::getTemplate('news', 'news', 'category');
|
||||
$NEWSCAT_ITEM = $tmpl['item'];
|
||||
}
|
||||
*/
|
||||
if(!$NEWSCAT_ITEM)
|
||||
{
|
||||
$NEWSCAT_ITEM = "
|
||||
|
Reference in New Issue
Block a user