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

(-)a/cataloguing/addbiblio.pl (+3 lines)
Lines 1018-1023 elsif ( $op eq "delete" ) { Link Here
1018
}
1018
}
1019
1019
1020
$template->param( title => $record->title() ) if ( $record ne "-1" );
1020
$template->param( title => $record->title() ) if ( $record ne "-1" );
1021
if (C4::Context->preference("marcflavour") eq "MARC21"){
1022
    $template->param(MARC21 => 1);
1023
}
1021
$template->param(
1024
$template->param(
1022
    popup => $mode,
1025
    popup => $mode,
1023
    frameworkcode => $frameworkcode,
1026
    frameworkcode => $frameworkcode,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl (-2 / +24 lines)
Lines 67-72 function PopupZ3950() { Link Here
67
    } 
67
    } 
68
}
68
}
69
69
70
function PopupMARCFieldDoc(field) {
71
    if(field == 0) {
72
        window.open("http://www.loc.gov/marc/bibliographic/bdleader.html");
73
    } else if (field < 900) {
74
        window.open("http://www.loc.gov/marc/bibliographic/bd"+field+".html");
75
    } else {
76
        window.open("http://www.loc.gov/marc/bibliographic/bd9xx.html");
77
    }
78
}
79
80
function PopupUNIMARCFieldDoc(field,fieldnumber) {
81
    if(field == 0) {
82
        window.open("http://archive.ifla.org/VI/3/p1996-1/uni.htm");
83
    } else if (field < 900) {
84
        window.open("http://archive.ifla.org/VI/3/p1996-1/uni"+fieldnumber+".htm#b"+field);
85
    } else {
86
        window.open("http://archive.ifla.org/VI/3/p1996-1/uni9.htm");
87
    }
88
}
89
70
/**
90
/**
71
 * check if mandatory subfields are written
91
 * check if mandatory subfields are written
72
 */
92
 */
Lines 749-755 function unHideSubfield(index,labelindex) { // FIXME :: is it used ? Link Here
749
            	<!-- TMPL_IF NAME="advancedMARCEditor" -->
769
            	<!-- TMPL_IF NAME="advancedMARCEditor" -->
750
		<a href="#" tabindex="1" class="tagnum" title="<!-- TMPL_VAR NAME="tag_lib"--> - Click to Expand this Tag" onclick="ExpandField('tag_<!-- TMPL_VAR NAME="tag"-->_<!-- TMPL_VAR NAME='index' --><!-- TMPL_VAR NAME="random" -->'); return false;"><!-- TMPL_VAR NAME="tag" --></a>
770
		<a href="#" tabindex="1" class="tagnum" title="<!-- TMPL_VAR NAME="tag_lib"--> - Click to Expand this Tag" onclick="ExpandField('tag_<!-- TMPL_VAR NAME="tag"-->_<!-- TMPL_VAR NAME='index' --><!-- TMPL_VAR NAME="random" -->'); return false;"><!-- TMPL_VAR NAME="tag" --></a>
751
		<!-- TMPL_ELSE -->
771
		<!-- TMPL_ELSE -->
752
                	<span class="tagnum" title="<!-- TMPL_VAR NAME="tag_lib" -->"><!-- TMPL_VAR NAME="tag" --></span>
772
                        <span class="tagnum" title="<!-- TMPL_VAR NAME="tag_lib" -->"><!-- TMPL_VAR NAME="tag" --><a 
773
                 onClick="<!-- TMPL_IF NAME="MARC21" -->PopupMARCFieldDoc(<!-- TMPL_VAR NAME="tag" -->)
774
                          <!-- TMPL_ELSE -->PopupUNIMARCFieldDoc(<!-- TMPL_VAR NAME="tag" -->,<!-- TMPL_VAR NAME="number" -->)
775
                          <!-- /TMPL_IF -->;return false;">&nbsp;?</a></span>
753
		<!-- /TMPL_IF -->
776
		<!-- /TMPL_IF -->
754
                <!-- TMPL_IF NAME="fixedfield" -->
777
                <!-- TMPL_IF NAME="fixedfield" -->
755
	                <input tabindex="1" class="indicator flat" type="text" style="display:none;" name="tag_<!-- TMPL_VAR NAME="tag" -->_indicator1_<!-- TMPL_VAR NAME='index'--><!-- TMPL_VAR name="random" -->" size="1" maxlength="1" value="<!-- TMPL_VAR NAME="indicator1" -->" />
778
	                <input tabindex="1" class="indicator flat" type="text" style="display:none;" name="tag_<!-- TMPL_VAR NAME="tag" -->_indicator1_<!-- TMPL_VAR NAME='index'--><!-- TMPL_VAR name="random" -->" size="1" maxlength="1" value="<!-- TMPL_VAR NAME="indicator1" -->" />
756
- 

Return to bug 5190