From 8e676abd62bcc52f4ca39d70327ff320f44b0005 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 4 Jan 2010 11:24:48 +0000 Subject: [PATCH] for the danbooru subnav bar, assume that the front page = post/list --- themes/danbooru/layout.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/themes/danbooru/layout.class.php b/themes/danbooru/layout.class.php index d8624cb6..0936e9c3 100644 --- a/themes/danbooru/layout.class.php +++ b/themes/danbooru/layout.class.php @@ -131,6 +131,12 @@ class Layout { default: $custom_sublinks .= $user_block_html; break; + case "": + # FIXME: this assumes that the front page is + # post/list; in 99% of case it will either be + # post/list or home, and in the latter case + # the subnav links aren't shown, but it would + # be nice to be correct case "post": case "comment": case "upload":