1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

fixes : modified getTemplateInfo call to load info from templates

stored in the theme folder (theme/templates/news/news_template.php),
in case that template is defined.
This commit is contained in:
Achim Ennenbach 2019-01-24 17:52:06 +01:00
parent 9c4dbcab91
commit 1b82862eb7

@ -1160,7 +1160,7 @@ class news_admin_ui extends e_admin_ui
$newsTemplates = array();
if($newInfo = e107::getTemplateInfo('news', 'news')) //TODO 'category'=>'Categories'? research 'Use non-standard template for news layout' and integrate here.
if($newInfo = e107::getTemplateInfo('news', 'news', null, 'front', true)) //TODO 'category'=>'Categories'? research 'Use non-standard template for news layout' and integrate here.
{
foreach($newInfo as $k=>$val)
{