diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-10-18 20:26:25 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-10-18 20:26:25 +0000 |
commit | a34c8777a5c7f2112f7d03a86a1dc68e5b756143 (patch) | |
tree | 861b538169324e4e2ccc0238195cf9bc5bdb65a6 /week.php | |
parent | a80f1686b8f2d1c5f66e771568fde19e7c42e589 (diff) | |
download | phpicalendar-a34c8777a5c7f2112f7d03a86a1dc68e5b756143.tar.gz phpicalendar-a34c8777a5c7f2112f7d03a86a1dc68e5b756143.tar.bz2 phpicalendar-a34c8777a5c7f2112f7d03a86a1dc68e5b756143.zip |
Year - added clickable months, Week - applied patch for colspan, README - update Mozilla support
Diffstat (limited to 'week.php')
-rw-r--r-- | week.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -169,7 +169,7 @@ for ($i=0;$i<7;$i++) { echo "<td class=\"dateback\" colspan=\"2\"></td>"; do { $thisday = date("Ymd", $thisdate); - echo "<td class=\"dateback\" height=\"20\" valign=\"bottom\">\n"; + echo "<td class=\"dateback\" height=\"20\" colspan=\"" . $nbrGridCols[$thisday] . "\" valign=\"bottom\">\n"; if (isset($master_array[($thisday)]["-1"])) { echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"4\" class=\"V9\">\n"; foreach($master_array[($thisday)]["-1"] as $allday) { @@ -178,7 +178,7 @@ for ($i=0;$i<7;$i++) { $all_day_text = word_wrap($all_day_text, 12, $allday_week_lines); $description = $allday["description"]; echo "<tr>\n"; - echo "<td colspan=\"" . $nbrGridCols[$thisday] . "\" valign=\"top\" align=\"center\" class=\"eventbg\"><a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name', '$event_start', '$event_end', '$description')\"><font color=\"#ffffff\">$all_day_text</font></a></td>\n"; + echo "<td valign=\"top\" align=\"center\" class=\"eventbg\"><a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name', '$event_start', '$event_end', '$description')\"><font color=\"#ffffff\">$all_day_text</font></a></td>\n"; echo "</tr>\n"; } echo "</table>\n"; |