mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
More fixes, relies on class change - this could change also
This commit is contained in:
parent
83ba768cb6
commit
08f8976bfe
@ -46,11 +46,14 @@
|
||||
$accounts = $account->get_list();
|
||||
|
||||
for($i=0;$i<count($accounts);$i++) {
|
||||
echo $account->get_type($accounts[$i]["account_id"]);
|
||||
//echo $account->get_type($accounts[$i]["account_id"]);
|
||||
if ($account->get_type($accounts[$i]["account_id"]) == "g") {
|
||||
$groups_select .= '<option value="' . $accounts[$i]["account_id"] . '"';
|
||||
for ($j=0; $j<count($user_groups); $j++) {
|
||||
if ($user_groups[$j][0] == $accounts[$i]["account_id"]) {
|
||||
$members = $account->members($accounts[$i]["account_id"]);
|
||||
if (!$members) { $members = array(); }
|
||||
while (list($name,$value) = each($members)) {
|
||||
//echo $value;
|
||||
if ($value == $accounts[$i]["account_id"]) {
|
||||
$groups_select .= " selected";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user