X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fdiogenes.barrel.inc.php;h=14fafed2f5665e70a7c8685d86fe1a2f67fd17a8;hb=20231ee0d47146e1ba9b3c9abce17333c7fe4f45;hp=f3a27ae98f414114b33fe01674822933ad08c18e;hpb=cf637ef87f5fb7d80b62c74b6ecbaae13ecc5da3;p=diogenes.git
diff --git a/include/diogenes.barrel.inc.php b/include/diogenes.barrel.inc.php
index f3a27ae..14fafed 100644
--- a/include/diogenes.barrel.inc.php
+++ b/include/diogenes.barrel.inc.php
@@ -214,7 +214,6 @@ class DiogenesBarrel extends DiogenesPage
$render_plugin = $plugobj;
}
}
-
// source page or pass it to a rendering plugin
if (is_object($render_plugin)) {
$content = $render_plugin->render($path);
@@ -314,6 +313,9 @@ class DiogenesBarrel extends DiogenesPage
// favicon
if ($bbarrel->options->favicon)
array_push($this->head, 'options->favicon).'" type="image/png" />');
+
+ // RSS feed
+ array_push($this->head, '');
}
@@ -354,7 +356,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')));
}