View | Details | Raw Unified | Return to bug 12696
Collapse All | Expand All

(-)a/C4/Reports.pm (-7 / +4 lines)
Lines 67-79 sub GetDelimiterChoices { Link Here
67
    my ($choices, $default) = $sth->fetchrow;
67
    my ($choices, $default) = $sth->fetchrow;
68
    my @dels = split /\|/, $choices;
68
    my @dels = split /\|/, $choices;
69
69
70
    return CGI::scrolling_list(
70
    return {
71
                -name     => 'sep',
71
        values  => \@dels,
72
                -id       => 'sep',
72
        default => $default,
73
                -default  => $default,
73
    };
74
                -values   => \@dels,
75
                -size     => 1,
76
                -multiple => 0 );
77
}
74
}
78
75
79
1;
76
1;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt (-4 / +20 lines)
Lines 273-282 Link Here
273
273
274
	<fieldset class="rows">
274
	<fieldset class="rows">
275
	<legend>Output</legend>
275
	<legend>Output</legend>
276
<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
276
    <ol>
277
<li><label for="outputfile">To a file:</label> 		<input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> <label class="inline" for="MIME">Into an application
277
        <li>
278
		</label>[% CGIextChoice %]
278
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
279
		[% CGIsepChoice %]</li></ol>
279
        </li>
280
        <li>
281
            <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
282
            <label class="inline" for="basename">Named: </label> <input type="text" name="basename" id="basename" value="Export" />
283
            <label class="inline" for="MIME">Into an application</label>
284
            [% CGIextChoice %]
285
            <select name="sep" id="sep" size="1">
286
            [% FOREACH value IN CGIsepChoice.values.sort() %]
287
              [% IF ( value == CGIsepChoice.default ) %]
288
                <option value="[% value %]" selected="selected">[% value %]</option>
289
              [% ELSE %]
290
                <option value="[% value %]">[% value %]</option>
291
              [% END %]
292
            [% END %]
293
            </select>
294
        </li>
295
    </ol>
280
	</fieldset>
296
	</fieldset>
281
297
282
	<fieldset class="action">
298
	<fieldset class="action">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt (-1 / +9 lines)
Lines 168-174 function Dopop(link) { Link Here
168
			[% END %]
168
			[% END %]
169
			</select>
169
			</select>
170
			<label class="inline" for="sep">Delimiter: </label>
170
			<label class="inline" for="sep">Delimiter: </label>
171
			[% CGIseplist %]
171
            <select name="sep" id="sep" size="1">
172
            [% FOREACH value IN CGIseplist.values.sort() %]
173
              [% IF ( value == CGIseplist.default ) %]
174
                <option value="[% value %]" selected="selected">[% value %]</option>
175
              [% ELSE %]
176
                <option value="[% value %]">[% value %]</option>
177
              [% END %]
178
            [% END %]
179
            </select>
172
		</li>
180
		</li>
173
	</ol>
181
	</ol>
174
	</fieldset>
182
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt (-4 / +20 lines)
Lines 94-103 $(document).ready(function(){ Link Here
94
	
94
	
95
<fieldset class="rows">
95
<fieldset class="rows">
96
	<legend>Output</legend>
96
	<legend>Output</legend>
97
<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
97
    <ol>
98
<li><label for="outputfile">To a file:</label> 		<input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> <label class="inline" for="MIME">Into an application  
98
        <li>
99
		</label>[% CGIextChoice %]
99
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
100
		[% CGIsepChoice %]</li></ol>
100
        </li>
101
        <li>
102
            <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
103
            <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
104
            <label class="inline" for="MIME">Into an application </label>
105
            [% CGIextChoice %]
106
            <select name="sep" id="sep" size="1">
107
            [% FOREACH value IN CGIsepChoice.values.sort() %]
108
              [% IF ( value == CGIsepChoice.default ) %]
109
                <option value="[% value %]" selected="selected">[% value %]</option>
110
              [% ELSE %]
111
                <option value="[% value %]">[% value %]</option>
112
              [% END %]
113
            [% END %]
114
            </select>
115
        </li>
116
    </ol>
101
	</fieldset>
117
	</fieldset>
102
118
103
	<fieldset class="action">
119
	<fieldset class="action">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt (-4 / +20 lines)
Lines 253-262 Link Here
253
	
253
	
254
	<fieldset class="rows">
254
	<fieldset class="rows">
255
	<legend>Output</legend>
255
	<legend>Output</legend>
256
<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
256
    <ol>
257
<li><label for="outputfile">To a file:</label> 		<input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> <label class="inline" for="MIME">Into an application  
257
        <li>
258
		</label>[% CGIextChoice %]
258
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
259
		[% CGIsepChoice %]</li></ol>
259
        </li>
260
        <li>
261
            <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
262
            <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
263
            <label class="inline" for="MIME">Into an application</label>
264
            [% CGIextChoice %]
265
            <select name="sep" id="sep" size="1">
266
            [% FOREACH value IN CGIsepChoice.values.sort() %]
267
              [% IF ( value == CGIsepChoice.default ) %]
268
                <option value="[% value %]" selected="selected">[% value %]</option>
269
              [% ELSE %]
270
                <option value="[% value %]">[% value %]</option>
271
              [% END %]
272
            [% END %]
273
            </select>
274
        </li>
275
    </ol>
260
	</fieldset>
276
	</fieldset>
261
277
262
	<fieldset class="action">
278
	<fieldset class="action">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt (-4 / +20 lines)
Lines 164-173 Link Here
164
	
164
	
165
	<fieldset class="rows">
165
	<fieldset class="rows">
166
	<legend>Output</legend>
166
	<legend>Output</legend>
167
<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
167
    <ol>
168
<li><label for="outputfile">To a file:</label> 		<input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> <label class="inline" for="MIME">Into an application  
168
        <li>
169
		</label>[% CGIextChoice %]
169
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
170
		[% CGIsepChoice %]</li></ol>
170
        </li>
171
        <li>
172
            <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
173
            <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
174
            <label class="inline" for="MIME">Into an application </label>
175
            [% CGIextChoice %]
176
            <select name="sep" id="sep" size="1">
177
            [% FOREACH value IN CGIsepChoice.values.sort() %]
178
              [% IF ( value == CGIsepChoice.default ) %]
179
                <option value="[% value %]" selected="selected">[% value %]</option>
180
              [% ELSE %]
181
                <option value="[% value %]">[% value %]</option>
182
              [% END %]
183
            [% END %]
184
            </select>
185
        </li>
186
    </ol>
171
	</fieldset>
187
	</fieldset>
172
188
173
	<fieldset class="action">
189
	<fieldset class="action">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt (-1 / +9 lines)
Lines 246-252 Link Here
246
			[% END %]
246
			[% END %]
247
			</select>
247
			</select>
248
			<!-- <label class="inline" for="sep">Delimiter: </label> -->
248
			<!-- <label class="inline" for="sep">Delimiter: </label> -->
249
			[% CGIsepChoice %]
249
            <select name="sep" id="sep" size="1">
250
            [% FOREACH value IN CGIsepChoice.values.sort() %]
251
              [% IF ( value == CGIsepChoice.default ) %]
252
                <option value="[% value %]" selected="selected">[% value %]</option>
253
              [% ELSE %]
254
                <option value="[% value %]">[% value %]</option>
255
              [% END %]
256
            [% END %]
257
            </select>
250
		</li>
258
		</li>
251
	</ol>
259
	</ol>
252
	</fieldset>
260
	</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt (-4 / +20 lines)
Lines 202-211 Link Here
202
	
202
	
203
	<fieldset class="rows">
203
	<fieldset class="rows">
204
	<legend>Output</legend>
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>
205
    <ol>
206
<li><label for="outputfile">To a file:</label> 		<input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> <label class="inline" for="MIME">Into an application:  
206
        <li>
207
		</label>[% CGIextChoice %]
207
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
208
		[% CGIsepChoice %]</li></ol>
208
        </li>
209
        <li>
210
            <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
211
            <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
212
            <label class="inline" for="MIME">Into an application: </label>
213
            [% CGIextChoice %]
214
            <select name="sep" id="sep" size="1">
215
            [% FOREACH value IN CGIsepChoice.values.sort() %]
216
              [% IF ( value == CGIsepChoice.default ) %]
217
                <option value="[% value %]" selected="selected">[% value %]</option>
218
              [% ELSE %]
219
                <option value="[% value %]">[% value %]</option>
220
              [% END %]
221
            [% END %]
222
            </select>
223
        </li>
224
    </ol>
209
	</fieldset>
225
	</fieldset>
210
226
211
	<fieldset class="action">
227
	<fieldset class="action">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt (-4 / +20 lines)
Lines 254-263 Link Here
254
			
254
			
255
	<fieldset class="rows">
255
	<fieldset class="rows">
256
	<legend>Output</legend>
256
	<legend>Output</legend>
257
<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
257
    <ol>
258
<li><label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> <label class="inline" for="MIME">Into an application  
258
        <li>
259
		</label>[% CGIextChoice %]
259
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
260
		[% CGIsepChoice %]</li></ol>
260
        </li>
261
        <li>
262
            <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
263
            <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
264
            <label class="inline" for="MIME">Into an application</label>
265
            [% CGIextChoice %]
266
            <select name="sep" id="sep" size="1">
267
            [% FOREACH value IN CGIsepChoice.values.sort() %]
268
              [% IF ( value == CGIsepChoice.default ) %]
269
                <option value="[% value %]" selected="selected">[% value %]</option>
270
              [% ELSE %]
271
                <option value="[% value %]">[% value %]</option>
272
              [% END %]
273
            [% END %]
274
            </select>
275
        </li>
276
    </ol>
261
	</fieldset>
277
	</fieldset>
262
278
263
	<fieldset class="action">
279
	<fieldset class="action">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt (-4 / +20 lines)
Lines 332-341 Link Here
332
			
332
			
333
	<fieldset class="rows">
333
	<fieldset class="rows">
334
	<legend>Output</legend>
334
	<legend>Output</legend>
335
<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
335
    <ol>
336
<li><label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> <label class="inline" for="MIME">Into an application  
336
        <li>
337
		</label>[% CGIextChoice %]
337
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
338
		[% CGIsepChoice %]</li></ol>
338
        </li>
339
        <li>
340
            <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
341
            <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
342
            <label class="inline" for="MIME">Into an application</label>
343
            [% CGIextChoice %]
344
            <select name="sep" id="sep" size="1">
345
            [% FOREACH value IN CGIsepChoice.values.sort() %]
346
              [% IF ( value == CGIsepChoice.default ) %]
347
                <option value="[% value %]" selected="selected">[% value %]</option>
348
              [% ELSE %]
349
                <option value="[% value %]">[% value %]</option>
350
              [% END %]
351
            [% END %]
352
            </select>
353
        </li>
354
    </ol>
339
	</fieldset>
355
	</fieldset>
340
356
341
	<fieldset class="action">
357
	<fieldset class="action">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt (-5 / +20 lines)
Lines 113-122 Link Here
113
113
114
	<fieldset class="rows">
114
	<fieldset class="rows">
115
	<legend>Output</legend>
115
	<legend>Output</legend>
116
<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /> </li>
116
    <ol>
117
<li><label for="outputfile">To a file:</label> 		<input type="radio" name="output" value="file" id="outputfile" /> <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
117
        <li>
118
		<label class="inline" for="MIME">Into an application</label>[% CGIextChoice %]
118
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
119
		[% CGIsepChoice %]</li></ol>
119
        </li>
120
        <li>
121
            <label for="outputfile">To a file:</label> <input type="radio" name="output" value="file" id="outputfile" />
122
            <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
123
            <label class="inline" for="MIME">Into an application</label>
124
            [% CGIextChoice %]
125
            <select name="sep" id="sep" size="1">
126
            [% FOREACH value IN CGIsepChoice.values.sort() %]
127
              [% IF ( value == CGIsepChoice.default ) %]
128
                <option value="[% value %]" selected="selected">[% value %]</option>
129
              [% ELSE %]
130
                <option value="[% value %]">[% value %]</option>
131
              [% END %]
132
            [% END %]
133
            </select>
134
        </li>
135
    </ol>
120
	</fieldset>
136
	</fieldset>
121
137
122
	<fieldset class="action">
138
	<fieldset class="action">
123
- 

Return to bug 12696