1
0
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:
Cameron
2017-03-03 11:56:51 -08:00
parent 20e146f626
commit bfaf50ab25
3 changed files with 24 additions and 32 deletions

View File

@@ -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 = "