Merge remote branch 'kc/new/bug_5586' into kcmaster
[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; Catalog statistics &rsaquo; Results<!-- TMPL_ELSE -->&rsaquo; Catalog 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">Catalog statistics</a> &rsaquo; Results<!-- TMPL_ELSE -->&rsaquo; Catalog 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>Catalog 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         <input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
66         <!-- TMPL_UNLESS Name="haslccn" -->
67         <input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
68         <!-- /TMPL_UNLESS -->
69         <fieldset class="rows">
70         <legend>Catalog statistics</legend>
71         <table>
72                 <thead>
73                         <tr>
74                         <th>Title</th>
75                         <th>Row</th>
76                         <th>Column</th>
77                         <th>Filter</th>
78                         </tr>
79                 </thead>
80                 <tbody>
81                         <!-- TMPL_IF Name="haslccn" -->
82                                         <tr>
83                                         <td>LoC Classification</td>
84                                         <td><input type="radio" name="Line" value="lccn" /></td>
85                                         <td><input type="radio" name="Column" value="lccn" /></td>
86                                         <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>
87                                 </tr>
88                                         <tr>
89                                         <td>&nbsp;</td>
90                                         <td colspan="2"><select name="lccndigits" id="lccndigits">
91                                                 <option value=""> </option>
92                                                 <option value ="1">1</option>
93                                                 <option value ="2">2</option>
94                                                 <option value ="3">3</option>
95                                                 <option value ="4">4</option>
96                                                 <option value ="5">5</option>
97                                                 </select>
98                                                 <label for="lccndigits">characters</label>
99                                         </td>
100                                         <td>&nbsp;</td>
101                                 </tr>
102                         <!-- /TMPL_IF  -->
103                         <!-- TMPL_IF Name="hascote" -->
104                           <tr>
105                                         <td>Koha Full Call Number</td>
106                                         <td><input type="radio" name="Line" value="items.itemcallnumber" /></td>
107                                         <td><input type="radio" name="Column" value="items.itemcallnumber" /></td>
108                                         <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>
109                                 </tr>
110                          <tr>
111                                         <td>&nbsp;</td>
112                                         <td colspan="2"><select name="cotedigits" id="cotedigits">
113                                                 <option value=""> </option>
114                                                 <option value ="1">1</option>
115                                                 <option value ="2">2</option>
116                                                 <option value ="3">3</option>
117                                                 <option value ="4">4</option>
118                                                 <option value ="5">5</option>
119                                                 </select>
120                                                 <label for="cotedigits">characters</label> 
121                                         </td>
122                                         <td>&nbsp;</td>
123                                 </tr>
124                                 <!-- TMPL_ELSE -->
125                                 <tr><td colspan="4"><input type="hidden" name="Filter" /> <input type="hidden" name="Filter" /></td></tr>
126                         <!-- /TMPL_IF -->
127                          <tr>
128                                 <td>Item Type</td>
129                                 <td><input type="radio" name="Line" value="<!-- TMPL_VAR NAME="item_itype" -->" /></td>
130                                 <td><input type="radio" name="Column" value="<!-- TMPL_VAR NAME="item_itype" -->" /></td>
131                                 <td><select name="Filter" id="<!-- TMPL_VAR NAME="item_itype" -->">
132                                         <option value=""> </option>
133                                         <!-- TMPL_LOOP NAME="CGIItemType" -->
134                                         <!-- TMPL_IF NAME="selected" -->
135                                         <option value="<!-- TMPL_VAR NAME="itemtype" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" --></option><!-- /TMPL_IF -->
136
137                                         <!-- /TMPL_LOOP -->
138                                         </select>
139                                 </td>
140                         </tr>
141                          <tr>
142                                 <td>Publisher</td>
143                                 <td><input type="radio" name="Line" value="publishercode" /></td>
144                                 <td><input type="radio" name="Column" value="publishercode" /></td>
145                                 <td><input type="text" name="Filter" /></td>
146                         </tr>
147                         <tr>
148                                 <td>Publication Year</td>
149                                 <td><input type="radio" name="Line" value="publicationyear" /></td>
150                                 <td><input type="radio" name="Column" value="publicationyear" /></td>
151                                 <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>
152                         </tr>
153                         <tr>
154                                 <td>Home Library</td>
155                                 <td><input type="radio" name="Line" value="items.homebranch" /></td>
156                                 <td><input type="radio" name="Column" value="items.homebranch" /></td>
157                                 <td><select name="Filter" id="branch">
158                                         <option value=""> </option>
159                                         <!-- TMPL_LOOP NAME="CGIBranch" -->
160                                         <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option><!-- /TMPL_IF -->
161                                         <!-- /TMPL_LOOP -->
162                                         </select>
163                                 </td>
164                         </tr>
165                         <tr>
166                                 <td>Shelving Location</td>
167                                 <td><input type="radio" name="Line" value="items.location" /></td>
168                                 <td><input type="radio" name="Column" value="items.location" /></td>
169                                 <td><select name="Filter" id="location">
170                                         <option value=""> </option>
171                                         <!-- TMPL_LOOP NAME="locationloop" -->
172                                         <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="code" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME="code" -->"><!-- TMPL_VAR NAME="description" --></option><!-- /TMPL_IF -->
173                                         <!-- /TMPL_LOOP -->
174                                         </select>
175                                 </td>
176                         </tr>
177                         <tr>
178                                 <td>Collection</td>
179                                 <td><input type="radio" name="Line"   value="items.ccode" /></td>
180                                 <td><input type="radio" name="Column" value="items.ccode" /></td>
181                                 <td><select name="Filter" id="ccode">
182                                         <option value=""> </option>
183                                         <!-- TMPL_LOOP NAME="authvals" -->
184                                         <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="code" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME="code" -->"><!-- TMPL_VAR NAME="description" --></option><!-- /TMPL_IF -->
185                                         <!-- /TMPL_LOOP -->
186                                         </select>
187                                 </td>
188                         </tr>
189             <tr>
190                 <td colspan="3">Filter barcode</td>
191                 <td>
192                     <select name="Filter" id="like">
193                         <option value="1">like</option>
194                         <option value="0">not like</option>
195                     </select>
196                     <input type="text" name="Filter" id="barcode" />
197                     (use * to do a fuzzy search)
198                 </td>
199             </tr>
200                 </tbody>
201         </table><br /></fieldset>
202         
203         <fieldset class="rows">
204         <legend>Output</legend>
205         <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
206                 <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
207                         <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
208                         <label class="inline" for="MIME">Into an application: </label>
209                         <select name="MIME" id="MIME">
210                         <!-- TMPL_LOOP NAME="CGIextChoice" -->
211                         <option value="<!-- TMPL_VAR NAME="type" -->"><!-- TMPL_VAR NAME="type" --></option>
212                         <!-- /TMPL_LOOP -->
213                         </select>
214                         <!-- <label class="inline" for="sep">Delimiter: </label> -->
215                         <!-- TMPL_VAR NAME="CGIsepChoice" -->
216                 </li>
217         </ol>
218         </fieldset>
219
220         <fieldset class="action">
221         <input type="submit" value="Submit" />
222         <input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
223         <input type="hidden" name="do_it" value="1" />
224         </fieldset>
225         </form>
226 <!-- /TMPL_IF -->
227 </div>
228 </div>
229 <div class="yui-b">
230 <!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
231 </div>
232 </div>
233 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->