aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-07 03:54:47 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-07 03:54:47 +0000
commit48f2dd66031de890d220f869ab118336ef42ab7e (patch)
tree5a6888a6b3371b81054534830d56f60671d58a11 /week.php
parentb5d901278321eec603a63b72cffdd1c66c47488d (diff)
downloadphpicalendar-48f2dd66031de890d220f869ab118336ef42ab7e.tar.gz
phpicalendar-48f2dd66031de890d220f869ab118336ef42ab7e.tar.bz2
phpicalendar-48f2dd66031de890d220f869ab118336ef42ab7e.zip
fixed week width.
Diffstat (limited to 'week.php')
-rw-r--r--week.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/week.php b/week.php
index cefac50..873128f 100644
--- a/week.php
+++ b/week.php
@@ -114,7 +114,7 @@ for ($i=0;$i<7;$i++) {
do {
$thisday = date("Ymd", $thisdate);
$thisday2 = localizeDate($dateFormat_week_list, $thisdate);
- $colWidth = round(120 / $nbrGridCols[$thisday]);
+ $colWidth = round(70 / $nbrGridCols[$thisday]);
for ($j=0;$j < $nbrGridCols[$thisday];$j++) {
echo "<td width=\"" . $colWidth . "\"><img src=\"images/spacer.gif\" width=\"" . $colWidth . "\" height=\"1\" alt=\"\"></td>\n";
}

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