X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=tools%2Fholidays.pl;h=d5ace2764795bf5aa905b4af93779e8b7db67422;hb=07e30a78d306fbd395dbe510fb867ba31540388b;hp=90ef56a987628fcdd2d56c40d8578885d65201e2;hpb=d8a36ca1f80460029ec5442fb1bf5de8b00a2138;p=koha.git diff --git a/tools/holidays.pl b/tools/holidays.pl index 90ef56a987..d5ace27647 100755 --- a/tools/holidays.pl +++ b/tools/holidays.pl @@ -138,17 +138,20 @@ foreach my $yearMonthDay (keys %$single_holidays) { push @holidays, \%holiday; } -$template->param(WEEK_DAYS_LOOP => \@week_days, - branchloop => \@branchloop, - HOLIDAYS_LOOP => \@holidays, - EXCEPTION_HOLIDAYS_LOOP => \@exception_holidays, - DAY_MONTH_HOLIDAYS_LOOP => \@day_month_holidays, - calendardate => $calendardate, - keydate => $keydate, - branchcodes => $branchcodes, - branch => $branch, - branchname => $branchname - ); +$template->param( + WEEK_DAYS_LOOP => \@week_days, + branchloop => \@branchloop, + HOLIDAYS_LOOP => \@holidays, + EXCEPTION_HOLIDAYS_LOOP => \@exception_holidays, + DAY_MONTH_HOLIDAYS_LOOP => \@day_month_holidays, + calendardate => $calendardate, + keydate => $keydate, + branchcodes => $branchcodes, + branch => $branch, + DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), + branchname => $branchname, + branch => $branch, +); # Shows the template with the real values replaced output_html_with_http_headers $input, $cookie, $template->output;