From 0aef4c6e419e2b4ff5179f5dda0306ce6a8b322f Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 15 Aug 2003 00:58:48 +0000 Subject: [PATCH] Removed all remaining proprietary calls svn path=/trunk/boinc/; revision=2108 --- html/forum/post.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/html/forum/post.php b/html/forum/post.php index cbd2c56ddd..bf6c613568 100644 --- a/html/forum/post.php +++ b/html/forum/post.php @@ -1,6 +1,5 @@ id, $_POST['title'], $_POST['content']); @@ -21,16 +20,18 @@ if (!empty($_GET['id'])) { $category = getCategory($forum->category); } else { // TODO: Standard error page - echo "No forum id was provided.
"; + echo "No forum ID was provided.
"; exit(); } -get_logged_in_user(true, '../'); +$logged_in_user = get_logged_in_user(true, '../'); + +// TODO: Write a function to do this. if ($category->is_helpdesk) { - doHeader('Help Desk'); + page_head('Help Desk', $logged_in_user, NULL, '../style.css'); } else { - doHeader('Forum'); + page_head('Forum', $logged_in_user, NULL, '../style.css'); } show_forum_title($forum, NULL, $category->is_helpdesk); @@ -80,5 +81,5 @@ end_forum_table(); echo "\n"; -doFooter(); +page_tail(); ?> \ No newline at end of file