Fixes URL of rss feeds for xnet group announcements.
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Fri, 18 Jan 2008 23:05:37 +0000 (00:05 +0100)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Fri, 18 Jan 2008 23:05:37 +0000 (00:05 +0100)
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
modules/xnetgrp.php

index 0871175..80ef915 100644 (file)
@@ -165,10 +165,10 @@ class XnetGrpModule extends PLModule
 
         if (!S::has('core_rss_hash')) {
             $page->setRssLink("Polytechnique.net :: {$globals->asso("nom")} :: News publiques",
-                              "rss/rss.xml");
+                              $platal->ns . "rss/rss.xml");
         } else {
             $page->setRssLink("Polytechnique.net :: {$globals->asso("nom")} :: News",
-                              'rss/'.S::v('forlife') .'/'.S::v('core_rss_hash').'/rss.xml');
+                              $platal->ns . 'rss/'.S::v('forlife') .'/'.S::v('core_rss_hash').'/rss.xml');
         }
 
         $page->assign('articles', $arts);