WebCalendar
I made some patches for WebCalendar 1.0.1. This fixes some
issues regarding transcoding (why htmlentities()
don't used iconv.internal_encoding instead of iso-8859-1 as the default
charset?), display priorities as a class, and add some variables to
report. I also add a French UTF-8 translation.
How to install the patches
To apply the patches, just run the following commands:
tar -xzvf WebCalendar-1.0.1.tar.gz
cd WebCalendar-1.0.1
cat <path to the patches directory>/*.patch | patch -p1
find -name \*.orig -exec rm {} \;
Under Microsoft Windows, install Cygwin or ask
a local guru.
Description of the patches
- 00-ChangeLog.patch
- Add a default ChangeLog entry
- 01-french.patch
- Add French(UTF-8)
- Fixe transcoding bug in edit_entry_handler.php
- 02-report_prio.patch
- Add ${prionum} and ${dateYmd} handling in report.php
- 03-span_prio.patch
- Handle all priorities as a span/class (instead of having bold for
priority=3 only)
- 04-prio0.patch
- Add priority = 0 (Cancelled) which is useful for me; Personnaly, I
always used 4 kind of "priorities" (which are really status): 0 is
"can't or won't go", 1 is "information only", 2 is "to be decided",
and 3 is "must go". 2 is default and higher than 1 since it can
become 3.
- 05-getreport.patch
- Modify export and export_handler to use GET method (since it's a
read-only function).
Download
WebCalendar-1.0.1-fn5.tar.gz