From 289d65efb71d7eb66ddf2671ecd19c426bb44671 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Mon, 29 Oct 2007 17:13:07 -0500 Subject: [PATCH] fixes for auth_val interface: Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- admin/authorised_values.pl | 6 +----- .../en/modules/admin/authorised_values.tmpl | 17 +++++++++++------ 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index 85ae4e0e61..8c1fd05e0f 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -99,11 +99,6 @@ if ($op eq 'add_form') { lib => $data->{'lib'}, id => $data->{'id'} ); - if ($data->{'category'}) { - $template->param(category => "{'category'}'\" />$data->{'category'}"); - } else { - $template->param(category => ""); - } ################## ADD_VALIDATE ################################## # called by add_form, used to insert/modify data in DB } elsif ($op eq 'add_validate') { @@ -126,6 +121,7 @@ if ($op eq 'add_form') { $sth->finish; $id = $input->param('id') unless $id; $template->param(searchfield => $searchfield, + Tlib => $data->{'lib'}, Tvalue => $data->{'authorised_value'}, id =>$id, ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tmpl index b86baad15e..fce4d23e5f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tmpl @@ -32,9 +32,11 @@
  1. - Category - - + + + Category + +
  2. @@ -56,11 +58,14 @@

    Confirm Deletion

    + - - + - + + + +
    Category VariableDescriptionValue
    Value 
    " method="post"> -- 2.39.5