mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4442
This commit is contained in:
parent
de555e6ea6
commit
4cb055dbe8
|
@ -18907,3 +18907,18 @@ David 26 Oct 2004
|
|||
api/
|
||||
boinc_api.C,h
|
||||
graphics_api.C
|
||||
|
||||
David 26 Oct 2004
|
||||
- forum updates (from Jans)
|
||||
|
||||
NOTE: run the DB update to get the right default behavior
|
||||
|
||||
html/
|
||||
inc/
|
||||
forum.inc
|
||||
ops/
|
||||
db_update.php
|
||||
user/
|
||||
edit_forum_preferences_form.php
|
||||
forum_post.php
|
||||
forum_rate.php
|
||||
|
|
|
@ -569,7 +569,7 @@ function show_post($post, $thread, $logged_in_user, $n, $controls=FORUM_CONTROLS
|
|||
} else if ($controls == HELPDESK_CONTROLS && !$separate) {
|
||||
echo " / Score: ", ($post->score * $post->votes), "</i></td>";
|
||||
} else {
|
||||
echo " / Rating: ", $post->score, "</i> - rate: <a href=\"forum_rate.php?post=".$post->id."&choice=p\">+</a> / <a href=\"forum_rate.php?post=".$post->id."&choice=n\">-</a></td>";
|
||||
echo " / Rating: ", ($post->score * $post->votes), "</i> - rate: <a href=\"forum_rate.php?post=".$post->id."&choice=p\">+</a> / <a href=\"forum_rate.php?post=".$post->id."&choice=n\">-</a></td>";
|
||||
}
|
||||
|
||||
if ($controls == FORUM_CONTROLS) {
|
||||
|
|
|
@ -129,6 +129,11 @@ function update_10_25_2004() {
|
|||
"alter table forum_preferences add high_rating_threshold integer not null"
|
||||
);
|
||||
}
|
||||
|
||||
function update_10_26_2004() {
|
||||
mysql_query("alter table forum_preferences modify jump_to_unread tinyint(1) unsigned not null default 0");
|
||||
}
|
||||
|
||||
//update_10_25_2004();
|
||||
|
||||
?>
|
||||
|
|
|
@ -94,7 +94,7 @@ row2("Signature for message boards".
|
|||
if ($user->signature!=""){
|
||||
row2("Signature preview".
|
||||
"<br><font size=-2>This is how your signature will look in the forums</font>",
|
||||
sanitize_html(stripslashes($user->signature))
|
||||
nl2br(sanitize_html(stripslashes($user->signature)))
|
||||
);
|
||||
}
|
||||
row2("", "<input type=submit value='Update info'>");
|
||||
|
|
|
@ -26,6 +26,8 @@ if (!empty($_GET['id']) && !empty($_POST['title']) && !empty($_POST['content']))
|
|||
exit();
|
||||
}
|
||||
|
||||
$thread->id=$threadID;
|
||||
setThreadLastVisited($logged_in_user,$thread);
|
||||
header('Location: forum_thread.php?id=' . $threadID);
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ if (!empty($_GET['post'])) {
|
|||
exit();
|
||||
}
|
||||
|
||||
$user = get_logged_in_user($true);
|
||||
$user = get_logged_in_user(true);
|
||||
$user = getForumPreferences($user);
|
||||
|
||||
if (getHasRated($user,$postId)){
|
||||
|
|
Loading…
Reference in New Issue