commit for holidays and news management.
authortipaul <tipaul>
Fri, 3 Mar 2006 16:35:21 +0000 (16:35 +0000)
committertipaul <tipaul>
Fri, 3 Mar 2006 16:35:21 +0000 (16:35 +0000)
commit2373f47a76fa8249d9700321eebe713214707afa
tree9a64dc16d21d8360507a2a1b7c6b74f0e8f7bc4a
parent74d464e550d22b5e54f41b81931e77aa967b93e0
commit for holidays and news management.

Contrib from Tümer Garip (from Turkey) :
* holiday :
in /tools/ the holiday.pl script let you define holidays (days where the library is closed), branch by branch. You can define 3 types of holidays :
- single day : only this day is closed
- repet weekly (like "sunday") : the day is holiday every week
- repet yearly (like "July, 4") : this day is closed every year.

You can also put exception :
- sunday is holiday, but "2006 March, 5th" the library will be open

The holidays are used for return date calculation : the return date is set to the next date where the library is open. A systempreference (useDaysMode) set ON (Calendar) or OFF (Normal) the calendar calculation.
koha-tmpl/intranet-tmpl/prog/en/intranet-main.tmpl
koha-tmpl/intranet-tmpl/prog/en/tools/holidays.tmpl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/tools/koha-news.tmpl [new file with mode: 0644]
tools/exceptionHolidays.pl [new file with mode: 0755]
tools/holidays.pl [new file with mode: 0755]
tools/koha-news.pl [new file with mode: 0755]
tools/newHolidays.pl [new file with mode: 0755]
updater/updatedatabase