aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-03-10 06:50:33 +0000
committerChad Little <clittle@users.sourceforge.net>2003-03-10 06:50:33 +0000
commitfecd4a32e2eea5ff024b3dd96f7168ce579f7046 (patch)
tree760003b2ec8df820b343e0759da744a406f8e051 /day.php
parent2cbb8becc22165ac1745821cb5679c5f69d54b35 (diff)
downloadphpicalendar-fecd4a32e2eea5ff024b3dd96f7168ce579f7046.tar.gz
phpicalendar-fecd4a32e2eea5ff024b3dd96f7168ce579f7046.tar.bz2
phpicalendar-fecd4a32e2eea5ff024b3dd96f7168ce579f7046.zip
Removed tr line heights, better validation.
Diffstat (limited to 'day.php')
-rw-r--r--day.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/day.php b/day.php
index b8f5f32..b4ba33b 100644
--- a/day.php
+++ b/day.php
@@ -208,16 +208,16 @@ if (is_array($master_array[($getdate)])) {
}
}
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";
}
if ($dayborder == 0) {

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