aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authordrei <drei>2002-10-09 00:14:49 +0000
committerdrei <drei>2002-10-09 00:14:49 +0000
commit2c8d24b59a1dad7557305bae5ff6637242148405 (patch)
treeb3fa1f2943f3abb1e83d724578b55fecb77ed8c0 /week.php
parent646494524aff67cbd6494ca5a2c58a1785599204 (diff)
downloadphpicalendar-2c8d24b59a1dad7557305bae5ff6637242148405.tar.gz
phpicalendar-2c8d24b59a1dad7557305bae5ff6637242148405.tar.bz2
phpicalendar-2c8d24b59a1dad7557305bae5ff6637242148405.zip
amended the drawing of empty rows to use the correct CSS class
Diffstat (limited to 'week.php')
-rw-r--r--week.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/week.php b/week.php
index 410ea26..9b84e1d 100644
--- a/week.php
+++ b/week.php
@@ -315,7 +315,7 @@ for ($i=0;$i<7;$i++) {
case "started":
break;
case "ended":
- echo "<td bgcolor=\"#ffffff\" colspan=\"" . $drawWidth . "\">&nbsp;</td>\n";
+ echo "<td bgcolor=\"#ffffff\" colspan=\"" . $drawWidth . "\" $class>&nbsp;</td>\n";
break;
}
$event_length[$thisday][$i]["length"]--;
@@ -325,7 +325,7 @@ for ($i=0;$i<7;$i++) {
}
//fill emtpy space on the right
if ($emptyWidth > 0) {
- echo "<td bgcolor=\"#ffffff\" colspan=\"" . $emptyWidth . "\">&nbsp;</td>\n";
+ echo "<td bgcolor=\"#ffffff\" colspan=\"" . $emptyWidth . "\" $class>&nbsp;</td>\n";
}
while (isset($event_length[$thisday][(sizeof($event_length[$thisday]) - 1)]["state"]) && $event_length[$thisday][(sizeof($event_length[$thisday]) - 1)]["state"] == "ended") {
array_pop($event_length[$thisday]);

© 2014-2024 Faster IT GmbH | imprint | privacy policy