X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=tools%2Fholidays.pl;h=d5ace2764795bf5aa905b4af93779e8b7db67422;hb=b302e4a5258d718d261eb37ef6dab28eb7ae6b3e;hp=b3912eb261c190cb69fbfe13219aff679accd7d2;hpb=d8aa557fc92a7030eb9628dc5fcce3fef99046dc;p=koha_gimpoz diff --git a/tools/holidays.pl b/tools/holidays.pl index b3912eb261..d5ace27647 100755 --- a/tools/holidays.pl +++ b/tools/holidays.pl @@ -138,18 +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, - DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), - 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;