summaryrefslogtreecommitdiff
path: root/modules/calendar.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-06-27 18:06:36 +0000
committerDries Buytaert <dries@buytaert.net>2001-06-27 18:06:36 +0000
commit124694ee4dbcc1df5dfc2d419ed2393619883071 (patch)
tree907a5fb1f31991f338a9bef2f4af8dbde515f5c2 /modules/calendar.module
parentdf30ccb06109a7bcd9a4d830aba696a79f1511b4 (diff)
downloadbrdo-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.module8
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\">&lt;</A> &nbsp; ". date("F Y", $this->date) ." &nbsp; " . ($next <= $thislast ? "<A HREF=\"index.php?date=$next\">&gt;</A>" : "&gt;") . "</SMALL></TD></TR>\n";
-
+
// Generate the days of the week:
$output .= " <TR>";
$somesunday = mktime(0, 0, 0, 3, 20, 1994);