From f35f8c14ad49f607e2cfd54e7799ffae1126558a Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 26 Sep 2002 07:04:15 +0000 Subject: Tweek bottom table to not display if no events. --- month.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'month.php') diff --git a/month.php b/month.php index 212feec..d7b83eb 100644 --- a/month.php +++ b/month.php @@ -108,6 +108,7 @@ $sunday = strtotime("$first_sunday"); $i = 0; $whole_month = TRUE; + $num_of_events = 0; do { $day = date ("j", $sunday); $daylink = date ("Ymd", $sunday); @@ -155,6 +156,7 @@ echo "\n"; echo "\n"; echo "\n"; + $num_of_events++; } } } @@ -218,6 +220,12 @@
+ +
@@ -311,6 +319,8 @@

+ + $powered_by_lang PHP iCalendar $version_lang"; ?> -- cgit v1.2.3