Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
calendar.pl: allow previous and next month
Stefan Kamphausen provided a reason for liking the deprecated cal3 extension: he likes cal3 because it also displays the next and previous month as opposed to calendar.pl which only displays the current month. This commit allows users to get the same behaviour by setting $CalendarOnEveryPage to values greater than 1: 1 shows the current month on every page, but 2 shows the previous and the current month on every page, and 3 shows the previous, the current and the next month on every page.
- Loading branch information
Showing
with
25 additions
and 10 deletions.
- +20 −5 modules/calendar.pl
- +5 −5 t/calendar.t