From dc6dafd817b1b8c9826b3c313de2ca06c16a2501 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 11 Aug 2009 15:37:56 +0100 Subject: [PATCH] default to showing user links in danbooru submenu --- themes/danbooru/layout.class.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/themes/danbooru/layout.class.php b/themes/danbooru/layout.class.php index 5d9a7b72..5739d512 100644 --- a/themes/danbooru/layout.class.php +++ b/themes/danbooru/layout.class.php @@ -113,14 +113,21 @@ class Layout { $qp = _get_query_parts(); // php sucks switch($qp[0]) { - case "user": + default: $custom_sublinks .= $user_block_html; break; case "post": + case "comment": + case "upload": $custom_sublinks .= "
  • All
  • "; $custom_sublinks .= "
  • My Favorites
  • "; $custom_sublinks .= "
  • Help
  • "; break; + case "wiki": + $custom_sublinks .= "
  • Index
  • "; + $custom_sublinks .= "
  • Rules
  • "; + $custom_sublinks .= "
  • Help
  • "; + break; case "tags": $custom_sublinks .= "
  • Map
  • "; $custom_sublinks .= "
  • Alphabetic
  • ";