mirror of
https://github.com/e107inc/e107.git
synced 2025-04-19 20:21:51 +02:00
Issue #1472 - e_PAGETITLE - requires testing.
This commit is contained in:
parent
f91eaacda9
commit
989fc5ccd1
4
news.php
4
news.php
@ -807,7 +807,7 @@ switch($action)
|
||||
|
||||
case 'list':
|
||||
default:
|
||||
setNewsFrontMeta($newsAr[1], 'category');
|
||||
setNewsFrontMeta($newsAr[1], 'list');
|
||||
break;
|
||||
}
|
||||
|
||||
@ -1265,7 +1265,7 @@ function setNewsFrontMeta($news, $type='news')
|
||||
|
||||
|
||||
|
||||
if($news['category_name'] && !defined('e_PAGETITLE'))
|
||||
if($news['category_name'] && !defined('e_PAGETITLE') && $type == 'category')
|
||||
{
|
||||
define('e_PAGETITLE', $tp->toHtml($news['category_name'],false,'TITLE_PLAIN'));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user