diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-09-01 21:26:59 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-09-01 21:26:59 +0000 |
commit | a6fc36835b810f0ca7568c082bcecce471082174 (patch) | |
tree | 2af5180fcd82105af4209ff78b1ce93a2803ce33 | |
parent | c766ff43648060a711ec1eeac065064b7856fbe6 (diff) | |
download | phpicalendar-a6fc36835b810f0ca7568c082bcecce471082174.tar.gz phpicalendar-a6fc36835b810f0ca7568c082bcecce471082174.tar.bz2 phpicalendar-a6fc36835b810f0ca7568c082bcecce471082174.zip |
PHP5 alterations.
-rw-r--r-- | day.php | 8 | ||||
-rw-r--r-- | functions/list_functions.php | 2 | ||||
-rw-r--r-- | month.php | 4 | ||||
-rw-r--r-- | print.php | 2 | ||||
-rw-r--r-- | week.php | 8 |
5 files changed, 12 insertions, 12 deletions
@@ -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]; @@ -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(); @@ -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(); @@ -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(); |