for the danbooru subnav bar, assume that the front page = post/list

This commit is contained in:
Shish 2010-01-04 11:24:48 +00:00
parent 8803a58991
commit 8e676abd62

View file

@ -131,6 +131,12 @@ class Layout {
default: default:
$custom_sublinks .= $user_block_html; $custom_sublinks .= $user_block_html;
break; 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 "post":
case "comment": case "comment":
case "upload": case "upload":