fixes for accounts and common classes

This commit is contained in:
skeeter 2000-09-02 13:44:06 +00:00
parent 5a7993465b
commit 1274d5e146
2 changed files with 4 additions and 4 deletions

View File

@ -169,7 +169,7 @@ function validate_and_submit() {
}
$year_html .= "</select>";
echo $phpgw->preferences->dateformatorder($year_html,$month_html,$day_html);
echo $phpgw->common->dateformatorder($year_html,$month_html,$day_html);
?>
</TD>
@ -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;$i<count($user_groups);$i++) {
echo "<option value=\"" . $user_groups[$i][0] . "\"";
if (ereg(",".$user_groups[$i][0].",",$db_groups))
@ -356,7 +356,7 @@ function validate_and_submit() {
}
$year_html .= "</select>";
echo $phpgw->preferences->dateformatorder($year_html,$month_html,$day_html);
echo $phpgw->common->dateformatorder($year_html,$month_html,$day_html);
?>
</td>

View File

@ -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"));