diff options
author | Yorhel <git@yorhel.nl> | 2008-11-30 13:00:49 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-11-30 13:00:49 +0100 |
commit | 165a55d275b816b36217daf2cc899848d0cde64e (patch) | |
tree | 9cf78ea7ad836e7b1e5a308ea265007d945f46ec /lib/VNDB/Util/LayoutHTML.pm | |
parent | 132becbe6101c702d55b219de59f12f1642ec30f (diff) |
User browse URL change, and small code cleanup in the menu
/u/list/* -> /u/*
More in line with /v/* and /p/*
Diffstat (limited to 'lib/VNDB/Util/LayoutHTML.pm')
-rw-r--r-- | lib/VNDB/Util/LayoutHTML.pm | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm index 79f9c252..4307731d 100644 --- a/lib/VNDB/Util/LayoutHTML.pm +++ b/lib/VNDB/Util/LayoutHTML.pm @@ -47,17 +47,13 @@ sub _menu { div class => 'menubox'; h2 'Menu'; div; - for ( - [ '/' => 'Home' ], - [ '#' => 'Visual Novels' ], - [ '/p/all' => 'Producers' ], - [ '/u/list/all' => 'Users' ], - [ '/hist' => 'Recent Changes' ], - [ '/t' => 'Discussion Board' ], - [ '#' => 'FAQ' ]) { - a href => $$_[0], $$_[1]; - br; - } + a href => '/', 'Home'; br; + a href => '#', 'Visual novels'; br; + a href => '/p/all', 'Producers'; br; + a href => '/u/all', 'Users'; br; + a href => '/hist', 'Recent changes'; br; + a href => '/t', 'Discussion board'; br; + a href => '#', 'FAQ'; br; end; end; |