[Koha-cvs] CVS: koha/admin authorised_values.pl,1.11.2.2,1.11.2.3
Ambrose C. LI
acli at users.sourceforge.net
Thu Mar 11 06:28:14 CET 2004
Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30415/admin
Modified Files:
Tag: rel_2_0
authorised_values.pl
Log Message:
Make authorized_values headings translatable while trying not to break old
templates
Index: authorised_values.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/authorised_values.pl,v
retrieving revision 1.11.2.2
retrieving revision 1.11.2.3
diff -C2 -r1.11.2.2 -r1.11.2.3
*** authorised_values.pl 19 Feb 2004 10:12:50 -0000 1.11.2.2
--- authorised_values.pl 11 Mar 2004 05:28:12 -0000 1.11.2.3
***************
*** 88,96 ****
--- 88,100 ----
if ($searchfield) {
$template->param(action => "Modify authorised value");
+ $template->param('heading-modify-authorized-value-p' => 1);
} elsif ( ! $data->{'category'} ) {
$template->param(action => "Add new category");
+ $template->param('heading-add-new-category-p' => 1);
} else {
$template->param(action => "Add authorised value");
+ $template->param('heading-add-authorized-value-p' => 1);
}
+ $template->param('use-heading-flags-p' => 1);
$template->param(category => $data->{'category'},
authorised_value => $data->{'authorised_value'},
More information about the Koha-cvs
mailing list