nomenclature cleanup: s/Branch/Library/ s/Document Type/Item Type/
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / catalogue_stats.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Reports <!-- TMPL_IF NAME="do_it" -->&rsaquo; Catalogue statistics &rsaquo; Results<!-- TMPL_ELSE -->&rsaquo; Catalogue statistics<!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> <!-- TMPL_IF NAME="do_it" -->&rsaquo; <a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalogue statistics</a> &rsaquo; Results<!-- TMPL_ELSE -->&rsaquo; Catalogue statistics<!-- /TMPL_IF --></div>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16
17 <!-- TMPL_IF NAME="do_it" -->
18         <!-- TMPL_LOOP NAME="mainloop" -->
19                 <h1>Catalogue statistics</h1>
20                 <!-- TMPL_IF NAME="loopfilter"-->
21                         <p>Filtered on</p>
22                         <!-- TMPL_LOOP NAME="loopfilter" -->
23                                         <p><!-- TMPL_VAR NAME="crit"--> =<!-- TMPL_VAR NAME="filter"--></p>
24                         <!-- /TMPL_LOOP -->
25                 <!-- /TMPL_IF-->
26                 
27                 <table>
28                         <tr>
29                                 <th><!-- TMPL_VAR name="line" --> / <!-- TMPL_VAR name="column" --></th>
30                                 <!-- TMPL_LOOP NAME="loopcol" -->
31                                         <th><!-- TMPL_VAR NAME="coltitle" --></th>
32                                 <!-- /TMPL_LOOP -->
33                                 <th>TOTAL</th>
34                         </tr>
35                                 <!-- TMPL_LOOP NAME="looprow" -->
36                                         <tr>
37                                                 <!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
38                                                 <!-- TMPL_VAR NAME="rowtitle" --></td>
39                                                 <!-- TMPL_LOOP NAME="loopcell" -->
40                                                         <!-- TMPL_IF NAME="hilighted" --><td><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
41                                                                 <!--TMPL_IF NAME="value" --><!-- TMPL_VAR NAME="value" -->
42                                                                 <!--TMPL_ELSE-->&nbsp;
43                                                                 <!--/TMPL_IF-->
44                                                         </td>
45                                                 <!-- /TMPL_LOOP -->
46                                                 <!-- TMPL_IF NAME="hilighted" --><td><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
47                                                         <!-- TMPL_VAR NAME="totalrow" -->
48                                                 </td>
49                                         </tr>
50                                 <!-- /TMPL_LOOP-->
51                                 <tr>
52                                         <th>TOTAL</th>
53                                         <!-- TMPL_LOOP NAME="loopfooter" -->
54                                                 <th>
55                                                         <!-- TMPL_VAR NAME="totalcol" -->
56                                                 </th>
57                                         <!-- /TMPL_LOOP -->
58                                         <th><!-- TMPL_VAR NAME="total" --></th>
59                                 </tr>
60                 </table>
61         <!-- /TMPL_LOOP -->
62 <!-- TMPL_ELSE -->
63
64         <form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl">
65         <fieldset class="rows">
66         <legend>Catalogue statistics</legend>
67         <table>
68                 <thead>
69                         <tr>
70                         <th>Title</th>
71                         <th>Row</th>
72                         <th>Column</th>
73                         <th>Filter</th>
74                         </tr>
75                 </thead>
76                 <tbody>
77                                 <input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
78                         <!-- TMPL_IF Name="haslccn" -->
79                                         <tr>
80                                         <td>LoC Classification</td>
81                                         <td><input type="radio" name="Line" value="lccn" /></td>
82                                         <td><input type="radio" name="Column" value="lccn" /></td>
83                                         <td> <label for="locFrom">From</label> <input type="text" name="Filter" id="locFrom" /> <label for="locTo">To</label> <input type="text" name="Filter" id="locTo" /></td>
84                                 </tr>
85                                         <tr>
86                                         <td>&nbsp;</td>
87                                         <td colspan="2"><select name="lccndigits" id="lccndigits">
88                                                 <option value=""> </option>
89                                                 <option value ="1">1</option>
90                                                 <option value ="2">2</option>
91                                                 <option value ="3">3</option>
92                                                 <option value ="4">4</option>
93                                                 <option value ="5">5</option>
94                                                 </select>
95                                                 <label for="lccndigits">characters</label>
96                                         </td>
97                                         <td>&nbsp;</td>
98                                 </tr>
99                                 <!-- TMPL_ELSE -->
100                                 <input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
101                         <!-- /TMPL_IF  -->
102                         <!-- TMPL_IF Name="hascote" -->
103                           <tr>
104                                         <td>Koha Full Call Number</td>
105                                         <td><input type="radio" name="Line" value="items.itemcallnumber" /></td>
106                                         <td><input type="radio" name="Column" value="items.itemcallnumber" /></td>
107                                         <td><label for="callnoFrom">From</label> <input type="text" name="Filter" id="callnoFrom" /> <label for="callnoTo">To</label> <input type="text" name="Filter" id="callnoTo" /></td>
108                                 </tr>
109                          <tr>
110                                         <td>&nbsp;</td>
111                                         <td colspan="2"><select name="cotedigits" id="cotedigits">
112                                                 <option value=""> </option>
113                                                 <option value ="1">1</option>
114                                                 <option value ="2">2</option>
115                                                 <option value ="3">3</option>
116                                                 <option value ="4">4</option>
117                                                 <option value ="5">5</option>
118                                                 </select>
119                                                 <label for="cotedigits">characters</label> 
120                                         </td>
121                                         <td>&nbsp;</td>
122                                 </tr>
123                                 <!-- TMPL_ELSE -->
124                                 <tr><td colspan="4"><input type="hidden" name="Filter" /> <input type="hidden" name="Filter" /></td></tr>
125                         <!-- /TMPL_IF -->
126                          <tr>
127                                 <td>Item Type</td>
128                                 <td><input type="radio" name="Line" value="itemtype" /></td>
129                                 <td><input type="radio" name="Column" value="itemtype" /></td>
130                                 <td><select name="Filter" id="itemtype">
131                                         <option value=""> </option>
132                                         <!-- TMPL_LOOP NAME="CGIItemType" -->
133                                         <option value="<!-- TMPL_VAR NAME='itemtype' -->" <!-- TMPL_IF NAME='selected' -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="description" --></option>
134                                         <!-- /TMPL_LOOP -->
135                                         </select>
136                                 </td>
137                         </tr>
138                          <tr>
139                                 <td>Publisher</td>
140                                 <td><input type="radio" name="Line" value="publishercode" /></td>
141                                 <td><input type="radio" name="Column" value="publishercode" /></td>
142                                 <td><input type="text" name="Filter" /></td>
143                         </tr>
144                         <tr>
145                                 <td>Publication Year</td>
146                                 <td><input type="radio" name="Line" value="publicationyear" /></td>
147                                 <td><input type="radio" name="Column" value="publicationyear" /></td>
148                                 <td><label for="pubyearFrom">From</label> <input type="text" name="Filter" id="pubyearFrom" /> <label for="pubyearTo">To</label> <input type="text" name="Filter" id="pubyearTo" /></td>
149                         </tr>
150                         <tr>
151                                 <td>Home Library</td>
152                                 <td><input type="radio" name="Line" value="items.homebranch" /></td>
153                                 <td><input type="radio" name="Column" value="items.homebranch" /></td>
154                                 <td><select name="Filter" id="branch">
155                                         <option value=""> </option>
156                                         <!-- TMPL_LOOP NAME="CGIBranch" -->
157                                         <option value="<!-- TMPL_VAR NAME='branchcode' -->" <!-- TMPL_IF NAME='selected' -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="branchname" --></option>
158                                         <!-- /TMPL_LOOP -->
159                                         </select>
160                                 </td>
161                         </tr>
162                         <tr>
163                                 <td>Shelving Location</td>
164                                 <td><input type="radio" name="Line" value="items.location" /></td>
165                                 <td><input type="radio" name="Column" value="items.location" /></td>
166                                 <td><select name="Filter" id="location">
167                                         <option value=""> </option>
168                                         <!-- TMPL_LOOP NAME="locationloop" -->
169                                         <option value="<!-- TMPL_VAR NAME='code' -->" <!-- TMPL_IF NAME='selected' -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="description" --></option>
170                                         <!-- /TMPL_LOOP -->
171                                         </select>
172                                 </td>
173                         </tr>
174                         <tr>
175                                 <td>Collection</td>
176                                 <td><input type="radio" name="Line"   value="items.ccode" /></td>
177                                 <td><input type="radio" name="Column" value="items.ccode" /></td>
178                                 <td><select name="Filter" id="ccode">
179                                         <option value=""> </option>
180                                         <!-- TMPL_LOOP NAME="authvals" -->
181                                         <option value="<!-- TMPL_VAR NAME='code' -->" <!-- TMPL_IF NAME='selected' -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="description" --></option>
182                                         <!-- /TMPL_LOOP -->
183                                         </select>
184                                 </td>
185                         </tr>
186                 </tbody>
187         </table><br /></fieldset>
188         
189         <fieldset class="rows">
190         <legend>Output</legend>
191         <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
192                 <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
193                         <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
194                         <label class="inline" for="MIME">Into an application: </label>
195                         <select name="MIME" id="MIME">
196                         <!-- TMPL_LOOP NAME="CGIextChoice" -->
197                         <option value="<!-- TMPL_VAR NAME="type" -->"><!-- TMPL_VAR NAME="type" --></option>
198                         <!-- /TMPL_LOOP -->
199                         </select>
200                         <!-- <label class="inline" for="sep">Delimiter: </label> -->
201                         <select name="sep" id="sep">
202                         <!-- TMPL_LOOP NAME="CGIsepChoice" -->
203                         <option value="<!-- TMPL_VAR NAME="delim" -->"><!-- TMPL_VAR NAME="delim" --></option>
204                         <!-- /TMPL_LOOP -->
205                         </select>
206                 </li>
207         </ol>
208         </fieldset>
209
210         <fieldset class="action">
211         <input type="submit" value="Submit" />
212         <input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
213         <input type="hidden" name="do_it" value="1" />
214         </fieldset>
215         </form>
216 <!-- /TMPL_IF -->
217 </div>
218 </div>
219 <div class="yui-b">
220 <!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
221 </div>
222 </div>
223 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->