--- cataloguing/addbiblio.pl | 4 ++++ .../prog/en/modules/cataloguing/addbiblio.tmpl | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index fc56047..d4ddc41 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -1006,6 +1006,7 @@ elsif ( $op eq "delete" ) { my $urecord = MARC::Record::new_from_xml( $uxml, 'UTF-8' ); $record = $urecord; }; + build_tabs( $template, $record, $dbh, $encoding,$input ); $template->param( biblionumber => $biblionumber, @@ -1018,6 +1019,9 @@ elsif ( $op eq "delete" ) { } $template->param( title => $record->title() ) if ( $record ne "-1" ); +if (C4::Context->preference("marcflavour") eq "MARC21"){ + $template->param(MARC21 => 1); +} $template->param( popup => $mode, frameworkcode => $frameworkcode, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl index a825211..f2deb4f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl @@ -749,7 +749,7 @@ function unHideSubfield(index,labelindex) { // FIXME :: is it used ? <!-- TMPL_IF NAME="advancedMARCEditor" --> <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> <!-- TMPL_ELSE --> - <span class="tagnum" title="<!-- TMPL_VAR NAME="tag_lib" -->" onClick="PopupFieldDoc(<!-- TMPL_VAR NAME="tag" -->);return false;"><!-- TMPL_VAR NAME="tag" --></span> + <span class="tagnum" title="<!-- TMPL_VAR NAME="tag_lib" -->" <!-- TMPL_IF NAME="MARC21" -->onClick="PopupFieldDoc(<!-- TMPL_VAR NAME="tag" -->);return false;"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="tag" --></span> <!-- /TMPL_IF --> <!-- TMPL_IF NAME="fixedfield" --> <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" -->" /> -- 1.7.0 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-patches