Lines 37-79
Link Here
|
37 |
stickyClass: "floating" |
37 |
stickyClass: "floating" |
38 |
}); |
38 |
}); |
39 |
|
39 |
|
40 |
/* check cookie to hide/show marcdocs*/ |
|
|
41 |
if($.cookie("marcdocs_[% borrowernumber | html %]") == 'hide'){ |
42 |
toggleMARCdocLinks(false); |
43 |
} else { |
44 |
toggleMARCdocLinks(true); |
45 |
} |
46 |
|
47 |
$("#marcDocsSelect").click(function(){ |
48 |
if($.cookie("marcdocs_[% borrowernumber | html %]") == 'hide'){ |
49 |
toggleMARCdocLinks(true); |
50 |
} else { |
51 |
toggleMARCdocLinks(false); |
52 |
} |
53 |
}); |
54 |
|
55 |
/* check cookie to hide/show marc tags*/ |
56 |
var marctags_cookie = $.cookie("marctags_[% borrowernumber | html %]"); |
57 |
if( marctags_cookie == 'hide'){ |
58 |
toggleMARCTagLinks(false); |
59 |
} else if( marctags_cookie == 'show'){ |
60 |
toggleMARCTagLinks(true) |
61 |
} else { |
62 |
[% UNLESS Koha.Preference("hide_marc") %] |
63 |
toggleMARCTagLinks(true) |
64 |
[% ELSE %] |
65 |
toggleMARCTagLinks(false); |
66 |
[% END %] |
67 |
} |
68 |
|
69 |
$("#marcTagsSelect").click(function(){ |
70 |
if( $.cookie("marctags_[% borrowernumber | html %]") == 'hide'){ |
71 |
toggleMARCTagLinks(true) |
72 |
} else { |
73 |
toggleMARCTagLinks(false); |
74 |
} |
75 |
}); |
76 |
|
77 |
[%# Only ask for a confirmation if it is an edit %] |
40 |
[%# Only ask for a confirmation if it is an edit %] |
78 |
$("#z3950search").click(function(){ |
41 |
$("#z3950search").click(function(){ |
79 |
[% IF biblionumber %] |
42 |
[% IF biblionumber %] |
Lines 190-392
function PopupZ3950() {
Link Here
|
190 |
} |
153 |
} |
191 |
} |
154 |
} |
192 |
|
155 |
|
193 |
function PopupMARCFieldDoc(field) { |
|
|
194 |
[% IF Koha.Preference('marcfielddocurl') %] |
195 |
var docurl = "[% Koha.Preference('marcfielddocurl').replace('"','"') | html %]"; |
196 |
docurl = docurl.replace("{MARC}", "[% marcflavour | html %]"); |
197 |
docurl = docurl.replace("{FIELD}", ""+field); |
198 |
docurl = docurl.replace("{LANG}", "[% lang | html %]"); |
199 |
window.open(docurl); |
200 |
[% ELSIF ( marcflavour == 'MARC21' ) %] |
201 |
_MARC21FieldDoc(field); |
202 |
[% ELSIF ( marcflavour == 'UNIMARC' ) %] |
203 |
_UNIMARCFieldDoc(field); |
204 |
[% END %] |
205 |
} |
206 |
|
207 |
function _MARC21FieldDoc(field) { |
208 |
if(field == 0) { |
209 |
window.open("http://www.loc.gov/marc/bibliographic/bdleader.html"); |
210 |
} else if (field < 900) { |
211 |
window.open("http://www.loc.gov/marc/bibliographic/bd" + ("000"+field).slice(-3) + ".html"); |
212 |
} else { |
213 |
window.open("http://www.loc.gov/marc/bibliographic/bd9xx.html"); |
214 |
} |
215 |
} |
216 |
|
217 |
function _UNIMARCFieldDoc(field) { |
218 |
/* http://archive.ifla.org/VI/3/p1996-1/ is an outdated version of UNIMARC, but |
219 |
seems to be the only version available that can be linked to per tag. More recent |
220 |
versions of the UNIMARC standard are available on the IFLA website only as |
221 |
PDFs! |
222 |
*/ |
223 |
var url; |
224 |
if (field == 0) { |
225 |
url = "http://archive.ifla.org/VI/3/p1996-1/uni.htm"; |
226 |
} else { |
227 |
var first = field.substring(0,1); |
228 |
url = "http://archive.ifla.org/VI/3/p1996-1/uni" + first + ".htm#"; |
229 |
if (first == 0) url = url + "b"; |
230 |
url = first == 9 |
231 |
? "http://archive.ifla.org/VI/3/p1996-1/uni9.htm" |
232 |
: url + field; |
233 |
} |
234 |
window.open(url); |
235 |
} |
236 |
|
237 |
/* |
238 |
* Functions to hide/show marc docs and tags links |
239 |
*/ |
240 |
|
241 |
function toggleMARCdocLinks(flag){ |
242 |
if( flag === true ){ |
243 |
$(".marcdocs").show(); |
244 |
$.cookie("marcdocs_[% borrowernumber | html %]",'show', { path: "/", expires: 365 }); |
245 |
$("#marcDocsSelect i").addClass('fa-check-square-o').removeClass('fa-square-o'); |
246 |
} else { |
247 |
$(".marcdocs").hide(); |
248 |
$.cookie("marcdocs_[% borrowernumber | html %]",'hide', { path: "/", expires: 365 }); |
249 |
$("#marcDocsSelect i").removeClass('fa-check-square-o').addClass('fa-square-o'); |
250 |
} |
251 |
} |
252 |
|
253 |
function toggleMARCTagLinks(flag){ |
254 |
if( flag === true ){ |
255 |
$(".tagnum").show(); |
256 |
$(".subfieldcode").show(); |
257 |
$.cookie("marctags_[% borrowernumber | html %]",'show', { path: "/", expires: 365 }); |
258 |
$("#marcTagsSelect i").addClass('fa-check-square-o').removeClass('fa-square-o'); |
259 |
} else { |
260 |
$(".tagnum").hide(); |
261 |
$(".subfieldcode").hide(); |
262 |
$.cookie("marctags_[% borrowernumber | html %]",'hide', { path: "/", expires: 365 }); |
263 |
$("#marcTagsSelect i").removeClass('fa-check-square-o').addClass('fa-square-o'); |
264 |
} |
265 |
} |
266 |
|
267 |
/** |
268 |
* check if mandatory subfields are written |
269 |
*/ |
270 |
function AreMandatoriesNotOk(){ |
271 |
var mandatories = new Array(); |
272 |
var mandatoriesfields = new Array(); |
273 |
var tab = new Array(); |
274 |
var label = new Array(); |
275 |
var flag=0; |
276 |
var tabflag= new Array(); |
277 |
[% FOREACH BIG_LOO IN BIG_LOOP %] |
278 |
[% FOREACH innerloo IN BIG_LOO.innerloop %] |
279 |
[% IF ( innerloo.mandatory ) %] |
280 |
mandatoriesfields.push(new Array("[% innerloo.tag | html %]","[% innerloo.index | html %][% innerloo.random | html %]","[% innerloo.index | html %]")); |
281 |
[% END %] |
282 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
283 |
[% IF ( subfield_loo.mandatory ) %]mandatories.push("[% subfield_loo.id | html %]"); |
284 |
tab.push("[% BIG_LOO.number | html %]"); |
285 |
label.push("[% subfield_loo.marc_lib | $raw %]"); |
286 |
[% END %] |
287 |
[% END %] |
288 |
[% END %] |
289 |
[% END %] |
290 |
var StrAlert = _("Can't save this record because the following field aren't filled:"); |
291 |
StrAlert += "\n\n"; |
292 |
for(var i=0,len=mandatories.length; i<len ; i++){ |
293 |
var tag=mandatories[i].substr(4,3); |
294 |
var subfield=mandatories[i].substr(17,1); |
295 |
var tagnumber=mandatories[i].substr(19,mandatories[i].lastIndexOf("_")-19); |
296 |
if (tabflag[tag+subfield+tagnumber] == null) { |
297 |
tabflag[tag+subfield+tagnumber]=new Array(); |
298 |
tabflag[tag+subfield+tagnumber][0]=0; |
299 |
} |
300 |
if( tabflag[tag+subfield+tagnumber][0] != 1 && (document.getElementById(mandatories[i]) != null && ! document.getElementById(mandatories[i]).value || document.getElementById(mandatories[i]) == null)){ |
301 |
tabflag[tag+subfield+tagnumber][0] = 0 + tabflag[tag+subfield+tagnumber] ; |
302 |
document.getElementById(mandatories[i]).setAttribute('class','subfield_not_filled'); |
303 |
$('#' + mandatories[i]).focus(); |
304 |
tabflag[tag+subfield+tagnumber][1]=label[i]; |
305 |
tabflag[tag+subfield+tagnumber][2]=tab[i]; |
306 |
} else { |
307 |
tabflag[tag+subfield+tagnumber][0] = 1; |
308 |
} |
309 |
} |
310 |
for (var tagsubfieldid in tabflag){ |
311 |
if (tabflag[tagsubfieldid][0]==0){ |
312 |
var tag=tagsubfieldid.substr(0,3); |
313 |
var subfield=tagsubfieldid.substr(3,1); |
314 |
StrAlert += "\t* "+_("tag %s subfield %s %s in tab %s").format(tag, subfield, tabflag[tagsubfieldid][1], tabflag[tagsubfieldid][2]) + "\n"; |
315 |
//StrAlert += "\t* "+label[i]+_(" in tab ")+tab[i]+"\n"; |
316 |
flag=1; |
317 |
} |
318 |
} |
319 |
|
320 |
/* Check for mandatories field(not subfields) */ |
321 |
for(var i=0,len=mandatoriesfields.length; i<len; i++){ |
322 |
isempty = true; |
323 |
arr = mandatoriesfields[i]; |
324 |
divid = "tag_" + arr[0] + "_" + arr[1]; |
325 |
varegexp = new RegExp("^tag_" + arr[0] + "_code_"); |
326 |
|
327 |
if(parseInt(arr[0]) >= 10){ |
328 |
elem = document.getElementById(divid); |
329 |
eleminputs = elem.getElementsByTagName('input'); |
330 |
|
331 |
for(var j=0,len2=eleminputs.length; j<len2; j++){ |
332 |
|
333 |
if(eleminputs[j].name.match(varegexp) && eleminputs[j].value){ |
334 |
inputregexp = new RegExp("^tag_" + arr[0] + "_subfield_" + eleminputs[j].value + "_" + arr[2]); |
335 |
|
336 |
for( var k=0; k<len2; k++){ |
337 |
if(eleminputs[k].id.match(inputregexp) && eleminputs[k].value){ |
338 |
isempty = false |
339 |
} |
340 |
} |
341 |
|
342 |
elemselect = elem.getElementsByTagName('select'); |
343 |
for( var k=0; k<elemselect.length; k++){ |
344 |
if(elemselect[k].id.match(inputregexp) && elemselect[k].value){ |
345 |
isempty = false |
346 |
} |
347 |
} |
348 |
} |
349 |
} |
350 |
|
351 |
elemtextareas = elem.getElementsByTagName('textarea'); |
352 |
for(var j=0,len2=elemtextareas.length; j<len2; j++){ |
353 |
// this bit assumes that the only textareas in this context would be for subfields |
354 |
if (elemtextareas[j].value) { |
355 |
isempty = false; |
356 |
} |
357 |
} |
358 |
}else{ |
359 |
isempty = false; |
360 |
} |
361 |
|
362 |
if(isempty){ |
363 |
flag = 1; |
364 |
StrAlert += "\t* " + _("Field %s is mandatory, at least one of its subfields must be filled.").format(arr[0]) + "\n"; |
365 |
} |
366 |
|
367 |
} |
368 |
|
369 |
if(flag){ |
370 |
return StrAlert; |
371 |
} else { |
372 |
return flag; |
373 |
} |
374 |
} |
375 |
|
376 |
/** |
377 |
* |
378 |
* |
379 |
*/ |
380 |
function Check(){ |
381 |
var StrAlert = AreMandatoriesNotOk(); |
382 |
if( ! StrAlert ){ |
383 |
document.f.submit(); |
384 |
return true; |
385 |
} else { |
386 |
alert(StrAlert); |
387 |
return false; |
388 |
} |
389 |
} |
390 |
|
156 |
|
391 |
/** |
157 |
/** |
392 |
* check if z3950 mandatories are set or not |
158 |
* check if z3950 mandatories are set or not |
Lines 615-786
function Changefwk() {
Link Here
|
615 |
<input type="hidden" name="breedingid" value="[% breedingid | html %]" /> |
381 |
<input type="hidden" name="breedingid" value="[% breedingid | html %]" /> |
616 |
<input type="hidden" name="changed_framework" value="" /> |
382 |
<input type="hidden" name="changed_framework" value="" /> |
617 |
|
383 |
|
618 |
<div id="addbibliotabs" class="toptabs numbered"> |
384 |
[% INCLUDE 'marc_editor.inc' maindiv='addbibliotabs' marc21_doc_base='http://www.loc.gov/marc/bibliographic/bd' unimarc_doc_base='https://www.ifla.org/publications/unimarc-bibliographic--3rd-edition--updates-2012-and-updates-2016' %] |
619 |
<ul> |
|
|
620 |
[% FOREACH BIG_LOO IN BIG_LOOP %] |
621 |
<li><a href="#tab[% BIG_LOO.number | uri %]XX">[% BIG_LOO.number | html %]</a></li> |
622 |
[% END %] |
623 |
</ul> |
624 |
|
625 |
[% FOREACH BIG_LOO IN BIG_LOOP %] |
626 |
<div id="tab[% BIG_LOO.number | html %]XX"> |
627 |
|
628 |
[% IF ( BIG_LOOP.size > 1 ) %] |
629 |
<h3>Section [% BIG_LOO.number | html %]</h3> |
630 |
[% END %] |
631 |
[% FOREACH innerloo IN BIG_LOO.innerloop %] |
632 |
[% IF ( innerloo.tag ) %] |
633 |
<div class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
634 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
635 |
[% IF advancedMARCEditor %] |
636 |
<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> |
637 |
[% ELSE %] |
638 |
<span class="tagnum" title="[% innerloo.tag_lib | html %]">[% innerloo.tag | html %]</span> |
639 |
[% IF marcflavour != 'NORMARC' %]<a href="#" class="marcdocs" onclick="PopupMARCFieldDoc('[% innerloo.tag | html %]'); return false;"> ?</a>[% END %] |
640 |
[% END %] |
641 |
[% IF ( innerloo.fixedfield ) %] |
642 |
<input type="text" |
643 |
tabindex="1" |
644 |
class="indicator flat" |
645 |
style="display:none;" |
646 |
name="tag_[% innerloo.tag | html %]_indicator1_[% innerloo.index | html %][% innerloo.random | html %]" |
647 |
size="1" |
648 |
maxlength="1" |
649 |
value="[% innerloo.indicator1 | html %]" /> |
650 |
<input type="text" |
651 |
tabindex="1" |
652 |
class="indicator flat" |
653 |
style="display:none;" |
654 |
name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]" |
655 |
size="1" |
656 |
maxlength="1" |
657 |
value="[% innerloo.indicator2 | html %]" /> |
658 |
[% ELSE %] |
659 |
<input type="text" |
660 |
tabindex="1" |
661 |
class="indicator flat" |
662 |
name="tag_[% innerloo.tag | html %]_indicator1_[% innerloo.index | html %][% innerloo.random | html %]" |
663 |
size="1" |
664 |
maxlength="1" |
665 |
value="[% innerloo.indicator1 | html %]" /> |
666 |
<input type="text" |
667 |
tabindex="1" |
668 |
class="indicator flat" |
669 |
name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]" |
670 |
size="1" |
671 |
maxlength="1" |
672 |
value="[% innerloo.indicator2 | html %]" /> |
673 |
[% END %] - |
674 |
|
675 |
[% UNLESS advancedMARCEditor %] |
676 |
<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> |
677 |
[% END %] |
678 |
<span class="field_controls"> |
679 |
[% IF ( innerloo.repeatable ) %] |
680 |
<a href="#" tabindex="1" class="buttonPlus" onclick="CloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]','0','[% advancedMARCEditor | html %]'); return false;" title="Repeat this Tag"> |
681 |
<img src="[% interface | html %]/[% theme | html %]/img/repeat-tag.png" alt="Repeat this Tag" /> |
682 |
</a> |
683 |
[% END %] |
684 |
<a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Delete this Tag"> |
685 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-tag.png" alt="Delete this Tag" /> |
686 |
</a> |
687 |
</span> |
688 |
|
689 |
</div> |
690 |
|
691 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
692 |
<!-- One line on the marc editor --> |
693 |
<div class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]"> |
694 |
|
695 |
[% UNLESS advancedMARCEditor %] |
696 |
[% IF ( subfield_loo.fixedfield ) %]<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"> |
697 |
[% ELSE %]<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield"> |
698 |
[% END %] |
699 |
[% END %] |
700 |
|
701 |
<span class="subfieldcode"> |
702 |
[% IF ( subfield_loo.fixedfield ) %] |
703 |
<img class="buttonUp" style="display:none;" src="[% interface | html %]/[% theme | html %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]')" alt="Move Up" title="Move Up" /> |
704 |
[% ELSE %] |
705 |
<img class="buttonUp" src="[% interface | html %]/[% theme | html %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]')" alt="Move Up" title="Move Up" /> |
706 |
[% END %] |
707 |
<input type="text" |
708 |
title="[% subfield_loo.marc_lib | $raw %]" |
709 |
style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" |
710 |
name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" |
711 |
value="[% subfield_loo.subfield | html %]" |
712 |
size="1" |
713 |
maxlength="1" |
714 |
class="flat" |
715 |
tabindex="0" /> |
716 |
</span> |
717 |
|
718 |
[% UNLESS advancedMARCEditor %] |
719 |
[% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %] |
720 |
[% subfield_loo.marc_lib | $raw %] |
721 |
[% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %] |
722 |
</span> |
723 |
</label> |
724 |
[% END %] |
725 |
|
726 |
[% SET mv = subfield_loo.marc_value %] |
727 |
[% IF ( mv.type == 'text' ) %] |
728 |
[% IF ( mv.readonly == 1 ) %] |
729 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor readonly" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" readonly="readonly" /> |
730 |
[% ELSE %] |
731 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" /> |
732 |
[% END %] |
733 |
[% IF ( mv.authtype ) %] |
734 |
<span class="subfield_controls"><a href="#" class="buttonDot tag_editor" onclick="openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtype | html -%]','biblio'); return false;" tabindex="1" title="Tag editor">Tag editor</a></span> |
735 |
[% END %] |
736 |
[% ELSIF ( mv.type == 'text_complex' ) %] |
737 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor framework_plugin" tabindex="1" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" /> |
738 |
<span class="subfield_controls"> |
739 |
[% IF mv.noclick %] |
740 |
<a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup"></a> |
741 |
[% ELSE %] |
742 |
<a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor framework_plugin" tabindex="1" title="Tag editor">Tag editor</a> |
743 |
[% END %] |
744 |
</span> |
745 |
[% mv.javascript | $raw %] |
746 |
[% ELSIF ( mv.type == 'hidden' ) %] |
747 |
<input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" size="[%- mv.size | html -%]" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" /> |
748 |
[% ELSIF ( mv.type == 'textarea' ) %] |
749 |
<textarea cols="70" rows="4" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" class="input_marceditor" tabindex="1">[%- mv.value | html -%]</textarea> |
750 |
[% ELSIF ( mv.type == 'select' ) %] |
751 |
<select name="[%- mv.name | html -%]" tabindex="1" size="1" class="input_marceditor" id="[%- mv.id | html -%]"> |
752 |
[% FOREACH aval IN mv.values %] |
753 |
[% IF aval == mv.default %] |
754 |
<option value="[%- aval | html -%]" selected="selected">[%- mv.labels.$aval | html -%]</option> |
755 |
[% ELSE %] |
756 |
<option value="[%- aval | html -%]">[%- mv.labels.$aval | html -%]</option> |
757 |
[% END %] |
758 |
[% END %] |
759 |
</select> |
760 |
[% END %] |
761 |
|
762 |
<span class="subfield_controls"> |
763 |
[% IF ( subfield_loo.repeatable ) %] |
764 |
<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;"> |
765 |
<img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" /> |
766 |
</a> |
767 |
<a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;"> |
768 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" /> |
769 |
</a> |
770 |
[% END %] |
771 |
</span> |
772 |
|
773 |
</div> |
774 |
<!-- End of the line --> |
775 |
[% END %] |
776 |
|
777 |
</div> |
778 |
[% END %]<!-- if innerloo.tag --> |
779 |
[% END %]<!-- BIG_LOO.innerloop --> |
780 |
</div> |
781 |
[% END %]<!-- BIG_LOOP --> |
782 |
|
783 |
</div><!-- tabs --> |
784 |
|
385 |
|
785 |
[%# Fields for fast cataloging %] |
386 |
[%# Fields for fast cataloging %] |
786 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
387 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
787 |
- |
|
|