[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/admin aqbookfund.pl,1.15.2.1,1.15.2.2
From: |
Ambrose C. LI |
Subject: |
[Koha-cvs] CVS: koha/admin aqbookfund.pl,1.15.2.1,1.15.2.2 |
Date: |
Wed, 10 Mar 2004 20:56:44 -0800 |
Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24801/admin
Modified Files:
Tag: rel_2_0
aqbookfund.pl
Log Message:
This should allow the page headings to be translated, but it should not
break old templates.
Index: aqbookfund.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/aqbookfund.pl,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.2
diff -C2 -r1.15.2.1 -r1.15.2.2
*** aqbookfund.pl 23 Dec 2003 18:02:43 -0000 1.15.2.1
--- aqbookfund.pl 11 Mar 2004 04:56:41 -0000 1.15.2.2
***************
*** 84,91 ****
if ($op) {
$template->param(script_name => $script_name,
! $op => 1); # we
show only the TMPL_VAR names $op
} else {
$template->param(script_name => $script_name,
! else => 1); # we
show only the TMPL_VAR names $op
}
$template->param(action => $script_name);
--- 84,91 ----
if ($op) {
$template->param(script_name => $script_name,
! $op => 1); # we show only the TMPL_VAR names $op
} else {
$template->param(script_name => $script_name,
! else => 1); # we show only the TMPL_VAR names $op
}
$template->param(action => $script_name);
***************
*** 107,114 ****
if ($bookfundid) {
$header = "Modify book fund";
} else {
$header = "Add book fund";
}
! $template->param(header => $header);
my $add_or_modify=0;
if ($bookfundid) {
--- 107,117 ----
if ($bookfundid) {
$header = "Modify book fund";
+ $template->param('header-is-modify-p' => 1);
} else {
$header = "Add book fund";
+ $template->param('header-is-add-p' => 1);
}
! $template->param('use-header-flags-p' => 1);
! $template->param(header => $header); # NOTE deprecated
my $add_or_modify=0;
if ($bookfundid) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/admin aqbookfund.pl,1.15.2.1,1.15.2.2,
Ambrose C. LI <=