diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-01-04 21:09:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-01-04 21:09:40 +0000 |
commit | 2e495b7d0e5ee69333426a8628bad549c37c699a (patch) | |
tree | 01723f5cb0e86c5592b8506d4411ee3271c7a808 /account.php | |
parent | aac188d3466ede9ad6e832b5d6c43a263f532e77 (diff) | |
download | brdo-2e495b7d0e5ee69333426a8628bad549c37c699a.tar.gz brdo-2e495b7d0e5ee69333426a8628bad549c37c699a.tar.bz2 |
- the diary module is truly modular now
- the faq has been spell checked
Diffstat (limited to 'account.php')
-rw-r--r-- | account.php | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/account.php b/account.php index 42ac229ed..15fa44e28 100644 --- a/account.php +++ b/account.php @@ -529,7 +529,6 @@ function account_track_site() { $block2 .= " <TR><TD ALIGN=\"right\" VALIGN=\"top\"><B>Users:</B></TD><TD>$users_total users</TD></TR>\n"; $block2 .= " <TR><TD ALIGN=\"right\" VALIGN=\"top\"><B>Stories:</B></TD><TD>$stories_posted posted, $stories_queued queued, $stories_dumped dumped<BR><I>[most frequent posters: $stories_posters ...]</I></TD></TR>\n"; $block2 .= " <TR><TD ALIGN=\"right\" VALIGN=\"top\"><B>Comments:</B></TD><TD>$comments_total comments with an average score of $comments_score<BR><I>[most frequent posters: $comments_posters ...]</I></TD></TR>\n"; - $block2 .= " <TR><TD ALIGN=\"right\" VALIGN=\"top\"><B>Diaries:</B></TD><TD>$diaries_total diary entries<BR><I>[most frequent posters: $diaries_posters ...]</I></TD></TR>\n"; $block2 .= "</TABLE>\n"; $theme->header(); @@ -579,9 +578,6 @@ switch ($op) { case "info": account_user($user->userid); break; - case "diary": - header("Location: module.php?mod=diary&op=view&name=$user->userid"); - break; default: account_user($name); } @@ -600,17 +596,14 @@ switch ($op) { break; case "edit": switch ($topic) { - case "user": - account_user_edit(); + case "content": + account_content_edit(); break; case "site": account_site_edit(); break; - case "content": - account_content_edit(); - break; default: - header("Location: module.php?mod=diary&op=add&name=$user->userid"); + account_user_edit(); } break; default: |