From 320e72608b996d06c8bef90a890611fc61f650a1 Mon Sep 17 00:00:00 2001 From: kados Date: Sat, 10 Mar 2007 07:12:14 +0000 Subject: [PATCH] adding calendar popup to inventory/stocktaking improvements to english --- .../prog/en/tools/inventory.tmpl | 25 +++++++++++++++++-- tools/inventory.pl | 6 ++--- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/tools/inventory.tmpl b/koha-tmpl/intranet-tmpl/prog/en/tools/inventory.tmpl index 7056b0fbdf..d89d71544c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/tools/inventory.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/tools/inventory.tmpl @@ -28,7 +28,17 @@ " />

- " /> + " /> + /includes/calendar/cal.gif" id="datelastseen_button" /> +

" maxlength="5" size="5" /> @@ -45,7 +55,18 @@

Use a barcode file

barcode filename :

-

Set datelastseen to :

+

Set datelastseen to : + /includes/calendar/cal.gif" id="setdate_button" /> + +

diff --git a/tools/inventory.pl b/tools/inventory.pl index 94983f6c7f..97aa646edb 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -61,9 +61,9 @@ for my $branch_hash (keys %$branches) { branchname => $branches->{$branch_hash}->{'branchname'}, selected => ($branch_hash eq $branchcode?1:0)}; } -$template->param(branchloop => \@branch_loop,); - -$template->param(minlocation => $minlocation, +$template->param(branchloop => \@branch_loop, + DHTMLcalendar_dateformat => get_date_format_string_for_DHTMLcalendar(), + minlocation => $minlocation, maxlocation => $maxlocation, offset => $offset, pagesize => $pagesize, -- 2.39.5