Lines 1-6
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% USE Asset %] |
2 |
[% USE Asset %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Authorities › [% IF ( authid ) %]Modify authority #[% authid %] ([% authtypetext %])[% ELSE %]Adding authority ([% authtypetext %])[% END %]</title> |
4 |
<title>[% t('Koha › Authorities ›') %] [% IF ( authid ) %][% t('Modify authority #') %][% authid %] ([% authtypetext %])[% ELSE %][% t('Adding authority (') %][% authtypetext %])[% END %]</title> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] |
6 |
[% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] |
6 |
[% Asset.js("js/cataloging.js") %] |
7 |
[% Asset.js("js/cataloging.js") %] |
Lines 169-202
function confirmnotdup(redirect){
Link Here
|
169 |
<body id="auth_authorities" class="auth"> |
170 |
<body id="auth_authorities" class="auth"> |
170 |
|
171 |
|
171 |
<div id="loading"> |
172 |
<div id="loading"> |
172 |
<div>Loading, please wait...</div> |
173 |
<div>[% t('Loading, please wait...') %]</div> |
173 |
</div> |
174 |
</div> |
174 |
|
175 |
|
175 |
[% INCLUDE 'header.inc' %] |
176 |
[% INCLUDE 'header.inc' %] |
176 |
|
177 |
|
177 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> › [% IF ( authid ) %]Modify authority #[% authid %] ([% authtypetext %])[% ELSE %]Adding authority [% authtypetext %][% END %] </div> |
178 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">[% t('Authorities') %]</a> › [% IF ( authid ) %][% t('Modify authority #') %][% authid %] ([% authtypetext %])[% ELSE %][% t('Adding authority') %] [% authtypetext %][% END %] </div> |
178 |
|
179 |
|
179 |
<div class="main container-fluid"> |
180 |
<div class="main container-fluid"> |
180 |
<div class="row"> |
181 |
<div class="row"> |
181 |
<div class="col-md-8 col-md-offset-2"> |
182 |
<div class="col-md-8 col-md-offset-2"> |
182 |
|
183 |
|
183 |
[% IF ( authid ) %] |
184 |
[% IF ( authid ) %] |
184 |
<h1>Modify authority #[% authid %] [% authtypetext %]</h1> |
185 |
<h1>[% t('Modify authority #') %][% authid %] [% authtypetext %]</h1> |
185 |
[% ELSE %] |
186 |
[% ELSE %] |
186 |
<h1>Adding authority [% authtypetext %]</h1> |
187 |
<h1>[% t('Adding authority') %] [% authtypetext %]</h1> |
187 |
[% END %] |
188 |
[% END %] |
188 |
|
189 |
|
189 |
[% IF ( duplicateauthid ) %] |
190 |
[% IF ( duplicateauthid ) %] |
190 |
<div class="dialog alert"> |
191 |
<div class="dialog alert"> |
191 |
<h3>Duplicate record suspected</h3> |
192 |
<h3>[% t('Duplicate record suspected') %]</h3> |
192 |
<p>Is this a duplicate of <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]" class="popup" onclick="openWindow('/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]&popup=1', 'DuplicateAuthority','800','600'); return false;" class="button">[% duplicateauthvalue %]</a> ?</p> |
193 |
<p>[% t('Is this a duplicate of') %] <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]" class="popup" onclick="openWindow('/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]&popup=1', 'DuplicateAuthority','800','600'); return false;" class="button">[% duplicateauthvalue %]</a> ?</p> |
193 |
|
194 |
|
194 |
<form action="authorities.pl" method="get"> |
195 |
<form action="authorities.pl" method="get"> |
195 |
<input type="hidden" name="authid" value="[% duplicateauthid %]" /> |
196 |
<input type="hidden" name="authid" value="[% duplicateauthid %]" /> |
196 |
<button type="submit" class="new"><i class="fa fa-pencil"></i> Yes: Edit existing authority</button> |
197 |
<button type="submit" class="new"><i class="fa fa-pencil"></i> [% t('Yes: Edit existing authority') %]</button> |
197 |
</form> |
198 |
</form> |
198 |
<form action="authorities.pl" method="get"> |
199 |
<form action="authorities.pl" method="get"> |
199 |
<button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> No: Save as new authority</button> |
200 |
<button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> [% t('No: Save as new authority') %]</button> |
200 |
</form> |
201 |
</form> |
201 |
</div> |
202 |
</div> |
202 |
[% END %] |
203 |
[% END %] |
Lines 211-219
function confirmnotdup(redirect){
Link Here
|
211 |
<input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> |
212 |
<input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> |
212 |
|
213 |
|
213 |
<div id="toolbar" class="btn-toolbar"> |
214 |
<div id="toolbar" class="btn-toolbar"> |
214 |
<div class="btn-group"><a href="#" id="addauth" class="btn btn-default btn-sm" accesskey="w"><i class="fa fa-save"></i> Save</a></div> |
215 |
<div class="btn-group"><a href="#" id="addauth" class="btn btn-default btn-sm" accesskey="w"><i class="fa fa-save"></i> [% t('Save') %]</a></div> |
215 |
<div class="btn-group"> |
216 |
<div class="btn-group"> |
216 |
<a class="btn btn-default btn-sm" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50 search</a> |
217 |
<a class="btn btn-default btn-sm" id="z3950submit" href="#"><i class="fa fa-search"></i> [% t('Z39.50 search') %]</a> |
217 |
</div> |
218 |
</div> |
218 |
</div> |
219 |
</div> |
219 |
|
220 |
|
Lines 233-308
function confirmnotdup(redirect){
Link Here
|
233 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
234 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
234 |
[% UNLESS hide_marc %] |
235 |
[% UNLESS hide_marc %] |
235 |
[% IF advancedMARCEditor %] |
236 |
[% IF advancedMARCEditor %] |
236 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;">[% innerloo.tag %]</a> |
237 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib %] [% t('- Click to Expand this Tag') %]" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;">[% innerloo.tag %]</a> |
237 |
[% ELSE %] |
238 |
[% ELSE %] |
238 |
<span title="[% innerloo.tag_lib %]">[% innerloo.tag %]</span> |
239 |
<span title="[% innerloo.tag_lib %]">[% innerloo.tag %]</span> |
239 |
[% END %] |
240 |
[% END %] |
240 |
[% IF ( innerloo.fixedfield ) %] |
241 |
[% IF ( innerloo.fixedfield ) %] |
241 |
<input type="text" |
242 |
<input type="text" tabindex="1" class="indicator flat" style="display:none;" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator1 %]" /> |
242 |
tabindex="1" |
243 |
<input type="text" tabindex="1" class="indicator flat" style="display:none;" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator2 %]" /> |
243 |
class="indicator flat" |
|
|
244 |
style="display:none;" |
245 |
name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" |
246 |
size="1" |
247 |
maxlength="1" |
248 |
value="[% innerloo.indicator1 %]" /> |
249 |
<input type="text" |
250 |
tabindex="1" |
251 |
class="indicator flat" |
252 |
style="display:none;" |
253 |
name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" |
254 |
size="1" |
255 |
maxlength="1" |
256 |
value="[% innerloo.indicator2 %]" /> |
257 |
[% ELSE %] |
244 |
[% ELSE %] |
258 |
<input type="text" |
245 |
<input type="text" tabindex="1" class="indicator flat" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator1 %]" /> |
259 |
tabindex="1" |
246 |
<input type="text" tabindex="1" class="indicator flat" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator2 %]" /> |
260 |
class="indicator flat" |
|
|
261 |
name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" |
262 |
size="1" |
263 |
maxlength="1" |
264 |
value="[% innerloo.indicator1 %]" /> |
265 |
<input type="text" |
266 |
tabindex="1" |
267 |
class="indicator flat" |
268 |
name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" |
269 |
size="1" |
270 |
maxlength="1" |
271 |
value="[% innerloo.indicator2 %]" /> |
272 |
[% END %] - |
247 |
[% END %] - |
273 |
[% ELSE %] |
248 |
[% ELSE %] |
274 |
[% IF ( innerloo.fixedfield ) %] |
249 |
[% IF ( innerloo.fixedfield ) %] |
275 |
<input type="hidden" |
250 |
<input type="hidden" tabindex="1" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" value="[% innerloo.indicator1 %]" /> |
276 |
tabindex="1" |
251 |
<input type="hidden" tabindex="1" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" value="[% innerloo.indicator2 %]" /> |
277 |
name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" |
|
|
278 |
value="[% innerloo.indicator1 %]" /> |
279 |
<input type="hidden" |
280 |
tabindex="1" |
281 |
name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" |
282 |
value="[% innerloo.indicator2 %]" /> |
283 |
[% ELSE %] |
252 |
[% ELSE %] |
284 |
<input type="hidden" |
253 |
<input type="hidden" tabindex="1" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" value="[% innerloo.indicator1 %]" /> |
285 |
tabindex="1" |
254 |
<input type="hidden" tabindex="1" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" value="[% innerloo.indicator2 %]" /> |
286 |
name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" |
|
|
287 |
value="[% innerloo.indicator1 %]" /> |
288 |
<input type="hidden" |
289 |
tabindex="1" |
290 |
name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" |
291 |
value="[% innerloo.indicator2 %]" /> |
292 |
[% END %] |
255 |
[% END %] |
293 |
[% END %] |
256 |
[% END %] |
294 |
|
257 |
|
295 |
[% UNLESS advancedMARCEditor %] |
258 |
[% UNLESS advancedMARCEditor %] |
296 |
<a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="Click to Expand this Tag">[% innerloo.tag_lib %]</a> |
259 |
<a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="[% t('Click to Expand this Tag') %]">[% innerloo.tag_lib %]</a> |
297 |
[% END %] |
260 |
[% END %] |
298 |
<span class="field_controls"> |
261 |
<span class="field_controls"> |
299 |
[% IF ( innerloo.repeatable ) %] |
262 |
[% IF ( innerloo.repeatable ) %] |
300 |
<a href="#" tabindex="1" class="buttonPlus" onclick="CloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]','[% hide_marc %]','[% advancedMARCEditor %]'); return false;" title="Repeat this Tag"> |
263 |
<a href="#" tabindex="1" class="buttonPlus" onclick="CloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]','[% hide_marc %]','[% advancedMARCEditor %]'); return false;" title="[% t('Repeat this Tag') %]"> |
301 |
<img src="[% interface %]/[% theme %]/img/repeat-tag.png" alt="Repeat this Tag" /> |
264 |
<img src="[% interface %]/[% theme %]/img/repeat-tag.png" alt="[% t('Repeat this Tag') %]" /> |
302 |
</a> |
265 |
</a> |
303 |
[% END %] |
266 |
[% END %] |
304 |
<a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="Delete this Tag"> |
267 |
<a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="[% t('Delete this Tag') %]"> |
305 |
<img src="[% interface %]/[% theme %]/img/delete-tag.png" alt="Delete this Tag" /> |
268 |
<img src="[% interface %]/[% theme %]/img/delete-tag.png" alt="[% t('Delete this Tag') %]" /> |
306 |
</a> |
269 |
</a> |
307 |
</span> |
270 |
</span> |
308 |
|
271 |
|
Lines 321-350
function confirmnotdup(redirect){
Link Here
|
321 |
[% UNLESS hide_marc %] |
284 |
[% UNLESS hide_marc %] |
322 |
<span class="subfieldcode"> |
285 |
<span class="subfieldcode"> |
323 |
[% IF ( subfield_loo.fixedfield ) %] |
286 |
[% IF ( subfield_loo.fixedfield ) %] |
324 |
<img class="buttonUp" style="display:none;" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" /> |
287 |
<img class="buttonUp" style="display:none;" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="[% t('Move Up') %]" title="[% t('Move Up') %]" /> |
325 |
[% ELSE %] |
288 |
[% ELSE %] |
326 |
<img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" /> |
289 |
<img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="[% t('Move Up') %]" title="[% t('Move Up') %]" /> |
327 |
[% END %] |
290 |
[% END %] |
328 |
<input type="text" |
291 |
<input type="text" title="[% subfield_loo.marc_lib %]" style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" value="[% subfield_loo.subfield %]" size="1" maxlength="1" class="flat" tabindex="0" /> |
329 |
title="[% subfield_loo.marc_lib %]" |
|
|
330 |
style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" |
331 |
name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" |
332 |
value="[% subfield_loo.subfield %]" |
333 |
size="1" |
334 |
maxlength="1" |
335 |
class="flat" |
336 |
tabindex="0" /> |
337 |
</span> |
292 |
</span> |
338 |
[% ELSE %] |
293 |
[% ELSE %] |
339 |
<input type="hidden" |
294 |
<input type="hidden" name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" value="[% subfield_loo.subfield %]" /> |
340 |
name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" |
|
|
341 |
value="[% subfield_loo.subfield %]" /> |
342 |
[% END %] |
295 |
[% END %] |
343 |
|
296 |
|
344 |
[% UNLESS advancedMARCEditor %] |
297 |
[% UNLESS advancedMARCEditor %] |
345 |
[% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %] |
298 |
[% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %] |
346 |
[% subfield_loo.marc_lib %] |
299 |
[% subfield_loo.marc_lib %] |
347 |
[% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %] |
300 |
[% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="[% t('This field is mandatory') %]">*</span>[% END %] |
348 |
</span> |
301 |
</span> |
349 |
</label> |
302 |
</label> |
350 |
[% END %] |
303 |
[% END %] |
Lines 362-374
function confirmnotdup(redirect){
Link Here
|
362 |
</select> |
315 |
</select> |
363 |
[% ELSIF ( mv.type == 'text1' ) %] |
316 |
[% ELSIF ( mv.type == 'text1' ) %] |
364 |
<input type="text" id="[%- mv.id -%]" name="[%- mv.id -%]" value="[%- mv.value -%]" class="input_marceditor" tabindex="1" /> |
317 |
<input type="text" id="[%- mv.id -%]" name="[%- mv.id -%]" value="[%- mv.value -%]" class="input_marceditor" tabindex="1" /> |
365 |
<a href="#" class="buttonDot" onclick="openAuth(this.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtypecode -%]','auth'); return false;" tabindex="1" title="Tag editor">...</a> |
318 |
<a href="#" class="buttonDot" onclick="openAuth(this.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtypecode -%]','auth'); return false;" tabindex="1" title="[% t('Tag editor') %]">...</a> |
366 |
[% ELSIF ( mv.type == 'text2' ) %] |
319 |
[% ELSIF ( mv.type == 'text2' ) %] |
367 |
<input type="text" id="[%- mv.id -%]" size="67" maxlength="[%- mv.maxlength -%]" name="[%- mv.name -%]" value="[%- mv.value -%]" class="input_marceditor" /> |
320 |
<input type="text" id="[%- mv.id -%]" size="67" maxlength="[%- mv.maxlength -%]" name="[%- mv.name -%]" value="[%- mv.value -%]" class="input_marceditor" /> |
368 |
[% IF mv.noclick %] |
321 |
[% IF mv.noclick %] |
369 |
<a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup">...</a> |
322 |
<a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="[% t('No popup') %]">...</a> |
370 |
[% ELSE %] |
323 |
[% ELSE %] |
371 |
<a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor" title="Tag editor">...</a> |
324 |
<a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor" title="[% t('Tag editor') %]">...</a> |
372 |
[% END %] |
325 |
[% END %] |
373 |
[% mv.javascript %] |
326 |
[% mv.javascript %] |
374 |
[% ELSIF ( mv.type == 'text' ) %] |
327 |
[% ELSIF ( mv.type == 'text' ) %] |
Lines 384-393
function confirmnotdup(redirect){
Link Here
|
384 |
<span class="subfield_controls"> |
337 |
<span class="subfield_controls"> |
385 |
[% IF ( subfield_loo.repeatable ) %] |
338 |
[% IF ( subfield_loo.repeatable ) %] |
386 |
<a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]','[% advancedMARCEditor %]'); return false;"> |
339 |
<a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]','[% advancedMARCEditor %]'); return false;"> |
387 |
<img src="[% interface %]/[% theme %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" /> |
340 |
<img src="[% interface %]/[% theme %]/img/clone-subfield.png" alt="[% t('Clone') %]" title="[% t('Clone this subfield') %]" /> |
388 |
</a> |
341 |
</a> |
389 |
<a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]'); return false;"> |
342 |
<a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]'); return false;"> |
390 |
<img src="[% interface %]/[% theme %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" /> |
343 |
<img src="[% interface %]/[% theme %]/img/delete-subfield.png" alt="[% t('Delete') %]" title="[% t('Delete this subfield') %]" /> |
391 |
</a> |
344 |
</a> |
392 |
[% END %] |
345 |
[% END %] |
393 |
</span> |
346 |
</span> |