Lines 8-13
Link Here
|
8 |
[% INCLUDE 'header.inc' %] |
8 |
[% INCLUDE 'header.inc' %] |
9 |
[% INCLUDE 'circ-search.inc' %] |
9 |
[% INCLUDE 'circ-search.inc' %] |
10 |
|
10 |
|
|
|
11 |
[%- BLOCK area_name -%] |
12 |
[%- SWITCH area -%] |
13 |
[%- CASE 'CIRC' -%]Circulation |
14 |
[%- CASE 'CAT' -%]Catalog |
15 |
[%- CASE 'PAT' -%]Patrons |
16 |
[%- CASE 'ACQ' -%]Acquisitions |
17 |
[%- CASE 'ACC' -%]Accounts |
18 |
[%- END -%] |
19 |
[%- END -%] |
20 |
|
11 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a> |
21 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports wizard</a> |
12 |
[% IF ( new_dictionary ) %] › <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> › <strong>Name the new definition</strong> |
22 |
[% IF ( new_dictionary ) %] › <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> › <strong>Name the new definition</strong> |
13 |
[% ELSIF ( step_2 ) %] › <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> › <strong>Step 2: Choose the area </strong> |
23 |
[% ELSIF ( step_2 ) %] › <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> › <strong>Step 2: Choose the area </strong> |
Lines 36-56
Link Here
|
36 |
<h2>Current terms</h2> |
46 |
<h2>Current terms</h2> |
37 |
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post"> |
47 |
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post"> |
38 |
<input type="hidden" name="phase" value="View Dictionary" /> |
48 |
<input type="hidden" name="phase" value="View Dictionary" /> |
39 |
[% IF ( areas ) %] |
49 |
[% IF ( areas ) %] |
40 |
Filter by area <select name="area"> |
50 |
Filter by area |
41 |
<option value="">All</option> |
51 |
<select name="area"> |
42 |
[% FOREACH area IN areas %] |
52 |
<option value="">All</option> |
43 |
[% IF ( area.selected ) %] |
53 |
[% FOREACH area IN areas %] |
44 |
<option value="[% area.id %]" selected="selected" >[% area.name %]</option> |
54 |
[%- IF ( area.selected ) -%] |
45 |
[% ELSE %] |
55 |
<option value="[% area.id %]" selected="selected">[%- PROCESS area_name area=area.id -%]</option> |
46 |
<option value="[% area.id %]">[% area.name %]</option> |
56 |
[%- ELSE -%] |
47 |
[% END %] |
57 |
<option value="[% area.id %]">[%- PROCESS area_name area=area.id -%]</option> |
48 |
[% END %] |
58 |
[%- END -%] |
49 |
</select> |
59 |
[% END %] |
50 |
<input name="submit" value="Go" type="submit" /> |
60 |
</select> |
51 |
</form> |
61 |
<input name="submit" value="Go" type="submit" /> |
52 |
<br /> |
62 |
[% END %] |
53 |
[% END %] |
63 |
</form> |
|
|
64 |
<br /> |
54 |
<table border="1" cellspacing="0" cellpadding="5"> |
65 |
<table border="1" cellspacing="0" cellpadding="5"> |
55 |
<tr> |
66 |
<tr> |
56 |
<th>Name</th> |
67 |
<th>Name</th> |
Lines 99-122
Link Here
|
99 |
</form> |
110 |
</form> |
100 |
[% END %] |
111 |
[% END %] |
101 |
|
112 |
|
102 |
[% IF ( step_2 ) %] |
113 |
[%- IF ( step_2 ) -%] |
103 |
<h3>Add new definition</h3> |
114 |
<h3>Add new definition</h3> |
104 |
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post"> |
115 |
<form action="/cgi-bin/koha/reports/dictionary.pl" method="post"> |
105 |
<fieldset class="rows"> |
116 |
<fieldset class="rows"> |
106 |
<legend>Step 2 of 5: Choose the area</legend> |
117 |
<legend>Step 2 of 5: Choose the area</legend> |
107 |
<ol><li><input type="hidden" name="phase" value="New Term step 3" /> |
118 |
<ol> |
108 |
<input type="hidden" name="definition_name" value="[% definition_name %]" /> |
119 |
<li> |
109 |
<input type="hidden" name="definition_description" value="[% definition_description %]" /> |
120 |
<input type="hidden" name="phase" value="New Term step 3" /> |
110 |
<label for="area">Select table </label><select name="area" id="area"> |
121 |
<input type="hidden" name="definition_name" value="[% definition_name %]" /> |
111 |
[% FOREACH area IN areas %] |
122 |
<input type="hidden" name="definition_description" value="[% definition_description %]" /> |
112 |
<option value="[% area.id %]">[% area.name %]</option> |
123 |
<label for="area">Select table </label><select name="area" id="area"> |
113 |
[% END %] |
124 |
[%- FOREACH area IN areas -%] |
114 |
</select></li> |
125 |
<option value="[%- area.id -%]">[%- PROCESS area_name area=area.id -%]</option> |
115 |
</ol> |
126 |
[%- END -%] |
116 |
</fieldset> |
127 |
</select> |
117 |
<fieldset class="action"><input name="submit" value="Next" type="submit" /></fieldset> |
128 |
</li> |
|
|
129 |
</ol> |
130 |
</fieldset> |
131 |
<fieldset class="action"><input name="submit" value="Next" type="submit" /></fieldset> |
118 |
</form> |
132 |
</form> |
119 |
[% END %] |
133 |
[%- END -%] |
120 |
|
134 |
|
121 |
[% IF ( step_3 ) %] |
135 |
[% IF ( step_3 ) %] |
122 |
<h3>Add new definition</h3> |
136 |
<h3>Add new definition</h3> |
Lines 227-259
Link Here
|
227 |
<h3>Add new definition</h3> |
241 |
<h3>Add new definition</h3> |
228 |
|
242 |
|
229 |
<fieldset class="rows"> |
243 |
<fieldset class="rows"> |
230 |
<legend>Step 5 of 5: Confirm details</legend> |
244 |
<legend>Step 5 of 5: Confirm details</legend> |
231 |
<ol><li> |
245 |
<ol> |
232 |
<span class="label">Name:</span> |
246 |
<li> |
233 |
[% definition_name %] |
247 |
<span class="label">Name:</span>[%- definition_name -%] |
234 |
</li> |
248 |
</li> |
235 |
<li> |
249 |
<li> |
236 |
<span class="label">Description:</span> |
250 |
<span class="label">Description:</span>[%- definition_description -%] |
237 |
[% definition_description %] |
251 |
</li> |
238 |
</li> |
252 |
<li> |
239 |
<li> |
253 |
<span class="label">Area:</span>[%- PROCESS area_name area=area -%] |
240 |
<span class="label">Area:</span> |
254 |
</li> |
241 |
[% areaname %] |
255 |
<li> |
242 |
</li> |
256 |
<span class="label">Data:</span> |
243 |
<li> |
257 |
<table> |
244 |
<span class="label">Data:</span> |
258 |
<tr> |
245 |
<table> |
259 |
<th>Columns</th> |
246 |
<tr> |
260 |
<th>Values</th> |
247 |
<th>Columns</th> |
261 |
</tr> |
248 |
<th>Values</th> |
262 |
[%- FOREACH criteria_loo IN criteria_loop -%] |
249 |
</tr> |
263 |
<tr> |
250 |
[% FOREACH criteria_loo IN criteria_loop %] |
264 |
<td>[%- criteria_loo.name -%]</td> |
251 |
<tr> |
265 |
<td>[%- criteria_loo.value -%]</td> |
252 |
<td>[% criteria_loo.name %]</td> |
266 |
</tr> |
253 |
<td>[% criteria_loo.value %]</td> |
267 |
[%- END -%] |
254 |
</tr> |
268 |
</table> |
255 |
[% END %] |
269 |
</li> |
256 |
</table></li></ol> </fieldset> |
270 |
</ol> |
|
|
271 |
</fieldset> |
257 |
|
272 |
|
258 |
<fieldset class="action"><input type="hidden" name="sql" value="[% query %]" /> |
273 |
<fieldset class="action"><input type="hidden" name="sql" value="[% query %]" /> |
259 |
<input type="hidden" name="phase" value="New Term step 6" /> |
274 |
<input type="hidden" name="phase" value="New Term step 6" /> |