Index: openacs.org-dev/www/templates/widgets/statistics.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/www/templates/widgets/statistics.tcl,v diff -u -N -r1.3 -r1.4 --- openacs.org-dev/www/templates/widgets/statistics.tcl 9 Aug 2002 20:09:49 -0000 1.3 +++ openacs.org-dev/www/templates/widgets/statistics.tcl 10 Aug 2002 14:47:39 -0000 1.4 @@ -1,2 +1,7 @@ + set n_users [util_memoize {db_string select_n_users "select count(user_id) from users" -default "unknown"} 300] -set n_downloads [util_memoize {db_string select_n_downloads "select count(*) from download_downloads where revision_id = 44010" -default "unknown"} 300] \ No newline at end of file + +#set n_downloads NNNN + +# we seed with the no. of downloads on the old site. +set n_downloads [expr 2423 + [util_memoize {db_string select_n_downloads "select count(*) from download_downloads where revision_id = 44010" -default "unknown"} 300]]