From 0e797fcc632430e095f905e9ac3df1a27feb4316 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Tue, 14 Dec 2010 07:04:57 +0000 Subject: [PATCH] Bugfix: (Multi-language) Constants for feed names were not being converted. --- e107_plugins/rss_menu/rss.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/e107_plugins/rss_menu/rss.php b/e107_plugins/rss_menu/rss.php index 4d7cb76e0..2b5847f78 100644 --- a/e107_plugins/rss_menu/rss.php +++ b/e107_plugins/rss_menu/rss.php @@ -387,9 +387,12 @@ class rssCreate function buildRss($rss_title) { global $pref; - header('Content-type: application/xml', TRUE); + + $tp = e107::getParser(); - $rss_title = $this->e107->tp->toRss($pref['sitename']." : ".$rss_title); + header('Content-type: application/xml', TRUE); + + $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();