[geeklog-cvs] geeklog: Use COM_numberFormat to format the number of registered...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Jul 25 03:56:27 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/7e8585cb1ac5
changeset: 7182:7e8585cb1ac5
user: Dirk Haun <dirk at haun-online.de>
date: Sun Jul 05 11:08:29 2009 +0200
description:
Use COM_numberFormat to format the number of registered and anonymous users displayed in the Who's Online block
diffstat:
public_html/lib-common.php | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r ae9b6d05e490 -r 7e8585cb1ac5 public_html/lib-common.php
--- a/public_html/lib-common.php Sun Jul 19 17:51:56 2009 +0200
+++ b/public_html/lib-common.php Sun Jul 05 11:08:29 2009 +0200
@@ -4829,7 +4829,8 @@
// note that we're overwriting the contents of $retval here
if( $num_reg > 0 )
{
- $retval = $LANG01[112] . ': ' . $num_reg . '<br' . XHTML . '>';
+ $retval = $LANG01[112] . ': ' . COM_numberFormat($num_reg)
+ . '<br' . XHTML . '>';
}
else
{
@@ -4839,7 +4840,8 @@
if( $num_anon > 0 )
{
- $retval .= $LANG01[41] . ': ' . $num_anon . '<br' . XHTML . '>';
+ $retval .= $LANG01[41] . ': ' . COM_numberFormat($num_anon)
+ . '<br' . XHTML . '>';
}
return $retval;
More information about the geeklog-cvs
mailing list