# Suite 330, Boston, MA 02111-1307 USA
use strict;
-use C4::Auth;
use CGI;
+use C4::Auth;
use C4::Context;
-use HTML::Template;
-use C4::Search;
use C4::Output;
use C4::Authorities;
-use C4::Interface::CGI::Output;
# get all the data ....
-my %env;
-
my $input = new CGI;
my $result = $input->param('result');
my $search_string= $input->param('search_string');
$search_string=$insert;
}
my ($template, $loggedinuser, $cookie)
- = get_template_and_user({template_name => "thesaurus_popup.tmpl",
+ = get_template_and_user({template_name => "cataloguing/thesaurus_popup.tmpl",
query => $input,
type => "intranet",
authnotrequired => 0,
- flagsrequired => {parameters => 1},
+ flagsrequired => {editcatalogue => 1},
debug => 1,
});
# /search thesaurus terms starting by search_string