aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-24 18:35:46 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-24 18:35:46 +0000
commit2f2aa4a790c2827c3e6145cd44020c49ecc6b95a (patch)
tree657aee577650e2436d91ffcd0e2ebd9b82d916c3 /week.php
parentac62b5bc2658e26dfa3f044fb682cc9d0c83e651 (diff)
downloadphpicalendar-2f2aa4a790c2827c3e6145cd44020c49ecc6b95a.tar.gz
phpicalendar-2f2aa4a790c2827c3e6145cd44020c49ecc6b95a.tar.bz2
phpicalendar-2f2aa4a790c2827c3e6145cd44020c49ecc6b95a.zip
Added patches for VTODO.
Diffstat (limited to 'week.php')
-rw-r--r--week.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/week.php b/week.php
index 558122d..8b63d52 100644
--- a/week.php
+++ b/week.php
@@ -58,7 +58,8 @@ for ($i=0;$i<7;$i++) {
<title><?php echo "$calendar_name - $display_date"; ?></title>
<link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet/default.css"; ?>">
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo $default_path.'/rss/rss.php?cal='.$cal.'&rssview=week'; ?>">
- <?php include BASE.'functions/event.js'; ?>
+ <?php include (BASE.'functions/event.js'); ?>
+ <?php if (is_array($master_array['-2'])) include (BASE.'functions/todo.js'); ?>
</head>
<body bgcolor="#FFFFFF">
<?php include (BASE.'header.inc.php'); ?>
@@ -108,10 +109,12 @@ for ($i=0;$i<7;$i++) {
$thisdate = $start_week_time;
$i = 0;
do {
+ $thisday = date("Ymd", $thisdate);
$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";
}
+ $thisdate = ($thisdate + (25 * 60 * 60));
$i++;
} while ($i < 7);
?>

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