From b1136e8813094198e004b39cef55944edfd4b339 Mon Sep 17 00:00:00 2001 From: doxulting Date: Thu, 8 Jul 2004 10:15:59 +0000 Subject: [PATCH] Authorities --- admin/marc_subfields_structure.pl | 1 + authorities/auth_finder.pl | 5 +-- .../default/en/authorities/auth_finder.tmpl | 10 ++---- .../blinddetail-biblio-search.tmpl | 34 ++++++++++++++----- .../en/authorities/detail-biblio-search.tmpl | 34 ++++++++++++++----- 5 files changed, 58 insertions(+), 26 deletions(-) diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl index 9944bf37e9..a19d2cec08 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -164,6 +164,7 @@ if ($op eq 'add_form') { -size=>1, -multiple=>0, ); + warn "ATTENTION ---+--- $data->{'link'}"; $row_data{tagsubfield} =$data->{'tagsubfield'}.""; $row_data{liblibrarian} = CGI::escapeHTML($data->{'liblibrarian'}); $row_data{libopac} = CGI::escapeHTML($data->{'libopac'}); diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl index baa9ffbb50..cb2c58152a 100755 --- a/authorities/auth_finder.pl +++ b/authorities/auth_finder.pl @@ -37,6 +37,7 @@ my $query=new CGI; my $op = $query->param('op'); my $authtypecode = $query->param('authtypecode'); my $index = $query->param('index'); +my $category = $query->param('category'); my $dbh = C4::Context->dbh; my $startfrom=$query->param('startfrom'); @@ -83,6 +84,7 @@ if ($op eq "do_search") { flagsrequired => {catalogue => 1}, debug => 1, }); + # multi page display gestion my $displaynext=0; my $displayprev=$startfrom; @@ -131,7 +133,6 @@ if ($op eq "do_search") { } $template->param(result => $results) if $results; $template->param(index => $query->param('index')); - warn "ici query $index $query->param('resultsperpage')" ; $template->param(startfrom=> $startfrom, displaynext=> $displaynext, displayprev=> $displayprev, @@ -146,7 +147,6 @@ if ($op eq "do_search") { numbers=>\@numbers, ); } else { - warn "Je suis la de base $index\n"; ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "authorities/auth_finder.tmpl", query => $query, @@ -160,6 +160,7 @@ if ($op eq "do_search") { } $template->param(authtypesloop => \@authtypesloop); +$template->param(category => $category); # Print the page output_html_with_http_headers $query, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl b/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl index d2b7fd940f..0a0d7d9a96 100644 --- a/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl @@ -11,18 +11,12 @@

Search on

- +

"> - "> + "> diff --git a/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl b/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl index 07ff6ee062..4229180f58 100644 --- a/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl @@ -4,17 +4,35 @@ function go() { -var val = 0; - opener.opener.document.f.field_value[ - 2].value = ; - - - opener.opener.document.f.field_value[ + val].value = ''; - val += 1; - - +var index_start = ; +opener.opener.document.f.field_value[index_start].value = ' + +for (i=index_start ; i') + { + opener.opener.document.f.field_value[i].value = ''; + } + +} + + + opener.close(); self.close(); return false; + + } -- 2.39.5