aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-03-10 17:25:53 +0000
committerChad Little <clittle@users.sourceforge.net>2003-03-10 17:25:53 +0000
commitf805b37284b3c543018205a1014829023a33dc08 (patch)
tree68a98cb3d1b57750144f0d169acd7a580dbd28c7 /week.php
parent306a4746496babcc71403e911ab9deef27a942e8 (diff)
downloadphpicalendar-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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/week.php b/week.php
index 474cdc0..d8d52c5 100644
--- a/week.php
+++ b/week.php
@@ -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";
}

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