4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( authid ) %]Modify authority #[% authid | html %] ([% authtypetext | html %])[% ELSE %]Adding authority ([% authtypetext | html %])[% END %] › Authorities › Koha</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% Asset.js("lib/hc-sticky.js") | $raw %]
9 [% IF Koha.Preference('CreateAVFromCataloguing') && CAN_user_parameters_manage_auth_values %]
10 var auth_values_creation = 1;
12 var auth_values_creation = 0;
15 [% INCLUDE 'select2.inc' %]
16 [% Asset.js("js/cataloging.js") | $raw %]
19 $(window).load(function(){
23 $(document).ready(function() {
24 var tabs = $('#authoritytabs').tabs({
25 activate: function(e, ui) {
26 $("#"+ $(ui.newPanel).attr("id") + " .input_marceditor:visible:eq(0)").focus();
30 /* On page load, check for location.hash in the page URL */
31 var hash = location.hash;
32 var hashPieces = hash.split('?');
33 if( hashPieces[0] !== "" ){
34 var activeTab = $("[href='" + hashPieces[0] + "']");
36 window.scrollTo( 0, 0 );
39 $( "ul.sortable_field", tabs ).sortable();
40 $( "ul.sortable_subfield", tabs ).sortable();
41 Sticky = $("#toolbar");
44 stickyClass: "floating"
46 $("#addauth").click(function(){
51 $("#z3950submit").click(function(){
52 var strQuery = GetZ3950Terms();
53 var index = "&index=[% index | html %]";
55 window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl?authid=[% authid | html %]"+strQuery+index,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
59 $(".toolbar-tabs a").on("click",function(e){
61 selectTab( $(this ) );
64 $(".tag_anchor").on("click", function(e){
66 $(".tag_anchor").removeClass("selected");
67 $(this).addClass("selected");
69 var linkid = link.substring( link.indexOf("#") + 1 );
70 window.scrollTo( 0, getScrollto( linkid, "toolbar" ) );
73 $("body").on("click", ".linkfield", function(e){
75 var tab = $(this).data("tab");
76 var field = $(this).data("field");
77 var tablink = $("a[data-tabid='" + tab + "']" );
79 window.scrollTo( 0, getScrollto( field, "toolbar" ) );
83 function selectTab( tablink ){
84 $(".toolbar-tabs li").removeClass("selected");
85 tablink.parent().addClass("selected");
86 var tabid = tablink.data("tabid");
87 $('#authoritytabs').selectTabByID("#tab" + tabid + "XX");
88 $(".tag_anchors").removeClass("tab_selected").hide();
89 $(".tag_anchors_" + tabid ).addClass("tab_selected").show();
93 * Returns a roughly ideal position to scroll an element into view
94 * @param {string} target - The HTML id of the element to scroll into view
95 * @param {string} elemid - The HTML id of the element which might obscure
96 * the view of the target element e.g. a floating toolbar
97 * @return {number} - The y-coordinate to pass to window.scrollTo()
99 function getScrollto( target, elemid ){
100 var dest = $("#" + target );
101 var yoffset = dest.offset();
104 var element = $("#" + elemid );
105 var elem_height = element.outerHeight();
109 return yoffset.top - elem_height - 20;
114 * check if z3950 mandatories are set or not
116 function GetZ3950Terms(){
117 var strQuery="&authtypecode="+document.forms['f'].authtypecode.value;
118 var mandatories = new Array();
119 var mandatories_label = new Array();
120 [% FOREACH BIG_LOO IN BIG_LOOP %][% FOREACH innerloo IN BIG_LOO.innerloop %][% FOREACH subfield_loo IN innerloo.subfield_loop %][% IF ( subfield_loo.z3950_mandatory ) %]mandatories.push("[% subfield_loo.id | html %]");
121 mandatories_label.push("[% subfield_loo.z3950_mandatory | html %]");[% END %][% END %][% END %][% END %]
123 for(var i=0,len=mandatories.length; i<len ; i++){
124 var field_value = document.getElementById(mandatories[i]).value;
126 strQuery += "&"+mandatories_label[i]+"="+encodeURIComponent(field_value);
133 * check if mandatory subfields are written
135 function AreMandatoriesNotOk(){
136 var mandatories = new Array();
137 var mandatoriesfields = new Array();
138 var tab = new Array();
139 var label = new Array();
140 [% FOREACH BIG_LOO IN BIG_LOOP %]
141 [% FOREACH innerloo IN BIG_LOO.innerloop %]
142 [% IF ( innerloo.mandatory ) %]
143 mandatoriesfields.push(new Array("[% innerloo.tag | html %]","[% innerloo.index | html %][% innerloo.random | html %]","[% innerloo.index | html %]"));
145 [% FOREACH subfield_loo IN innerloo.subfield_loop %]
146 [% IF ( subfield_loo.mandatory ) %]mandatories.push("[% subfield_loo.id | html %]");
147 tab.push("[% BIG_LOO.number | html %]");
148 label.push("[% To.json(subfield_loo.marc_lib) | html %]");
154 for(var i=0,len=mandatories.length; i<len ; i++){
155 var id_string = mandatories[i];
156 // alert (id_string);
157 if( ! $("#" + id_string).val() ){
158 var elt = document.getElementById(id_string);
159 if ( elt.nodeName == 'SELECT' ) {
160 $(elt).siblings('.select2').find("span[role='combobox']").addClass('subfield_not_filled');
162 $(elt).addClass('subfield_not_filled');
166 StrAlert += "\t* " + _("%s in tab %s").format(label[i], tab[i]) + "\n";
170 /* Check for mandatories field(not subfields) */
171 for(var i=0,len=mandatoriesfields.length; i<len; i++){
173 arr = mandatoriesfields[i];
174 divid = "tag_" + arr[0] + "_" + arr[1];
175 varegexp = new RegExp("^tag_" + arr[0] + "_code_");
177 if(parseInt(arr[0]) >= 10){
178 elem = document.getElementById(divid);
179 eleminputs = elem.getElementsByTagName('input');
181 for(var j=0,len2=eleminputs.length; j<len2; j++){
183 if(eleminputs[j].name.match(varegexp) && eleminputs[j].value){
184 inputregexp = new RegExp("^tag_" + arr[0] + "_subfield_" + eleminputs[j].value + "_" + arr[2]);
186 for( var k=0; k<len2; k++){
187 if(eleminputs[k].id.match(inputregexp) && eleminputs[k].value){
199 StrAlert += "\t* " + _("Field %s is mandatory, at least one of its subfields must be filled.").format(arr[0]) + "\n";
206 return _("Can't save this record because the following field aren't filled :") + "\n\n" + StrAlert;
212 var StrAlert = AreMandatoriesNotOk();
222 function AddField(field,cntrepeatfield) {
223 document.forms['f'].op.value = "addfield";
224 document.forms['f'].addfield_field.value=field;
225 document.forms['f'].repeat_field.value=cntrepeatfield;
229 function addauthority() {
230 X = document.forms[0].authtype.value;
231 window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
233 function searchauthority() {
234 X = document.forms[0].authtype2.value;
235 Y = document.forms[0].value.value;
236 window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains";
238 function confirmnotdup(redirect){
239 $("#confirm_not_duplicate").attr("value","1");
243 [% Asset.css("css/addbiblio.css") | $raw %]
246 <body id="auth_authorities" class="auth">
249 <div>Loading, please wait...</div>
252 [% INCLUDE 'header.inc' %]
254 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
257 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
260 <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
265 <a href="#" aria-current="page">
266 Modify authority #[% authid | html %] ([% authtypetext | html %])
272 <a href="#" aria-current="page">
273 Adding authority [% authtypetext | html %]
279 </nav> <!-- /#breadcrumbs -->
281 <div class="main container-fluid">
283 <div class="col-md-10 col-md-offset-1">
286 <h1>Modify authority #[% authid | html %] [% authtypetext | html %]</h1>
288 <h1>Adding authority [% authtypetext | html %]</h1>
291 [% IF ( duplicateauthid ) %]
292 <div class="dialog alert">
293 <h3>Duplicate record suspected</h3>
294 <p>Is this a duplicate of <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid | uri %]" class="popup" onclick="openWindow('/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid | html %]&popup=1', 'DuplicateAuthority','800','600'); return false;" class="button">[% duplicateauthvalue | html %]</a> ?</p>
296 <form action="authorities.pl" method="get">
297 <input type="hidden" name="authid" value="[% duplicateauthid | html %]" />
298 <button type="submit" class="new"><i class="fa fa-pencil"></i> Yes: Edit existing authority</button>
300 <form action="authorities.pl" method="get">
301 <button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> No: Save as new authority</button>
304 [% END # /IF duplicateauthid %]
306 <form method="post" name="f" action="/cgi-bin/koha/authorities/authorities.pl">
307 <input type="hidden" name="op" value="add" />
308 <input type="hidden" name="addfield_field" value="" />
309 <input type="hidden" name="repeat_field" value="" />
310 <input type="hidden" name="authtypecode" value="[% authtypecode | html%]" />
311 <input type="hidden" name="authid" value="[% authid | html %]" />
312 <input type="hidden" name="index" value="[% index | html %]" />
313 <input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" />
315 <div id="toolbar" class="btn-toolbar">
316 <div class="btn-group"><a href="#" id="addauth" class="btn btn-default" accesskey="w"><i class="fa fa-save"></i> Save</a></div>
317 <div class="btn-group">
319 <a class="btn btn-default" id="z3950submit" href="#"><i class="fa fa-search"></i> Replace record via Z39.50/SRU search</a>
321 <a class="btn btn-default" id="z3950submit" href="#"><i class="fa fa-search"></i> Z39.50/SRU search</a>
324 <div class="btn-group">
326 <a class="btn btn-default" id="cancel" href="/cgi-bin/koha/authorities/detail.pl?authid=[% authid | url %]">Cancel</a>
328 <a class="btn btn-default" id="cancel" href="/cgi-bin/koha/authorities/authorities-home.pl">Cancel</a>
331 <div class="toolbar-tabs-container">
332 [% IF ( BIG_LOOP && BIG_LOOP.size > 1 ) %]
333 <ul class="toolbar-tabs">
334 [%- FOREACH BIG_LOO IN BIG_LOOP -%]
336 <li class="selected">
340 <a data-tabid="[% BIG_LOO.number | html %]" href="#tab[% BIG_LOO.number | html %]XX">[% BIG_LOO.number | html %]</a>
345 <ul class="tag_anchors_list">
346 [% FOREACH BIG_LOO IN BIG_LOOP %]
347 [% IF loop.first %][% SET tab_selected = "tab_selected" %][% ELSE %][% SET tab_selected = "" %][% END %]
348 [% FOREACH innerloo IN BIG_LOO.innerloop %]
349 [% IF ( innerloo.tag ) %]
350 <li class="tag_anchors tag_anchors_[% BIG_LOO.number | html %] [% tab_selected | html %]">
351 <a class="tag_anchor" id="tag_anchor_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]" title="tag_anchor_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]" href="#div_indicator_tag_[% innerloo.tag | uri %]_[% innerloo.index | uri %][% innerloo.random | uri %]">[% innerloo.tag | uri %]</a>
358 </div> <!-- /#toolbar -->
361 Used in <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&q=an:[% authid | uri %]">[% count | html %] record(s)</a>
363 This authority is not used in any records.
366 <div id="authoritytabs" class="toptabs numbered">
368 [% FOREACH BIG_LOO IN BIG_LOOP %]
369 <li><a href="#tab[% BIG_LOO.number | uri %]XX">[% BIG_LOO.number | html %]</a></li>
373 [% FOREACH BIG_LOO IN BIG_LOOP %]
374 <div id="tab[% BIG_LOO.number | html %]XX">
375 [% IF ( BIG_LOOP.size > 1 ) %]
376 <h2>Section [% BIG_LOO.number | html %]</h2>
379 [% FOREACH innerloo IN BIG_LOO.innerloop %]
380 [% IF ( innerloo.tag ) %]
381 [% IF innerloo.tag != previous %]
382 [% IF previous != "" %]
385 [% previous = innerloo.tag %]
386 [% IF ( innerloo.repeatable ) %]
387 <ul class="sortable_field">
393 [% IF ( innerloo.repeatable ) %]
394 <li class="tag sortable_tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
396 <li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
399 <div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]">
400 [% UNLESS hide_marc %]
401 [% IF advancedMARCEditor %]
402 <a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a>
404 <span class="tagnum" title="[% innerloo.tag_lib | html %]">[% innerloo.tag | html %]</span>
406 [% IF ( innerloo.fixedfield ) %]
409 class="indicator flat"
410 style="display:none;"
411 name="tag_[% innerloo.tag | html %]_indicator1_[% innerloo.index | html %][% innerloo.random | html %]"
414 value="[% innerloo.indicator1 | html %]" />
417 class="indicator flat"
418 style="display:none;"
419 name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]"
422 value="[% innerloo.indicator2 | html %]" />
426 class="indicator flat"
427 name="tag_[% innerloo.tag | html %]_indicator1_[% innerloo.index | html %][% innerloo.random | html %]"
430 value="[% innerloo.indicator1 | html %]" />
433 class="indicator flat"
434 name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]"
437 value="[% innerloo.indicator2 | html %]" />
438 [% END # /IF ( innerloo.fixedfield ) %] -
440 [% IF ( innerloo.fixedfield ) %]
443 name="tag_[% innerloo.tag | html %]_indicator1_[% innerloo.index | html %][% innerloo.random | html %]"
444 value="[% innerloo.indicator1 | html %]" />
447 name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]"
448 value="[% innerloo.indicator2 | html %]" />
452 name="tag_[% innerloo.tag | html %]_indicator1_[% innerloo.index | html %][% innerloo.random | html %]"
453 value="[% innerloo.indicator1 | html %]" />
456 name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]"
457 value="[% innerloo.indicator2 | html %]" />
458 [% END # /IF ( innerloo.fixedfield ) %]
459 [% END # /UNLESS hide_marc %]
461 [% UNLESS advancedMARCEditor %]
462 <a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Click to Expand this Tag">[% innerloo.tag_lib | html %]</a>
464 <span class="field_controls">
465 [% IF ( innerloo.repeatable ) %]
466 <a href="#" tabindex="1" class="buttonPlus" onclick="CloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]','[% hide_marc | html %]','[% advancedMARCEditor | html %]'); return false;" title="Repeat this Tag">
467 <img src="[% interface | html %]/[% theme | html %]/img/repeat-tag.png" alt="Repeat this Tag" />
470 <a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Delete this Tag">
471 <img src="[% interface | html %]/[% theme | html %]/img/delete-tag.png" alt="Delete this Tag" />
473 </span> <!-- /.field_controls -->
474 </div> <!-- /div.tag_title -->
476 <ul class="sortable_subfield">
477 [% FOREACH subfield_loo IN innerloo.subfield_loop %]
478 <!-- One line on the marc editor -->
479 <li class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]">
481 [% UNLESS hide_marc %]
482 <div class="subfieldcode">
484 title="[% subfield_loo.marc_lib | $raw %]"
485 style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;"
486 name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]"
487 value="[% subfield_loo.subfield | html %]"
495 name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]"
496 value="[% subfield_loo.subfield | html %]" />
497 [% END # /UNLESS hide_marc %]
499 [% UNLESS advancedMARCEditor %]
500 [% IF ( subfield_loo.mandatory ) %]
501 <div class="subfield subfield_mandatory">
503 <div class="subfield">
505 [% IF ( subfield_loo.fixedfield ) %]
506 <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" style="display:none;" class="labelsubfield">
508 <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield">
510 [% subfield_loo.marc_lib | $raw %]
512 </div> <!-- /.subfield -->
513 [% END # UNLESS advancedMARCEditor %]
515 [% SET mv = subfield_loo.marc_value %]
516 <div id="field_marceditor[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]" class="field_marceditor">
517 [% IF ( mv.type == 'select' ) %]
518 [% IF mv.category AND CAN_user_parameters_manage_auth_values %]
519 <select name="[%- mv.name | html -%]" tabindex="1" class="input_marceditor" id="[%- mv.id | html -%]" data-category="[% mv.category | html %]">
521 <select name="[%- mv.name | html -%]" tabindex="1" class="input_marceditor select2" id="[%- mv.id | html -%]">
523 [% FOREACH aval IN mv.values %]
524 [% IF aval == mv.default %]
525 <option value="[%- aval | html -%]" selected="selected">[%- mv.labels.$aval | html -%]</option>
527 <option value="[%- aval | html -%]">[%- mv.labels.$aval | html -%]</option>
531 [% ELSIF ( mv.type == 'text1' ) %]
532 <input type="text" id="[%- mv.id | html -%]" name="[%- mv.id | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" />
533 [% ELSIF ( mv.type == 'text2' ) %]
534 <input type="text" id="[%- mv.id | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" />
535 [% ELSIF ( mv.type == 'text' ) %]
536 <input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" size="67" maxlength="[%- mv.maxlength | html -%]" />
537 [% ELSIF ( mv.type == 'textarea' ) %]
538 <textarea cols="70" rows="4" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" class="input_marceditor" tabindex="1" size="67" maxlength="[%- mv.maxlength | html -%]">[%- mv.value | html -%]</textarea>
539 [% ELSIF ( mv.type == 'hidden' ) %]
540 <input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
541 [% ELSIF ( mv.type == 'hidden_simple' ) %]
542 <input type="hidden" name="[%- mv.name | html -%]" />
543 [% END # /IF mv.type %]
544 </div> <!-- /.field_marceditor -->
546 [% IF ( subfield_loo.mandatory ) %]
547 <div class="subfield_loop_mandatory">
548 <span class="required">Required</span>
552 <div class="subfield_controls">
553 [% IF ( mv.type == 'text1' ) %]
554 <a href="#" class="buttonDot tag_editor" onclick="openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtypecode | html -%]','auth'); return false;" tabindex="1" title="Tag editor">Tag editor</a>
555 [% ELSIF ( mv.type == 'text2' ) %]
557 <a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup">...</a>
559 <a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor" title="Tag editor">...</a>
561 [% mv.javascript | $raw %]
562 [% END #/IF ( mv.type == 'text1' ) %]
563 [% IF ( subfield_loo.repeatable ) %]
564 <a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]','[% advancedMARCEditor | html %]'); return false;">
565 <img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" />
567 <a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;">
568 <img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" />
570 [% END # /IF ( subfield_loo.repeatable ) %]
571 </div> <!-- /.subfield_controls -->
572 </li> <!-- /.subfield_line -->
573 [% END # /FOREACH subfield_loo %]
574 </ul> <!-- /.sortable_subfield -->
576 [% END # /IF ( innerloo.tag ) %]
577 [% END # /FOREACH innerloo %]
578 </ul> <!-- /.sortable_field -->
579 </div> <!-- /#tab[% BIG_LOO.number | html %]XX -->
580 [% END #/FOREACH BIG_LOO %]
581 </div> <!-- /#authoritytabs -->
583 <div name="hidden" id="hidden" class="tab">
584 [% FOREACH hidden_loo IN hidden_loop %]
585 <input type="hidden" name="tag" value="[% hidden_loo.tag | html %]" />
586 <input type="hidden" name="subfield" value="[% hidden_loo.subfield | html %]" />
587 <input type="hidden" name="mandatory" value="[% hidden_loo.mandatory | html %]" />
588 <input type="hidden" name="kohafield" value="[% hidden_loo.kohafield | html %]" />
589 <input type="hidden" name="tag_mandatory" value="[% hidden_loo.tag_mandatory | html %]" />
591 </div> <!-- /.tab -->
592 [% IF ( oldauthnumtagfield ) %]
593 <input type="hidden" name="tag" value="[% oldauthnumtagfield | html %]" />
594 <input type="hidden" name="subfield" value="[% oldauthnumtagsubfield | html %]" />
595 <input type="hidden" name="field_value" value="[% authid | html %]" />
596 <input type="hidden" name="mandatory" value="0" />
597 <input type="hidden" name="kohafield" value="[% kohafield | html %]" />
598 <input type="hidden" name="tag_mandatory" value="[% tag_mandatory | html %]" />
599 <input type="hidden" name="tag" value="[% oldauthtypetagfield | html %]" />
600 <input type="hidden" name="subfield" value="[% oldauthtypetagsubfield | html %]" />
601 <input type="hidden" name="field_value" value="[% authtypecode | html %]" />
606 [% INCLUDE 'modals/cataloguing_create_av.inc' %]
612 [% INCLUDE 'intranet-bottom.inc' %]