Lines 422-428
function Changefwk() {
Link Here
|
422 |
[% INCLUDE 'select2.inc' %] |
422 |
[% INCLUDE 'select2.inc' %] |
423 |
<script> |
423 |
<script> |
424 |
$(document).ready(function() { |
424 |
$(document).ready(function() { |
425 |
$('.subfield_line select').select2(); |
425 |
$('.subfield_line select').select2({ |
|
|
426 |
width: "70%" |
427 |
}); |
426 |
}); |
428 |
}); |
427 |
</script> |
429 |
</script> |
428 |
|
430 |
|
Lines 630-637
function Changefwk() {
Link Here
|
630 |
[% END %] |
632 |
[% END %] |
631 |
[% FOREACH innerloo IN BIG_LOO.innerloop %] |
633 |
[% FOREACH innerloo IN BIG_LOO.innerloop %] |
632 |
[% IF ( innerloo.tag ) %] |
634 |
[% IF ( innerloo.tag ) %] |
633 |
<div class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
635 |
<div class="tag" 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 %]"> |
636 |
<div class="row"> |
|
|
637 |
<div class="tag_title col-sm-12" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
635 |
[% IF advancedMARCEditor %] |
638 |
[% 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> |
639 |
<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 %] |
640 |
[% ELSE %] |
Lines 686-703
function Changefwk() {
Link Here
|
686 |
</a> |
689 |
</a> |
687 |
</span> |
690 |
</span> |
688 |
|
691 |
|
689 |
</div> |
692 |
</div> <!-- /.tag_title col-sm-12 --> |
690 |
|
693 |
</div> <!-- /.row --> |
691 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
694 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
692 |
<!-- One line on the marc editor --> |
695 |
<!-- One line on the marc editor --> |
|
|
696 |
<div class="row"> |
693 |
<div class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]"> |
697 |
<div class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]"> |
694 |
|
698 |
|
695 |
[% UNLESS advancedMARCEditor %] |
699 |
<div class="col-sm-4"> |
|
|
700 |
[% UNLESS advasmedMARCEditor %] |
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"> |
701 |
[% 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"> |
702 |
[% 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 %] |
703 |
[% END %] |
699 |
[% END %] |
704 |
[% END %] |
700 |
|
705 |
|
|
|
706 |
</label> |
707 |
|
701 |
<span class="subfieldcode"> |
708 |
<span class="subfieldcode"> |
702 |
[% IF ( subfield_loo.fixedfield ) %] |
709 |
[% 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" /> |
710 |
<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" /> |
Lines 720-740
function Changefwk() {
Link Here
|
720 |
[% subfield_loo.marc_lib | $raw %] |
727 |
[% subfield_loo.marc_lib | $raw %] |
721 |
[% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %] |
728 |
[% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %] |
722 |
</span> |
729 |
</span> |
723 |
</label> |
|
|
724 |
[% END %] |
730 |
[% END %] |
725 |
|
731 |
</div> <!-- /.col-sm-4 --> |
|
|
732 |
<div class="col-sm-8"> |
726 |
[% SET mv = subfield_loo.marc_value %] |
733 |
[% SET mv = subfield_loo.marc_value %] |
727 |
[% IF ( mv.type == 'text' ) %] |
734 |
[% IF ( mv.type == 'text' ) %] |
728 |
[% IF ( mv.readonly == 1 ) %] |
735 |
[% 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" /> |
736 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor readonly" tabindex="1" maxlength="[%- mv.maxlength | html -%]" readonly="readonly" /> |
730 |
[% ELSE %] |
737 |
[% 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 -%]" /> |
738 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" maxlength="[%- mv.maxlength | html -%]" /> |
732 |
[% END %] |
739 |
[% END %] |
733 |
[% IF ( mv.authtype ) %] |
740 |
[% 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> |
741 |
<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 %] |
742 |
[% END %] |
736 |
[% ELSIF ( mv.type == 'text_complex' ) %] |
743 |
[% 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 -%]" /> |
744 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor framework_plugin" tabindex="1" maxlength="[%- mv.maxlength | html -%]" /> |
738 |
<span class="subfield_controls"> |
745 |
<span class="subfield_controls"> |
739 |
[% IF mv.noclick %] |
746 |
[% IF mv.noclick %] |
740 |
<a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup"></a> |
747 |
<a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup"></a> |
Lines 744-750
function Changefwk() {
Link Here
|
744 |
</span> |
751 |
</span> |
745 |
[% mv.javascript | $raw %] |
752 |
[% mv.javascript | $raw %] |
746 |
[% ELSIF ( mv.type == 'hidden' ) %] |
753 |
[% 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 -%]" /> |
754 |
<input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" /> |
748 |
[% ELSIF ( mv.type == 'textarea' ) %] |
755 |
[% 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> |
756 |
<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' ) %] |
757 |
[% ELSIF ( mv.type == 'select' ) %] |
Lines 769-780
function Changefwk() {
Link Here
|
769 |
</a> |
776 |
</a> |
770 |
[% END %] |
777 |
[% END %] |
771 |
</span> |
778 |
</span> |
772 |
|
779 |
</div> <!-- /.col-sm-8 --> |
773 |
</div> |
780 |
</div> <!-- /.subfield_line --> |
|
|
781 |
</div> <!-- /.row --> |
774 |
<!-- End of the line --> |
782 |
<!-- End of the line --> |
775 |
[% END %] |
783 |
[% END %] |
776 |
|
784 |
|
777 |
</div> |
785 |
</div> <!-- /.tag --> |
778 |
[% END %]<!-- if innerloo.tag --> |
786 |
[% END %]<!-- if innerloo.tag --> |
779 |
[% END %]<!-- BIG_LOO.innerloop --> |
787 |
[% END %]<!-- BIG_LOO.innerloop --> |
780 |
</div> |
788 |
</div> |
781 |
- |
|
|