From 1274d5e146873d662c1bb6a6fddeea7ac0a70061 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sat, 2 Sep 2000 13:44:06 +0000 Subject: [PATCH] fixes for accounts and common classes --- calendar/edit_entry.php | 6 +++--- calendar/edit_entry_handler.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/calendar/edit_entry.php b/calendar/edit_entry.php index 3591fd42e4..ff44f487d6 100755 --- a/calendar/edit_entry.php +++ b/calendar/edit_entry.php @@ -169,7 +169,7 @@ function validate_and_submit() { } $year_html .= ""; - echo $phpgw->preferences->dateformatorder($year_html,$month_html,$day_html); + echo $phpgw->common->dateformatorder($year_html,$month_html,$day_html); ?> @@ -244,7 +244,7 @@ function validate_and_submit() { $db_groups = $phpgw->db->f("groups"); } - $user_groups = $phpgw->groups->read_names(); + $user_groups = $phpgw->accounts->read_group_names(); for ($i=0;$ipreferences->dateformatorder($year_html,$month_html,$day_html); + echo $phpgw->common->dateformatorder($year_html,$month_html,$day_html); ?> diff --git a/calendar/edit_entry_handler.php b/calendar/edit_entry_handler.php index d4139d1322..6f5906367c 100755 --- a/calendar/edit_entry_handler.php +++ b/calendar/edit_entry_handler.php @@ -207,7 +207,7 @@ if (! $error) { . "$end,'$days',$freq)"); } $phpgw->db->query("insert into webcal_entry_groups values ('$id','" - . $phpgw->groups->array_to_string($access,$n_groups) . "') "); + . $phpgw->accounts->array_to_string($access,$n_groups) . "') "); Header("Location: ".$phpgw->link("index.php","year=$year&month=$month&cd=14"));