X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fdiogenes.barrel.inc.php;h=f9f1acb07b01d85c839506cf3cdb218ceeae9edb;hb=HEAD;hp=f3a27ae98f414114b33fe01674822933ad08c18e;hpb=cf637ef87f5fb7d80b62c74b6ecbaae13ecc5da3;p=diogenes.git diff --git a/include/diogenes.barrel.inc.php b/include/diogenes.barrel.inc.php index f3a27ae..f9f1acb 100644 --- a/include/diogenes.barrel.inc.php +++ b/include/diogenes.barrel.inc.php @@ -314,6 +314,10 @@ class DiogenesBarrel extends DiogenesPage // favicon if ($bbarrel->options->favicon) array_push($this->head, 'options->favicon).'" type="image/png" />'); + + // RSS feed + if ($bbarrel->options->feed_enable) + array_push($this->head, ''); } @@ -354,7 +358,7 @@ class DiogenesBarrel extends DiogenesPage if (!isset($this->table_menu)) return; - // all menu entries from database + // add the user-defined part of the menu $bmenu = new Diogenes_Barrel_Menu($this->dbh, $this->table_menu); $this->menu = array_merge($this->menu, $bmenu->makeMenu($PID, $this->barrel->options->menu_min_level, array($this, 'urlSiteByPid'))); }