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

(-)a/cataloguing/addbiblio.pl (-6 / +2 lines)
Lines 1062-1077 elsif ( $op eq "delete" ) { Link Here
1062
}
1062
}
1063
1063
1064
$template->param( title => $record->title() ) if ( $record ne "-1" );
1064
$template->param( title => $record->title() ) if ( $record ne "-1" );
1065
if (C4::Context->preference("marcflavour") eq "MARC21"){
1066
    $template->param(MARC21 => 1);
1067
}
1068
1069
1070
$template->param(
1065
$template->param(
1071
    popup => $mode,
1066
    popup => $mode,
1072
    frameworkcode => $frameworkcode,
1067
    frameworkcode => $frameworkcode,
1073
    itemtype => $frameworkcode,
1068
    itemtype => $frameworkcode,
1074
    borrowernumber => $loggedinuser
1069
    borrowernumber => $loggedinuser, 
1070
    marcflavour => C4::Context->preference("marcflavour"),
1075
);
1071
);
1076
1072
1077
output_html_with_http_headers $input, $cookie, $template->output;
1073
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-7 / +7 lines)
Lines 78-86 function PopupZ3950() { Link Here
78
}
78
}
79
79
80
function PopupMARCFieldDoc(field, blocknumber) {
80
function PopupMARCFieldDoc(field, blocknumber) {
81
    [% IF ( MARC21 ) %]
81
    [% IF ( marcflavour == 'MARC21' ) %]
82
        _MARC21FieldDoc(field);
82
        _MARC21FieldDoc(field);
83
    [% ELSE %]
83
    [% ELSIF ( marcflavour == 'UNIMARC' ) %]
84
        _UNIMARCFieldDoc(field, blocknumber);
84
        _UNIMARCFieldDoc(field, blocknumber);
85
    [% END %]
85
    [% END %]
86
}
86
}
Lines 664-673 function unHideSubfield(index,labelindex) { // FIXME :: is it used ? Link Here
664
        <div id="yui-main">
664
        <div id="yui-main">
665
        <div class="yui-g">
665
        <div class="yui-g">
666
666
667
668
669
<h1>[% IF ( biblionumber ) %]Editing <em>[% title |html %]</em> (Record Number [% biblionumber %])</h1>[% ELSE %]Add MARC Record</h1>[% END %]
667
<h1>[% IF ( biblionumber ) %]Editing <em>[% title |html %]</em> (Record Number [% biblionumber %])</h1>[% ELSE %]Add MARC Record</h1>[% END %]
668
[% IF marcflavour != 'NORMARC' %]
670
<div><input type="checkbox" name="marcDocsSelect" id="marcDocsSelect" checked="true" /> Show MARC tag documentation links<br/></div>
669
<div><input type="checkbox" name="marcDocsSelect" id="marcDocsSelect" checked="true" /> Show MARC tag documentation links<br/></div>
670
[% END %]
671
671
672
[% UNLESS ( number ) %]
672
[% UNLESS ( number ) %]
673
    <!-- show duplicate warning on tab 0 only -->
673
    <!-- show duplicate warning on tab 0 only -->
Lines 825-832 function unHideSubfield(index,labelindex) { // FIXME :: is it used ? Link Here
825
            	[% IF advancedMARCEditor %]
825
            	[% IF advancedMARCEditor %]
826
		<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>
826
		<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>
827
		[% ELSE %]
827
		[% ELSE %]
828
                        <span class="tagnum" title="[% innerloo.tag_lib %]">[% innerloo.tag %]<a class="marcdocs"
828
                 <span class="tagnum" title="[% innerloo.tag_lib %]">[% innerloo.tag %]
829
                 onclick="PopupMARCFieldDoc('[% innerloo.tag %]', [% BIG_LOO.number %]); return false;">&nbsp;?</a></span>
829
                 [% IF marcflavour != 'NORMARC' %]<a class="marcdocs" onclick="PopupMARCFieldDoc('[% innerloo.tag %]', [% BIG_LOO.number %]); return false;">&nbsp;?</a>[% END %]
830
                 </span>
830
		[% END %]
831
		[% END %]
831
                [% IF ( innerloo.fixedfield ) %]
832
                [% IF ( innerloo.fixedfield ) %]
832
	                <input tabindex="1" class="indicator flat" type="text" style="display:none;" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator1 %]" />
833
	                <input tabindex="1" class="indicator flat" type="text" style="display:none;" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator1 %]" />
833
- 

Return to bug 6982