From 5586e8a460fcc4a5b0db8a5ffd8e3da394a5e161 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 31 May 2004 19:15:23 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3485 --- checkin_notes | 1 + html/inc/forum.inc | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/checkin_notes b/checkin_notes index 7d13c6d3d3..ed2de824ac 100755 --- a/checkin_notes +++ b/checkin_notes @@ -12871,6 +12871,7 @@ David May 31 2004 (Really Simple Syndication), described here: http://blogs.law.harvard.edu/tech/rss All projects now offer news feed at rss_main.php + This code courtesy of Jens Seidler. - SETI@home public site: made front page cached - added index on profile.uotd_time diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 7f0757ba5a..edfeedb6e9 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -443,18 +443,18 @@ function show_forum_title($forum=NULL, $thread=NULL, $helpdesk=false) { } else if ($forum && !$thread) { echo ""; if ($helpdesk) { - echo "", " Questions and problems : "; + echo "", " Questions and problems : "; } else { - echo "", " Message boards : "; + echo "", " Message boards : "; } echo $forum->title; echo "
"; } else if ($forum && $thread) { echo ""; if ($helpdesk) { - echo "", " Questions and problems : "; + echo "", " Questions and problems : "; } else { - echo "", " Message boards : "; + echo "", " Message boards : "; } echo "id>", $forum->title, " : "; echo strip_tags(stripslashes($thread->title)); @@ -473,7 +473,7 @@ function show_thread($thread, $n) { $first_post = getFirstPost($thread->id); $title = stripslashes($thread->title); $where = $category->is_helpdesk?"Questions and answers":"Message boards"; - $top_url = $category->is_helpdesk?"forum_help_desk.php":"index.php"; + $top_url = $category->is_helpdesk?"forum_help_desk.php":"forum_index.php"; $excerpt = sub_sentence(stripslashes($first_post->content), ' ', EXCERPT_LENGTH, true); $posted = time_diff_str($thread->create_time, time()); $last = time_diff_str($thread->timestamp, time()); @@ -503,7 +503,7 @@ function show_post2($post, $n) { $forum = getForum($thread->forum); $category = getCategory($forum->category); $where = $category->is_helpdesk?"Questions and answers":"Message boards"; - $top_url = $category->is_helpdesk?"help_desk.php":"index.php"; + $top_url = $category->is_helpdesk?"forum_help_desk.php":"forum_index.php"; $content = nl2br(stripslashes($post->content)); $when = time_diff_str($post->timestamp, time()); $user = lookup_user_id($post->user);