From a6fc36835b810f0ca7568c082bcecce471082174 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 1 Sep 2004 21:26:59 +0000 Subject: PHP5 alterations. --- day.php | 8 ++++---- functions/list_functions.php | 2 +- month.php | 4 ++-- print.php | 2 +- week.php | 8 ++++---- 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(); -- cgit v1.2.3