1
0
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:
CaMer0n
2010-12-14 07:04:57 +00:00
parent 20b834f968
commit 0e797fcc63

View File

@@ -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();