mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Bugfix: (Multi-language) Constants for feed names were not being converted.
This commit is contained in:
@@ -387,9 +387,12 @@ class rssCreate
|
||||
function buildRss($rss_title)
|
||||
{
|
||||
global $pref;
|
||||
|
||||
$tp = e107::getParser();
|
||||
|
||||
header('Content-type: application/xml', TRUE);
|
||||
|
||||
$rss_title = $this->e107->tp->toRss($pref['sitename']." : ".$rss_title);
|
||||
$rss_title = $tp->toRss($tp->toHtml($pref['sitename'],'','defs')." : ".$tp->toHtml($rss_title,'','defs'));
|
||||
$rss_namespace = ($this->rssNamespace) ? "xmlns:".$this->rssNamespace : '';
|
||||
$rss_custom_channel = ($this->rssCustomChannel) ? $this->rssCustomChannel : '';
|
||||
$time = time();
|
||||
|
Reference in New Issue
Block a user