use strict;
#use warnings; FIXME - Bug 2505
-use C4::Auth;
+use C4::Auth qw( get_template_and_user );
use CGI qw ( -utf8 );
use C4::Context;
-use C4::AuthoritiesMarc;
-use C4::Output;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
+use C4::AuthoritiesMarc qw( SearchAuthorities GetAuthority );
=head1 DESCRIPTION
=cut
sub plugin_javascript {
- my ( $dbh, $record, $tagslib, $field_number, $tabloop ) = @_;
+ my ( $dbh, $record, $tagslib, $field_number ) = @_;
my $function_name = $field_number;
my $res = "
- <script type=\"text/javascript\">
+ <script>
function Clic$function_name(index) {
- // find the 010a value and the 210c. it will be used in the popup to find possibles collections
+ /* find the 010a value and the 210c. it will be used in the popup to find possibles collections */
var isbn_found = 0;
var editor_found = 0;
query => $input,
type => "intranet",
flagsrequired => { editcatalogue => '*' },
- debug => 1,
}
);