diff --git a/checkin_notes b/checkin_notes index caa7d3da0a..8a5dca6c4a 100755 --- a/checkin_notes +++ b/checkin_notes @@ -6691,3 +6691,11 @@ Charlie 17 May 2005 mac_installer BOINC.pmproj (new, replaces BOINC.pmsp in Tiger) PostInstall.cpp + +Bruce 17 May 2005 + - forum style: use 'comma-separated' number format for credit/RAC + + html/ + inc/ + forum.inc + diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 72092a0d99..f98c15ce4e 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -216,8 +216,11 @@ function show_post($post, $thread, $logged_in_user, $n, $controls=FORUM_CONTROLS // by displaying the user id of the poster. // its cheap, easy, and doesn't require any additional database calls. echo "ID: $user->id
"; - printf("Credit: %.0f
", $user->total_credit); - printf("RAC: %.1f
", $user->expavg_credit); + // printf("Credit: %.0f
", $user->total_credit); + echo "Credit: ".number_format($user->total_credit)."
"; + + // printf("RAC: %.1f
", $user->expavg_credit); + echo "RAC: ".number_format($user->expavg_credit)."
"; echo "\n\t\t ";