diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-27 18:06:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-27 18:06:36 +0000 |
commit | 124694ee4dbcc1df5dfc2d419ed2393619883071 (patch) | |
tree | 907a5fb1f31991f338a9bef2f4af8dbde515f5c2 /modules/calendar.module | |
parent | df30ccb06109a7bcd9a4d830aba696a79f1511b4 (diff) | |
download | brdo-124694ee4dbcc1df5dfc2d419ed2393619883071.tar.gz brdo-124694ee4dbcc1df5dfc2d419ed2393619883071.tar.bz2 |
- Fixed bug node.module bug:
+ the node scheduler did not un-schedule a node!
- Fixed comment bugs (as a result of the formification):
+ no signatures where being attached to the comments.
+ check_input was used where is should have been check_output,
with broken filters as the immediate result.
Diffstat (limited to 'modules/calendar.module')
-rw-r--r-- | modules/calendar.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/calendar.module b/modules/calendar.module index e60e47dc2..93c6c0ae9 100644 --- a/modules/calendar.module +++ b/modules/calendar.module @@ -17,7 +17,7 @@ class Calendar { // Extract today's date: $today = mktime(23, 59, 59, date("n", time()), date("d", time()), date("Y", time())); - + // Extract the timestamp of the last day of today's month: $thislast = mktime(23, 59, 59, date("n", time()), date("t", time()), date("Y", time())); @@ -32,12 +32,12 @@ class Calendar { $prev = mktime(23, 59, 59, $month - 1, min(date("t", $prevmonth), $day), $year); $nextmonth = mktime(23, 59, 59, $month + 1, 1, $year); $next = mktime(23, 59, 59, $month + 1, min(date("t", $nextmonth), $day), $year); - - // Generate calendar header: + + // Generate calendar header: $output .= "\n<!-- calendar -->\n"; $output .= "<TABLE WIDTH=\"100%\" BORDER=\"1\" CELLSPACING=\"0\" CELLPADDING=\"1\">\n"; $output .= " <TR><TD ALIGN=\"center\" COLSPAN=\"7\"><SMALL><A HREF=\"index.php?date=$prev\"><</A> ". date("F Y", $this->date) ." " . ($next <= $thislast ? "<A HREF=\"index.php?date=$next\">></A>" : ">") . "</SMALL></TD></TR>\n"; - + // Generate the days of the week: $output .= " <TR>"; $somesunday = mktime(0, 0, 0, 3, 20, 1994); |