projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/new/bug_929'
[koha.git]
/
catalogue
/
export.pl
diff --git
a/catalogue/export.pl
b/catalogue/export.pl
index
9bd49de
..
2b55d9f
100755
(executable)
--- a/
catalogue/export.pl
+++ b/
catalogue/export.pl
@@
-1,5
+1,4
@@
#!/usr/bin/perl
#!/usr/bin/perl
-use HTML::Template::Pro;
use strict;
#use warnings; FIXME - Bug 2505
use strict;
#use warnings; FIXME - Bug 2505
@@
-8,9
+7,19
@@
use C4::Auth;
use C4::Output;
use C4::Biblio;
use CGI;
use C4::Output;
use C4::Biblio;
use CGI;
-use C4::Auth;
+
+
my $query = new CGI;
my $query = new CGI;
+my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
+ template_name => "tools/export.tt",
+ query => $query,
+ type => "intranet",
+ authnotrequired => 0,
+ flagsrequired => { tools => 'export_catalog' },
+ debug => 1,
+ });
+
my $op=$query->param("op");
my $format=$query->param("format");
if ($op eq "export") {
my $op=$query->param("op");
my $format=$query->param("format");
if ($op eq "export") {