aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-09-01 21:26:59 +0000
committerChad Little <clittle@users.sourceforge.net>2004-09-01 21:26:59 +0000
commita6fc36835b810f0ca7568c082bcecce471082174 (patch)
tree2af5180fcd82105af4209ff78b1ce93a2803ce33
parentc766ff43648060a711ec1eeac065064b7856fbe6 (diff)
downloadphpicalendar-a6fc36835b810f0ca7568c082bcecce471082174.tar.gz
phpicalendar-a6fc36835b810f0ca7568c082bcecce471082174.tar.bz2
phpicalendar-a6fc36835b810f0ca7568c082bcecce471082174.zip
PHP5 alterations.
-rw-r--r--day.php8
-rw-r--r--functions/list_functions.php2
-rw-r--r--month.php4
-rw-r--r--print.php2
-rw-r--r--week.php8
5 files changed, 12 insertions, 12 deletions
diff --git a/day.php b/day.php
index 4235b2b..2d3f647 100644
--- a/day.php
+++ b/day.php
@@ -107,10 +107,10 @@ if ($allow_login == 'yes') {
));
}
-$page->draw_day($this->page);
-$page->tomorrows_events($this->page);
-$page->get_vtodo($this->page);
-$page->draw_subscribe($this->page);
+$page->draw_day($page);
+$page->tomorrows_events($page);
+$page->get_vtodo($page);
+$page->draw_subscribe($page);
$page->output();
diff --git a/functions/list_functions.php b/functions/list_functions.php
index 39a0f8c..f9e0321 100644
--- a/functions/list_functions.php
+++ b/functions/list_functions.php
@@ -69,7 +69,7 @@ function list_years() {
function list_weeks() {
- global $getdate, $this_year, $cal, $dateFormat_week_jump;
+ global $getdate, $this_year, $cal, $dateFormat_week_jump, $week_start_day;
ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2);
$this_day = $day_array2[3];
$this_month = $day_array2[2];
diff --git a/month.php b/month.php
index c7c260f..3e1860f 100644
--- a/month.php
+++ b/month.php
@@ -111,9 +111,9 @@ if ($allow_login == 'yes') {
if ($this_months_events == 'yes') {
- $page->monthbottom($this->page);
+ $page->monthbottom($page);
}
-$page->draw_subscribe($this->page);
+$page->draw_subscribe($page);
$page->output();
diff --git a/print.php b/print.php
index c1f5ce2..66f6bcc 100644
--- a/print.php
+++ b/print.php
@@ -84,7 +84,7 @@ $page->replace_tags(array(
'l_this_site_is' => $lang['l_this_site_is']
));
-$page->draw_print($this->page);
+$page->draw_print($page);
$page->output();
diff --git a/week.php b/week.php
index 0d7b864..c91ec56 100644
--- a/week.php
+++ b/week.php
@@ -111,10 +111,10 @@ if ($allow_login == 'yes') {
));
}
-$page->draw_week($this->page);
-$page->tomorrows_events($this->page);
-$page->get_vtodo($this->page);
-$page->draw_subscribe($this->page);
+$page->draw_week($page);
+$page->tomorrows_events($page);
+$page->get_vtodo($page);
+$page->draw_subscribe($page);
$page->output();

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