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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (+3 lines)
Lines 258-263 $(document).ready(function() Link Here
258
            [% ELSE %]
258
            [% ELSE %]
259
            <label for="entertitle" class="required">Title: </label>
259
            <label for="entertitle" class="required">Title: </label>
260
                <input type="text" id="entertitle" size="50" name="title" value="[% title |html %]" class="focus" />
260
                <input type="text" id="entertitle" size="50" name="title" value="[% title |html %]" class="focus" />
261
                <span class="required">Required</span>
261
            [% END %]
262
            [% END %]
262
        </li>
263
        </li>
263
        <li>
264
        <li>
Lines 422-427 $(document).ready(function() Link Here
422
                            <input type="text" size="20" id="quantity" name="quantity" value="[% quantityrec %]" onchange="updateCosts();" />
423
                            <input type="text" size="20" id="quantity" name="quantity" value="[% quantityrec %]" onchange="updateCosts();" />
423
                        [% END %]
424
                        [% END %]
424
                    [% END %]
425
                    [% END %]
426
                    <span class="required">Required</span>
425
                [% END %]
427
                [% END %]
426
                <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, usefull when receiveing an order -->
428
                <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, usefull when receiveing an order -->
427
                <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
429
                <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
Lines 454-459 $(document).ready(function() Link Here
454
                    </option>
456
                    </option>
455
                [% END %]
457
                [% END %]
456
                </select>
458
                </select>
459
                <span class="required">Required</span>
457
                <label for="showallbudgets" style="float:none;width:auto;">&nbsp;Show all:</label>
460
                <label for="showallbudgets" style="float:none;width:auto;">&nbsp;Show all:</label>
458
                <input type="checkbox" id="showallbudgets" />
461
                <input type="checkbox" id="showallbudgets" />
459
                [% END %]
462
                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-1 / +4 lines)
Lines 90-96 Link Here
90
                        [% searchfield %]
90
                        [% searchfield %]
91
                    </li>
91
                    </li>
92
                [% ELSE %]
92
                [% ELSE %]
93
                    <li><label for="tagfield" class="required">Tag: </label><input type="text" id="tagfield" name="tagfield" size="5" maxlength="3" required="required" class="required" /></li>
93
                    <li>
94
                        <label for="tagfield" class="required">Tag: </label><input type="text" id="tagfield" name="tagfield" size="5" maxlength="3" required="required" class="required" />
95
                        <span class="required">Required</span>
96
                    </li>
94
                [% END %]
97
                [% END %]
95
98
96
        <li><label for="liblibrarian">Text for librarians: </label><input type="text" name="liblibrarian" id="liblibrarian" value="[% liblibrarian |html %]" size="40" maxlength="100" /></li>
99
        <li><label for="liblibrarian">Text for librarians: </label><input type="text" name="liblibrarian" id="liblibrarian" value="[% liblibrarian |html %]" size="40" maxlength="100" /></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt (-1 / +5 lines)
Lines 50-58 Link Here
50
    [% ELSE %]
50
    [% ELSE %]
51
            <label for="authtypecode" class="required">Authority type: </label>
51
            <label for="authtypecode" class="required">Authority type: </label>
52
            <input id="authtypecode" type="text" class="required" required="required" name="authtypecode" size="10" maxlength="10" onblur="toUC(this)" />
52
            <input id="authtypecode" type="text" class="required" required="required" name="authtypecode" size="10" maxlength="10" onblur="toUC(this)" />
53
            <span class="required">Required</span>
53
    [% END %]
54
    [% END %]
54
        </li>
55
        </li>
55
        <li><label for="authtypetext" class="required">Description: </label><input type="text" id="authtypetext" name="authtypetext" size="40" maxlength="80" value="[% authtypetext |html %]" class="required" required="required" /></li>
56
        <li>
57
            <label for="authtypetext" class="required">Description: </label><input type="text" id="authtypetext" name="authtypetext" size="40" maxlength="80" value="[% authtypetext |html %]" class="required" required="required" />
58
            <span class="required">Required</span>
59
        </li>
56
		<li><label for="summary">Summary: </label><textarea id="summary" name="summary" cols="55" rows="7">[% summary %]</textarea></li>
60
		<li><label for="summary">Summary: </label><textarea id="summary" name="summary" cols="55" rows="7">[% summary %]</textarea></li>
57
		<li>
61
		<li>
58
		<p class="tip">Note: for 'Authority field to copy', enter the authority field that should be copied from the authority record to the bibliographic record. E.g., in MARC21, field 100 in the authority record should be copied to field 100 in the bibliographic record</p>
62
		<p class="tip">Note: for 'Authority field to copy', enter the authority field that should be copied from the authority record to the bibliographic record. E.g., in MARC21, field 100 in the authority record should be copied to field 100 in the bibliographic record</p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt (-3 / +14 lines)
Lines 127-135 Link Here
127
    <li><span class="label">Category code: </span>[% categorycode |html %]
127
    <li><span class="label">Category code: </span>[% categorycode |html %]
128
				<input type="hidden" name="categorycode" value="[% categorycode |html %]" /><input type="hidden" name="is_a_modif" value="1" /></li>
128
				<input type="hidden" name="categorycode" value="[% categorycode |html %]" /><input type="hidden" name="is_a_modif" value="1" /></li>
129
	[% ELSE %]
129
	[% ELSE %]
130
    <li><label for="categorycode" class="required">Category code: </label> <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" onblur="toUC(this)" /></li>
130
    <li>
131
        <label for="categorycode" class="required">Category code: </label>
132
        <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" onblur="toUC(this)" />
133
        <span class="required">Required</span>
134
    </li>
131
	[% END %]
135
	[% END %]
132
    <li><label for="description" class="required">Description: </label> <input type="text" name="description" id="description" size="40" maxlength="80" value="[% description |html %]" /></li>
136
    <li>
137
        <label for="description" class="required">Description: </label>
138
        <input type="text" name="description" id="description" size="40" maxlength="80" value="[% description |html %]" />
139
        <span class="required">Required</span>
140
    </li>
133
    <li><label for="enrolmentperiod" class="required">Enrollment period: </label>
141
    <li><label for="enrolmentperiod" class="required">Enrollment period: </label>
134
	<fieldset>
142
	<fieldset>
135
	<legend>Choose one</legend>
143
	<legend>Choose one</legend>
Lines 165-171 Link Here
165
			[% END %]
173
			[% END %]
166
					</select></li>
174
					</select></li>
167
	<li><label for="reservefee">Hold fee: </label><input type="text" name="reservefee" id="reservefee" size="6" value="[% reservefee %]" /></li>
175
	<li><label for="reservefee">Hold fee: </label><input type="text" name="reservefee" id="reservefee" size="6" value="[% reservefee %]" /></li>
168
    <li><label for="category_type" class="required">Category type: </label> <select name="category_type" id="category_type">
176
    <li>
177
        <label for="category_type" class="required">Category type: </label>
178
        <select name="category_type" id="category_type">
169
                        [% IF ( type_n ) %]<option value="" selected="selected">Select a category type</option>[% ELSE %]<option value="">Select a category type</option>[% END %]
179
                        [% IF ( type_n ) %]<option value="" selected="selected">Select a category type</option>[% ELSE %]<option value="">Select a category type</option>[% END %]
170
					[% IF ( type_A ) %]<option value="A" selected="selected">Adult</option>[% ELSE %]<option value="A">Adult</option>[% END %]
180
					[% IF ( type_A ) %]<option value="A" selected="selected">Adult</option>[% ELSE %]<option value="A">Adult</option>[% END %]
171
					[% IF ( type_C ) %]<option value="C" selected="selected">Child</option>[% ELSE %]<option value="C">Child</option>[% END %]
181
					[% IF ( type_C ) %]<option value="C" selected="selected">Child</option>[% ELSE %]<option value="C">Child</option>[% END %]
Lines 174-179 Link Here
174
					[% IF ( type_P ) %]<option value="P" selected="selected">Professional</option>[% ELSE %]<option value="P">Professional</option>[% END %]
184
					[% IF ( type_P ) %]<option value="P" selected="selected">Professional</option>[% ELSE %]<option value="P">Professional</option>[% END %]
175
					[% IF ( type_X ) %]<option value="X" selected="selected">Statistical</option>[% ELSE %]<option value="X">Statistical</option>[% END %]
185
					[% IF ( type_X ) %]<option value="X" selected="selected">Statistical</option>[% ELSE %]<option value="X">Statistical</option>[% END %]
176
					</select>
186
					</select>
187
        <span class="required">Required</span>
177
    </li>
188
    </li>
178
    <li><label for="branches">Branches limitation: </label>
189
    <li><label for="branches">Branches limitation: </label>
179
        <select id="branches" name="branches" multiple size="10">
190
        <select id="branches" name="branches" multiple size="10">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt (-9 / +21 lines)
Lines 87-94 function reloadPage(p) { Link Here
87
                        <form action="/cgi-bin/koha/tools/csv-profiles.pl" class="validated" method="post">
87
                        <form action="/cgi-bin/koha/tools/csv-profiles.pl" class="validated" method="post">
88
						<fieldset class="rows">
88
						<fieldset class="rows">
89
                          <ol>
89
                          <ol>
90
                            <li><label for="profile_name" class="required">Profile name: </label>
90
                            <li>
91
                            <input type="text" id="profile_name" name="profile_name" required="required" /></li>
91
                                <label for="profile_name" class="required">Profile name: </label>
92
                                <input type="text" id="profile_name" name="profile_name" required="required" />
93
                                <span class="required">Required</span>
94
                            </li>
92
95
93
                            <li>
96
                            <li>
94
                              <label for="profile_type" class="required">Profile type: </label>
97
                              <label for="profile_type" class="required">Profile type: </label>
Lines 96-101 function reloadPage(p) { Link Here
96
                                <option value="marc" selected="selected">MARC</option>
99
                                <option value="marc" selected="selected">MARC</option>
97
                                <option value="sql">SQL</option>
100
                                <option value="sql">SQL</option>
98
                              </select>
101
                              </select>
102
                              <span class="required">Required</span>
99
                            </li>
103
                            </li>
100
104
101
						    <li><label for="profile_description">Profile description: </label>
105
						    <li><label for="profile_description">Profile description: </label>
Lines 152-159 function reloadPage(p) { Link Here
152
						    </select></li>
156
						    </select></li>
153
157
154
158
155
                            <li class="marc_specific"><label for="new_profile_marc_content" class="required">Profile MARC fields: </label>
159
                            <li class="marc_specific">
156
                            <textarea cols="50" rows="2" name="profile_marc_content" id="new_profile_marc_content"></textarea>
160
                                <label for="new_profile_marc_content" class="required">Profile MARC fields: </label>
161
                                <textarea cols="50" rows="2" name="profile_marc_content" id="new_profile_marc_content"></textarea>
162
                                <span class="required">Required</span>
157
						    <p>You have to define which fields or subfields you want to export, separated by pipes.</p>
163
						    <p>You have to define which fields or subfields you want to export, separated by pipes.</p>
158
                            <p>You can also use your own headers (instead of the ones from Koha) by prefixing the field number with an header, followed by the equal sign.</p>
164
                            <p>You can also use your own headers (instead of the ones from Koha) by prefixing the field number with an header, followed by the equal sign.</p>
159
						    <p>Example: Personal name=200|Entry element=210$a|300|009</p>
165
						    <p>Example: Personal name=200|Entry element=210$a|300|009</p>
Lines 180-186 function reloadPage(p) { Link Here
180
						<fieldset class="rows">
186
						<fieldset class="rows">
181
                            <ol>
187
                            <ol>
182
                            <li><label for="modify_profile_name" class="required">Profile name: </label>
188
                            <li><label for="modify_profile_name" class="required">Profile name: </label>
183
						    <select id="modify_profile_name" name="profile_name" onchange="javascript:reloadPage(this)">
189
                                <select id="modify_profile_name" name="profile_name" required="required" class="required" onchange="reloadPage(this)">
184
							<option value="0">-- Choose One --</option>
190
							<option value="0">-- Choose One --</option>
185
							[% FOREACH existing_profile IN existing_profiles %]
191
							[% FOREACH existing_profile IN existing_profiles %]
186
							[% IF ( existing_profile.export_format_id == selected_profile_id ) %]
192
							[% IF ( existing_profile.export_format_id == selected_profile_id ) %]
Lines 189-199 function reloadPage(p) { Link Here
189
							<option value="[% existing_profile.export_format_id %]">[% existing_profile.profile %]</option>
195
							<option value="[% existing_profile.export_format_id %]">[% existing_profile.profile %]</option>
190
							[% END %]
196
							[% END %]
191
							[% END %]
197
							[% END %]
192
						    </select></li>
198
                            </select>
199
                            <span class="required">Required</span>
200
                            </li>
193
201
194
                            <li>
202
                            <li>
195
                              <label for="modify_profile_type" class="required">Profile type: </label>
203
                              <label for="modify_profile_type" class="required">Profile type: </label>
196
                              <select id="modify_profile_type" name="profile_type">
204
                              <select id="modify_profile_type" name="profile_type" class="required" required="required">
197
                                <option value="marc">MARC</option>
205
                                <option value="marc">MARC</option>
198
                                [% IF selected_profile_type == "sql" %]
206
                                [% IF selected_profile_type == "sql" %]
199
                                  <option value="sql" selected="selected">SQL</option>
207
                                  <option value="sql" selected="selected">SQL</option>
Lines 201-206 function reloadPage(p) { Link Here
201
                                  <option value="sql">SQL</option>
209
                                  <option value="sql">SQL</option>
202
                                [% END %]
210
                                [% END %]
203
                              </select>
211
                              </select>
212
                                <span class="required">Required</span>
204
                            </li>
213
                            </li>
205
214
206
215
Lines 352-359 function reloadPage(p) { Link Here
352
							[% END %]
361
							[% END %]
353
						    </select></li>
362
						    </select></li>
354
363
355
                            <li class="marc_specific"><label for="modify_profile_marc_content" class="required">Profile MARC fields: </label>
364
                            <li class="marc_specific">
356
                            <textarea cols="50" rows="2" name="profile_marc_content" id="modify_profile_marc_content">[% selected_profile_content %]</textarea></li>
365
                                <label for="modify_profile_marc_content" class="required">Profile MARC fields: </label>
366
                                <textarea cols="50" rows="2" name="profile_marc_content" id="modify_profile_marc_content" class="required" required="required">[% selected_profile_content %]</textarea>
367
                                <span class="required">Required</span>
368
                            </li>
357
369
358
                            <li class="sql_specific">
370
                            <li class="sql_specific">
359
                              <label for="modify_profile_sql_content" class="required">Profile SQL fields: </label>
371
                              <label for="modify_profile_sql_content" class="required">Profile SQL fields: </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt (-2 / +3 lines)
Lines 501-512 function setSelectByValue( selectId, value ) { Link Here
501
                <div class="dialog message"><p>There are no defined templates. Please create a template first.</p></div>
501
                <div class="dialog message"><p>There are no defined templates. Please create a template first.</p></div>
502
            [% END %]
502
            [% END %]
503
503
504
            <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_template" >
504
            <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_template" class="validated">
505
                <fieldset>
505
                <fieldset>
506
                    <legend>Create a new template</legend>
506
                    <legend>Create a new template</legend>
507
507
508
                    <label for="template_name" class="required">Name: </label>
508
                    <label for="template_name" class="required">Name: </label>
509
                    <input name="template_name" id="template_name" type="text" size="30" required="required" />
509
                    <input name="template_name" id="template_name" type="text" size="30" required="required" class="required" />
510
                    <span class="required">Required</span>
510
511
511
                    <input type="hidden" name="op" value="create_template" />
512
                    <input type="hidden" name="op" value="create_template" />
512
                    <input type="submit" value="Create template" />
513
                    <input type="submit" value="Create template" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt (-3 / +5 lines)
Lines 275-281 Link Here
275
                            [% IF ( op == 'show' ) %]
275
                            [% IF ( op == 'show' ) %]
276
                            <div id="cataloguing_additem_newitem">
276
                            <div id="cataloguing_additem_newitem">
277
                                <h2>Edit patrons</h2>
277
                                <h2>Edit patrons</h2>
278
                                <div class="hint">Checking the box right next the label will disable the entry and delete the values of that field on all selected patrons</div>
278
                                <div class="hint">Checking the box right next to the label will disable the entry and delete the values of that field on all selected patrons</div>
279
                                <fieldset class="rows" id="fields_list">
279
                                <fieldset class="rows" id="fields_list">
280
                                    <ol>
280
                                    <ol>
281
                                        [% FOREACH field IN fields %]
281
                                        [% FOREACH field IN fields %]
Lines 336-342 Link Here
336
                                            [% IF ( field.type == 'date' ) %]
336
                                            [% IF ( field.type == 'date' ) %]
337
                                                <input type="text" name="[% field.name %]" id="[% field.name %]" value="" size="10" maxlength="10" readonly="readonly" class="datepicker" />
337
                                                <input type="text" name="[% field.name %]" id="[% field.name %]" value="" size="10" maxlength="10" readonly="readonly" class="datepicker" />
338
                                                <a href="#" class="clear-field" onclick="clearDate('[% field.name %]');return false;">Clear</a>
338
                                                <a href="#" class="clear-field" onclick="clearDate('[% field.name %]');return false;">Clear</a>
339
                                                [% END %]
339
                                            [% END %]
340
                                            [% IF field.mandatory %]
341
                                                <span class="required">Required fields cannot be cleared</span>
342
                                            [% END %]
340
                                        </li>
343
                                        </li>
341
                                        [% END %]
344
                                        [% END %]
342
                                        [% IF ( patron_attributes_codes ) %]
345
                                        [% IF ( patron_attributes_codes ) %]
343
- 

Return to bug 11812