*** empty log message ***

svn path=/trunk/boinc/; revision=4913
This commit is contained in:
Rom Walton 2004-12-21 23:06:31 +00:00
parent 779ee206b7
commit 02ccca528e
2 changed files with 13 additions and 1 deletions

View File

@ -21702,3 +21702,10 @@ David 20 Dec 2004
api/ api/
x_opengl.C x_opengl.C
Rom 21 Dec 2004
- Circumvent identity spoofing on the boards by displaying the
user id of the poster.
html/inc
forum.inc

View File

@ -484,7 +484,12 @@ function show_post($post, $thread, $logged_in_user, $n, $controls=FORUM_CONTROLS
/*...*/ /*...*/
} }
if ($fstatus) echo "<br><font size=\"-2\">$fstatus</font>"; if ($fstatus) echo "<br><font size=\"-2\">$fstatus</font>";
echo "<br><font size=\"-2\">", $user->id, "</font>"; // Try and circumvent various forms of
// of identity spoofing by displaying the
// user id of the poster, its cheep, easy,
// and doesn't require any additional database
// calls.
if (!$filter || !$rated_below_threshold){ if (!$filter || !$rated_below_threshold){
echo "<p><font size=\"-2\">"; echo "<p><font size=\"-2\">";
if ($user->has_avatar and $logged_in_user->hide_avatars!=1) if ($user->has_avatar and $logged_in_user->hide_avatars!=1)