~ubuntu-branches/ubuntu/maverick/lire/maverick

« back to all changes in this revision

Viewing changes to ftp/reports/top-users.xml

  • Committer: Bazaar Package Importer
  • Author(s): Joost van Baal
  • Date: 2002-04-11 23:36:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020411233621-rj3dbr7z5wulfd7z
Tags: upstream-20020214
ImportĀ upstreamĀ versionĀ 20020214

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1"?>
 
2
<!DOCTYPE lire:report-spec PUBLIC
 
3
  "-//LogReport.ORG//DTD Lire Report Specification Markup Language V1.0//EN"
 
4
  "http://www.logreport.org/LRSML/1.0/lrsml.dtd">
 
5
<lire:report-spec xmlns:lire="http://www.logreport.org/LRSML/"
 
6
 superservice="ftp" id="top-users" charttype="bars">
 
7
 
 
8
 <lire:title>Top Users FTP Report</lire:title>
 
9
 <lire:description>
 
10
  <para>This report lists the most active users.</para>
 
11
 </lire:description>
 
12
 
 
13
 <lire:param-spec>
 
14
  <lire:param name="users_to_show" type="int" default="10">
 
15
   <lire:description>
 
16
    <para>This parameter controls the number of users to
 
17
     display in the report.
 
18
    </para>
 
19
   </lire:description>
 
20
  </lire:param>
 
21
 </lire:param-spec>
 
22
 
 
23
 <lire:display-spec>
 
24
  <lire:title>Number of Transfers by Users, Top $users_to_show</lire:title>
 
25
 </lire:display-spec>
 
26
 
 
27
 <lire:report-calc-spec>
 
28
  <lire:group sort="-request_total" limit="$users_to_show">
 
29
   <lire:field name="username"/>
 
30
   <lire:count name="request_total"/>
 
31
  </lire:group>
 
32
 </lire:report-calc-spec>
 
33
 
 
34
</lire:report-spec>
 
35
 
 
36
<!-- 
 
37
Keep this comment at the end of the file
 
38
Local variables:
 
39
mode: xml
 
40
-->