From: <cl...@us...> - 2003-03-10 17:25:58
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1:/tmp/cvs-serv25067 Modified Files: week.php Log Message: Removed <tr> line heights for better validation. Index: week.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/week.php,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** week.php 8 Dec 2002 09:45:58 -0000 1.84 --- week.php 10 Mar 2003 17:25:53 -0000 1.85 *************** *** 213,227 **** if (ereg("([0-9]{1,2}):00", $key)) { ! echo "<tr height=\"" . $gridLength . "\">\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 "<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 "<td width=\"1\" height=\"" . $gridLength . "\"></td>\n"; } --- 213,227 ---- if (ereg("([0-9]{1,2}):00", $key)) { ! 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>\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">\n"; echo "<td width=\"1\" height=\"" . $gridLength . "\"></td>\n"; } |