#!/usr/bin/perl
-# $Id: showmarc.pl,v 1.1.2.1 2007/06/18 21:57:23 rangi Exp $
-
-
-# Koha library project www.koha.org
+# Koha library project www.koha-community.org
# Licensed under the GPL
# Copyright 2007 Liblime
+# Parts copyright 2010 BibLibre
#
# This file is part of Koha.
#
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
-# You should have received a copy of the GNU General Public License along with
-# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
-# Suite 330, Boston, MA 02111-1307 USA
+# You should have received a copy of the GNU General Public License along
+# with Koha; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
use strict;
+#use warnings; FIXME - Bug 2505
# standard or CPAN modules used
use CGI qw(:standard);
use XML::LibXSLT;
use XML::LibXML;
-my $userid = $ENV{'REMOTE_USER'};
-
my $input = new CGI;
my $biblionumber = $input->param('id');
my $importid = $input->param('importid');
query => $input,
type => "intranet",
authnotrequired => 0,
- flagsrequired => { acquisition => 1 },
+ flagsrequired => { catalogue => 1 },
debug => 1,
}
);
my $newxmlrecord = $stylesheet->output_string($results);
#warn $newxmlrecord;
print "Content-type: text/html\n\n";
+utf8::encode($newxmlrecord);
print $newxmlrecord;
} else {