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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt (-9 / +12 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Tools &rsaquo; MARC Modification Templates</title>
2
<title>Koha &rsaquo; Tools &rsaquo; MARC modification templates</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
4
5
<script type="text/javascript">
5
<script type="text/javascript">
Lines 242-253 function setSelectByValue( selectId, value ) { Link Here
242
[% INCLUDE 'header.inc' %]
242
[% INCLUDE 'header.inc' %]
243
[% INCLUDE 'cat-search.inc' %]
243
[% INCLUDE 'cat-search.inc' %]
244
244
245
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; MARC Modification Templates</div>
245
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; MARC modification templates</div>
246
246
247
<div id="doc3" class="yui-t2">
247
<div id="doc3" class="yui-t2">
248
	<div id="yui-main">
248
	<div id="yui-main">
249
		<div class="yui-b">
249
		<div class="yui-b">
250
			<h2>MARC Modification Templates</h2>
250
			<h2>MARC modification templates</h2>
251
251
252
			[% IF ( TemplatesLoop ) %]
252
			[% IF ( TemplatesLoop ) %]
253
253
Lines 255-261 function setSelectByValue( selectId, value ) { Link Here
255
					<label for="select_template">Template: </label>
255
					<label for="select_template">Template: </label>
256
					<select name="template_id" id="select_template" style="width:20em;">
256
					<select name="template_id" id="select_template" style="width:20em;">
257
						[% FOREACH TemplatesLoo IN TemplatesLoop %]
257
						[% FOREACH TemplatesLoo IN TemplatesLoop %]
258
							<option value="[% TemplatesLoo.template_id %]" [% IF ( TemplatesLoo.selected ) %] selected [% END %] > [% TemplatesLoo.name %]</option>
258
                                                    [% IF ( TemplatesLoo.selected ) %]
259
							<option value="[% TemplatesLoo.template_id %]" selected="selected"> [% TemplatesLoo.name %]</option>
260
                                                    [% ELSE %]
261
							<option value="[% TemplatesLoo.template_id %]"> [% TemplatesLoo.name %]</option>
262
                                                    [% END %]
259
						[% END %]
263
						[% END %]
260
					</select>
264
					</select>
261
					<input type="hidden" name="op" value="select_template">
265
					<input type="hidden" name="op" value="select_template">
Lines 265-271 function setSelectByValue( selectId, value ) { Link Here
265
				<form method="get" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="delete_template">
269
				<form method="get" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="delete_template">
266
					<input type="hidden" name="template_id" value="[% template_id %]" />
270
					<input type="hidden" name="template_id" value="[% template_id %]" />
267
					<input type="hidden" name="op" value="delete_template">
271
					<input type="hidden" name="op" value="delete_template">
268
					<input type="submit" value="Delete Template" onClick="return confirmDelete()" />
272
					<input type="submit" value="Delete template" onClick="return confirmDelete()" />
269
				</form>
273
				</form>
270
274
271
275
Lines 464-481 function setSelectByValue( selectId, value ) { Link Here
464
468
465
			<form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_template" >
469
			<form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_template" >
466
				<fieldset>
470
				<fieldset>
467
					<legend>Create A New Template</legend>
471
					<legend>Create a new template</legend>
468
472
469
					<label for="template_name">Name: </label>
473
					<label for="template_name">Name: </label>
470
					<input name="template_name" id="template_name" type="text" size="30" />
474
					<input name="template_name" id="template_name" type="text" size="30" />
471
475
472
					<input type="hidden" name="op" value="create_template" />
476
					<input type="hidden" name="op" value="create_template" />
473
					<input type="submit" value="Create Template" />
477
					<input type="submit" value="Create template" />
474
478
475
					[% IF ( template_id ) %]
479
					[% IF ( template_id ) %]
476
						<input type="hidden" name="template_id" value="[% template_id %]" />
480
						<input type="hidden" name="template_id" value="[% template_id %]" />
477
						<input type="checkbox" name="duplicate_current_template" id="duplicate_current_template" />
481
						<input type="checkbox" name="duplicate_current_template" id="duplicate_current_template" />
478
						<label for="duplicate_current_template">Duplicate Current Template</label>
482
						<label for="duplicate_current_template">Duplicate current template</label>
479
					[% END %]
483
					[% END %]
480
				</fieldset>
484
				</fieldset>
481
			</form>
485
			</form>
482
- 

Return to bug 8015