fix for bug 2543: report output by tabulation a bit too literal
[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         <fieldset class="rows">
66         <legend>Catalog 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                                         <!-- TMPL_IF NAME="selected" -->
134                                         <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 -->
135
136                                         <!-- /TMPL_LOOP -->
137                                         </select>
138                                 </td>
139                         </tr>
140                          <tr>
141                                 <td>Publisher</td>
142                                 <td><input type="radio" name="Line" value="publishercode" /></td>
143                                 <td><input type="radio" name="Column" value="publishercode" /></td>
144                                 <td><input type="text" name="Filter" /></td>
145                         </tr>
146                         <tr>
147                                 <td>Publication Year</td>
148                                 <td><input type="radio" name="Line" value="publicationyear" /></td>
149                                 <td><input type="radio" name="Column" value="publicationyear" /></td>
150                                 <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>
151                         </tr>
152                         <tr>
153                                 <td>Home Library</td>
154                                 <td><input type="radio" name="Line" value="items.homebranch" /></td>
155                                 <td><input type="radio" name="Column" value="items.homebranch" /></td>
156                                 <td><select name="Filter" id="branch">
157                                         <option value=""> </option>
158                                         <!-- TMPL_LOOP NAME="CGIBranch" -->
159                                         <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="branchcode" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME="branchcode" -->"><!-- TMPL_VAR NAME="branchname" --></option><!-- /TMPL_IF -->
160                                         <!-- /TMPL_LOOP -->
161                                         </select>
162                                 </td>
163                         </tr>
164                         <tr>
165                                 <td>Shelving Location</td>
166                                 <td><input type="radio" name="Line" value="items.location" /></td>
167                                 <td><input type="radio" name="Column" value="items.location" /></td>
168                                 <td><select name="Filter" id="location">
169                                         <option value=""> </option>
170                                         <!-- TMPL_LOOP NAME="locationloop" -->
171                                         <!-- 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 -->
172                                         <!-- /TMPL_LOOP -->
173                                         </select>
174                                 </td>
175                         </tr>
176                         <tr>
177                                 <td>Collection</td>
178                                 <td><input type="radio" name="Line"   value="items.ccode" /></td>
179                                 <td><input type="radio" name="Column" value="items.ccode" /></td>
180                                 <td><select name="Filter" id="ccode">
181                                         <option value=""> </option>
182                                         <!-- TMPL_LOOP NAME="authvals" -->
183                                         <!-- 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 -->
184                                         <!-- /TMPL_LOOP -->
185                                         </select>
186                                 </td>
187                         </tr>
188                 </tbody>
189         </table><br /></fieldset>
190         
191         <fieldset class="rows">
192         <legend>Output</legend>
193         <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
194                 <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
195                         <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
196                         <label class="inline" for="MIME">Into an application: </label>
197                         <select name="MIME" id="MIME">
198                         <!-- TMPL_LOOP NAME="CGIextChoice" -->
199                         <option value="<!-- TMPL_VAR NAME="type" -->"><!-- TMPL_VAR NAME="type" --></option>
200                         <!-- /TMPL_LOOP -->
201                         </select>
202                         <!-- <label class="inline" for="sep">Delimiter: </label> -->
203                         <!-- TMPL_VAR NAME="CGIsepChoice" -->
204                 </li>
205         </ol>
206         </fieldset>
207
208         <fieldset class="action">
209         <input type="submit" value="Submit" />
210         <input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
211         <input type="hidden" name="do_it" value="1" />
212         </fieldset>
213         </form>
214 <!-- /TMPL_IF -->
215 </div>
216 </div>
217 <div class="yui-b">
218 <!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
219 </div>
220 </div>
221 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->