Lines 152-183
Link Here
|
152 |
<td>Patron category</td> |
152 |
<td>Patron category</td> |
153 |
<td><input type="radio" name="Line" value="borrowers.categorycode" /></td> |
153 |
<td><input type="radio" name="Line" value="borrowers.categorycode" /></td> |
154 |
<td><input type="radio" name="Column" value="borrowers.categorycode" /></td> |
154 |
<td><input type="radio" name="Column" value="borrowers.categorycode" /></td> |
155 |
<td>[% CGIBorCat %]</td> |
155 |
<td> |
|
|
156 |
<select name="Filter" size="1" id="borcat"> |
157 |
<option value=""></option> |
158 |
[% FOREACH value IN BorCat.values %] |
159 |
<option value="[%- value -%]">[%- BorCat.labels.$value -%]</option> |
160 |
[% END %] |
161 |
</select> |
162 |
</td> |
156 |
</tr> |
163 |
</tr> |
157 |
<tr> |
164 |
<tr> |
158 |
<td>Item type</td> |
165 |
<td>Item type</td> |
159 |
<td><input type="radio" name="Line" value="itemtype" /></td> |
166 |
<td><input type="radio" name="Line" value="itemtype" /></td> |
160 |
<td><input type="radio" name="Column" value="itemtype" /></td> |
167 |
<td><input type="radio" name="Column" value="itemtype" /></td> |
161 |
<td >[% CGIItemType %]</td> |
168 |
<td> |
|
|
169 |
<select name="Filter" size="1" id="itemtypes"> |
170 |
<option value=""></option> |
171 |
[% FOREACH value IN ItemType.values %] |
172 |
<option value="[%- value -%]">[%- ItemType.labels.$value -%]</option> |
173 |
[% END %] |
174 |
</select> |
175 |
</td> |
162 |
</tr> |
176 |
</tr> |
163 |
<tr class="hilighted"> |
177 |
<tr class="hilighted"> |
164 |
<td>Library</td> |
178 |
<td>Library</td> |
165 |
<td><input type="radio" name="Line" value="branchcode" /></td> |
179 |
<td><input type="radio" name="Line" value="branchcode" /></td> |
166 |
<td><input type="radio" name="Column" value="branchcode" /></td> |
180 |
<td><input type="radio" name="Column" value="branchcode" /></td> |
167 |
<td><select name="Filter" size="1" id="branch"> |
181 |
<td> |
168 |
<option value=""></option> |
182 |
<select name="Filter" size="1" id="branch"> |
169 |
[%- FOREACH branchloo IN branchloop %] |
183 |
<option value=""></option> |
170 |
<option value="[% branchloo.value %]">[% branchloo.branchname %]</option> |
184 |
[%- FOREACH branchloo IN branchloop %] |
171 |
[%- END %] |
185 |
<option value="[% branchloo.value %]">[% branchloo.branchname %]</option> |
172 |
</select> |
186 |
[%- END %] |
173 |
</td> |
187 |
</select> |
|
|
188 |
</td> |
174 |
</tr> |
189 |
</tr> |
175 |
[% IF ( hassort1 ) %] |
190 |
[% IF ( hassort1 ) %] |
176 |
<tr class="hilighted"> |
191 |
<tr class="hilighted"> |
177 |
<td>Sort1</td> |
192 |
<td>Sort1</td> |
178 |
<td><input type="radio" name="Line" value="borrowers.sort1" /></td> |
193 |
<td><input type="radio" name="Line" value="borrowers.sort1" /></td> |
179 |
<td><input type="radio" name="Column" value="borrowers.sort1" /></td> |
194 |
<td><input type="radio" name="Column" value="borrowers.sort1" /></td> |
180 |
<td>[% CGISort1 %] </td> |
195 |
<td> |
|
|
196 |
<select name="Filter" size="1" id="sort1"> |
197 |
<option value=""></option> |
198 |
[%- FOREACH value IN Sort1.values %] |
199 |
<option value="[%- value -%]">[%- value -%]</option> |
200 |
[%- END %] |
201 |
</select> |
202 |
</td> |
181 |
</tr> |
203 |
</tr> |
182 |
[% END %] |
204 |
[% END %] |
183 |
[% IF ( hassort2 ) %] |
205 |
[% IF ( hassort2 ) %] |
Lines 185-191
Link Here
|
185 |
<td>Sort2</td> |
207 |
<td>Sort2</td> |
186 |
<td><input type="radio" name="Line" value="borrowers.sort2" /></td> |
208 |
<td><input type="radio" name="Line" value="borrowers.sort2" /></td> |
187 |
<td><input type="radio" name="Column" value="borrowers.sort2" /></td> |
209 |
<td><input type="radio" name="Column" value="borrowers.sort2" /></td> |
188 |
<td>[% CGISort2 %] </td> |
210 |
<td> |
|
|
211 |
<select name="Filter" size="1" id="sort2"> |
212 |
<option value=""></option> |
213 |
[%- FOREACH value IN Sort2.values %] |
214 |
<option value="[%- value -%]">[%- value -%]</option> |
215 |
[%- END %] |
216 |
</select> |
217 |
</td> |
189 |
</tr> |
218 |
</tr> |
190 |
[% END %] |
219 |
[% END %] |
191 |
</tbody> |
220 |
</tbody> |
Lines 202-208
Link Here
|
202 |
<label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> |
231 |
<label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> |
203 |
<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> |
232 |
<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> |
204 |
<label class="inline" for="MIME">Into an application: </label> |
233 |
<label class="inline" for="MIME">Into an application: </label> |
205 |
[% CGIextChoice %] |
234 |
<select name="MIME" size="1" id="MIME"> |
|
|
235 |
<option value="CSV">CSV</option> |
236 |
</select> |
206 |
<select name="sep" id="sep" size="1"> |
237 |
<select name="sep" id="sep" size="1"> |
207 |
[% FOREACH value IN CGIsepChoice.values.sort() %] |
238 |
[% FOREACH value IN CGIsepChoice.values.sort() %] |
208 |
[% IF ( value == CGIsepChoice.default ) %] |
239 |
[% IF ( value == CGIsepChoice.default ) %] |