From a1b920777b9ac2dd9f2cbc709a541e1d33ddbf7d Mon Sep 17 00:00:00 2001 From: Daku Date: Tue, 24 Jan 2012 16:27:51 +0000 Subject: [PATCH] pools link should now show in menubar --- themes/lite/layout.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/lite/layout.class.php b/themes/lite/layout.class.php index 1374a710..560021b1 100644 --- a/themes/lite/layout.class.php +++ b/themes/lite/layout.class.php @@ -39,6 +39,9 @@ class Layout { $custom_links .= $this->navlinks(make_link('post/list'), "Posts", array("post", "view")); $custom_links .= $this->navlinks(make_link('comment/list'), "Comments", array("comment")); $custom_links .= $this->navlinks(make_link('tags'), "Tags", array("tags")); + if(class_exists("Pools")) { + $custom_links .= $this->navlinks(make_link('pool/list'), "Pools", array("pool")); + } $custom_links .= $this->navlinks(make_link('upload'), "Upload", array("upload")); if(class_exists("Wiki")) { $custom_links .= $this->navlinks(make_link('wiki/rules'), "Rules", array("wiki/rules"));