From 0bc10527fea4f7f59d1bd0f2743a3a19eb942387 Mon Sep 17 00:00:00 2001 From: drei Date: Mon, 7 Oct 2002 02:09:34 +0000 Subject: Tweaked the drawing of the gridlines to the right and inbetween overlapping events. --- day.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'day.php') diff --git a/day.php b/day.php index f0b4884..ed445a9 100644 --- a/day.php +++ b/day.php @@ -165,14 +165,14 @@ if (is_array($master_array[($getdate)])) { echo ''."\n"; echo ''."\n"; } + if ($dayborder == 0) { + $class = ' class="dayborder"'; + $dayborder++; + } else { + $class = ' class="dayborder2"'; + $dayborder = 0; + } if (sizeof($event_length) == 0) { - if ($dayborder == 0) { - $class = ' class="dayborder"'; - $dayborder++; - } else { - $class = ' class="dayborder2"'; - $dayborder = 0; - } echo ' '."\n"; } else { @@ -218,7 +218,7 @@ if (is_array($master_array[($getdate)])) { case 'started': break; case 'ended': - echo ' '."\n"; + echo ' '."\n"; break; } $event_length[$i]['length']--; @@ -228,7 +228,7 @@ if (is_array($master_array[($getdate)])) { } //fill emtpy space on the right if ($emptyWidth > 0) { - echo ' '."\n"; + echo ' '."\n"; } while ($event_length[(sizeof($event_length) - 1)]['state'] == 'ended') { array_pop($event_length); -- cgit v1.2.3