diff options
author | drei <drei> | 2002-10-09 00:14:49 +0000 |
---|---|---|
committer | drei <drei> | 2002-10-09 00:14:49 +0000 |
commit | 2c8d24b59a1dad7557305bae5ff6637242148405 (patch) | |
tree | b3fa1f2943f3abb1e83d724578b55fecb77ed8c0 /week.php | |
parent | 646494524aff67cbd6494ca5a2c58a1785599204 (diff) | |
download | phpicalendar-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.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -315,7 +315,7 @@ for ($i=0;$i<7;$i++) { case "started": break; case "ended": - echo "<td bgcolor=\"#ffffff\" colspan=\"" . $drawWidth . "\"> </td>\n"; + echo "<td bgcolor=\"#ffffff\" colspan=\"" . $drawWidth . "\" $class> </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 . "\"> </td>\n"; + echo "<td bgcolor=\"#ffffff\" colspan=\"" . $emptyWidth . "\" $class> </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]); |