mirror of https://github.com/BOINC/boinc.git
forum style: use 'comma-separated' number format for credit/RAC
svn path=/trunk/boinc/; revision=6181
This commit is contained in:
parent
4f2dcae62e
commit
3a055d9360
|
@ -6691,3 +6691,11 @@ Charlie 17 May 2005
|
||||||
mac_installer
|
mac_installer
|
||||||
BOINC.pmproj (new, replaces BOINC.pmsp in Tiger)
|
BOINC.pmproj (new, replaces BOINC.pmsp in Tiger)
|
||||||
PostInstall.cpp
|
PostInstall.cpp
|
||||||
|
|
||||||
|
Bruce 17 May 2005
|
||||||
|
- forum style: use 'comma-separated' number format for credit/RAC
|
||||||
|
|
||||||
|
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.
|
// by displaying the user id of the poster.
|
||||||
// its cheap, easy, and doesn't require any additional database calls.
|
// its cheap, easy, and doesn't require any additional database calls.
|
||||||
echo "ID: $user->id<br>";
|
echo "ID: $user->id<br>";
|
||||||
printf("Credit: %.0f<br>", $user->total_credit);
|
// printf("Credit: %.0f<br>", $user->total_credit);
|
||||||
printf("RAC: %.1f<br>", $user->expavg_credit);
|
echo "Credit: ".number_format($user->total_credit)."<br>";
|
||||||
|
|
||||||
|
// printf("RAC: %.1f<br>", $user->expavg_credit);
|
||||||
|
echo "RAC: ".number_format($user->expavg_credit)."<br>";
|
||||||
|
|
||||||
echo "</font></div></td>\n\t\t<td>
|
echo "</font></div></td>\n\t\t<td>
|
||||||
";
|
";
|
||||||
|
|
Loading…
Reference in New Issue