forked from extern/egroupware
fixes for accounts and common classes
This commit is contained in:
parent
5a7993465b
commit
1274d5e146
@ -169,7 +169,7 @@ function validate_and_submit() {
|
|||||||
}
|
}
|
||||||
$year_html .= "</select>";
|
$year_html .= "</select>";
|
||||||
|
|
||||||
echo $phpgw->preferences->dateformatorder($year_html,$month_html,$day_html);
|
echo $phpgw->common->dateformatorder($year_html,$month_html,$day_html);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</TD>
|
</TD>
|
||||||
@ -244,7 +244,7 @@ function validate_and_submit() {
|
|||||||
$db_groups = $phpgw->db->f("groups");
|
$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++) {
|
for ($i=0;$i<count($user_groups);$i++) {
|
||||||
echo "<option value=\"" . $user_groups[$i][0] . "\"";
|
echo "<option value=\"" . $user_groups[$i][0] . "\"";
|
||||||
if (ereg(",".$user_groups[$i][0].",",$db_groups))
|
if (ereg(",".$user_groups[$i][0].",",$db_groups))
|
||||||
@ -356,7 +356,7 @@ function validate_and_submit() {
|
|||||||
}
|
}
|
||||||
$year_html .= "</select>";
|
$year_html .= "</select>";
|
||||||
|
|
||||||
echo $phpgw->preferences->dateformatorder($year_html,$month_html,$day_html);
|
echo $phpgw->common->dateformatorder($year_html,$month_html,$day_html);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
@ -207,7 +207,7 @@ if (! $error) {
|
|||||||
. "$end,'$days',$freq)");
|
. "$end,'$days',$freq)");
|
||||||
}
|
}
|
||||||
$phpgw->db->query("insert into webcal_entry_groups values ('$id','"
|
$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"));
|
Header("Location: ".$phpgw->link("index.php","year=$year&month=$month&cd=14"));
|
||||||
|
Loading…
Reference in New Issue
Block a user