diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-03-10 17:25:53 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-03-10 17:25:53 +0000 |
commit | f805b37284b3c543018205a1014829023a33dc08 (patch) | |
tree | 68a98cb3d1b57750144f0d169acd7a580dbd28c7 /week.php | |
parent | 306a4746496babcc71403e911ab9deef27a942e8 (diff) | |
download | phpicalendar-f805b37284b3c543018205a1014829023a33dc08.tar.gz phpicalendar-f805b37284b3c543018205a1014829023a33dc08.tar.bz2 phpicalendar-f805b37284b3c543018205a1014829023a33dc08.zip |
Removed <tr> line heights for better validation.
Diffstat (limited to 'week.php')
-rw-r--r-- | week.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -212,17 +212,17 @@ for ($i=0;$i<7;$i++) { if (ereg("([0-9]{1,2}):00", $key)) { - echo "<tr height=\"" . $gridLength . "\">\n"; + echo "<tr>\n"; echo "<td rowspan=\"" . (60 / $gridLength) . "\" align=\"center\" valign=\"top\" width=\"60\" class=\"timeborder\">$key</td>\n"; echo "<td width=\"1\" height=\"" . $gridLength . "\"></td>\n"; } elseif("$cal_time" == "$day_start") { $size_tmp = 60 - (int)substr($cal_time,2,2); - echo "<tr height=\"" . $gridLength . "\">\n"; + echo "<tr>\n"; echo "<td rowspan=\"" . ($size_tmp / $gridLength) . "\" align=\"center\" valign=\"top\" width=\"60\" class=\"timeborder\">$key</td>\n"; echo "<td width=\"1\" height=\"" . $gridLength . "\"></td>\n"; } else { - echo "<tr height=\"" . $gridLength . "\">\n"; + echo "<tr">\n"; echo "<td width=\"1\" height=\"" . $gridLength . "\"></td>\n"; } |