summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-02-17 15:38:37 +0000
committerDries Buytaert <dries@buytaert.net>2001-02-17 15:38:37 +0000
commita60edc750826432facb57759b8d9e205f672ed8d (patch)
tree5a687d2fa165ece2dd92417614266c242c5f41b5 /includes/theme.inc
parent52a1d1bbe80422ca7a8c79dde6fd92db542b9b2d (diff)
downloadbrdo-a60edc750826432facb57759b8d9e205f672ed8d.tar.gz
brdo-a60edc750826432facb57759b8d9e205f672ed8d.tar.bz2
- improved the "menu" hook
- replaced the "open submission queue" (submission.php and submission.inc) with an optional module (submission.module). - tidied up the HTML code of some files
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 5791ed049..1bdff7b41 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -44,11 +44,8 @@ function theme_account($theme) {
$content .= "<P>\n";
}
- $content .= "<LI><A HREF=\"submission.php\">". t("submission queue") ."</A> (<FONT COLOR=\"red\">". submission_number() ."</FONT>)</LI>\n";
- $content .= "<P>\n";
-
- if ($menu && ksort($menu)) {
- foreach ($menu as $link=>$url) $content .= "<LI><A HREF=\"$url\">". t($link) ."</A></LI>\n";
+ if ($menu) {
+ foreach ($menu as $link) $content .= "<LI>$link</LI>\n";
$content .= "<P>\n";
}