Index: openacs-4/packages/download/www/admin/report-by-ip.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/download/www/admin/report-by-ip.adp,v diff -u -r1.2 -r1.2.2.1 --- openacs-4/packages/download/www/admin/report-by-ip.adp 23 May 2001 16:35:03 -0000 1.2 +++ openacs-4/packages/download/www/admin/report-by-ip.adp 24 Mar 2002 05:19:34 -0000 1.2.2.1 @@ -3,8 +3,7 @@ @context_bar@

-Spam Downloaders +Spam Downloaders

- @dimensional_html@ @table@ \ No newline at end of file Index: openacs-4/packages/download/www/admin/report-by-ip.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/download/www/admin/report-by-ip.tcl,v diff -u -r1.3 -r1.3.2.1 --- openacs-4/packages/download/www/admin/report-by-ip.tcl 23 May 2001 16:35:03 -0000 1.3 +++ openacs-4/packages/download/www/admin/report-by-ip.tcl 24 Mar 2002 05:19:34 -0000 1.3.2.1 @@ -9,13 +9,16 @@ } set repository_id [download_repository_id] - ##TODO: Add support for other + +# vinodk: put in the full query name so that when I +# pass this var to spam-users, it can find +# the right query set dimensional { {downloaded "Download Period" 1m { - {1d "last 24hrs" {where "[db_map date_clause_1]"}} - {1w "last week" {where "[db_map date_clause_7]"}} - {1m "last month" {where "[db_map date_clause_30]"}} + {1d "last 24hrs" {where "[db_map dbqd.download.www.admin.report-by-ip.date_clause_1]"}} + {1w "last week" {where "[db_map dbqd.download.www.admin.report-by-ip.date_clause_7]"}} + {1m "last month" {where "[db_map dbqd.download.www.admin.report-by-ip.date_clause_30]"}} {all "all" {}}}} } @@ -43,7 +46,7 @@ order by 2 desc " -set export_sql_query [export_vars -url -sign {sql_query}] +set export_sql_query [export_vars -url -sign {downloaded repository_id dimensional}] set dimensional_html [ad_dimensional $dimensional] set table [ad_table \ Index: openacs-4/packages/download/www/admin/report-by-user.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/download/www/admin/report-by-user.tcl,v diff -u -r1.3 -r1.3.2.1 --- openacs-4/packages/download/www/admin/report-by-user.tcl 23 May 2001 16:35:03 -0000 1.3 +++ openacs-4/packages/download/www/admin/report-by-user.tcl 24 Mar 2002 05:19:34 -0000 1.3.2.1 @@ -43,7 +43,6 @@ order by 2 desc " -#set export_sql_query [export_vars -url -sign {sql_query}] set export_sql_query [export_vars -url -sign {downloaded repository_id dimensional}] set dimensional_html [ad_dimensional $dimensional]