mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
More changes to effect groups list
This commit is contained in:
parent
3e329cb3c5
commit
83ba768cb6
@ -40,14 +40,14 @@
|
||||
|
||||
$t->set_var("form_action",$phpgw->link("editaccount.php",
|
||||
"account_id=$_account_id&old_loginid=".rawurlencode($userData['account_lid'])));
|
||||
/*
|
||||
|
||||
// groups list
|
||||
$groups_select = '<select name="n_groups[]" multiple>';
|
||||
$accounts = $account->get_list();
|
||||
|
||||
for($i=0;$i<count($accounts);$i++) {
|
||||
//echo $account->get_type($accounts[$i]["account_id"]);
|
||||
if ($account->get_type($accounts[$i]["account_id"] == "g")) {
|
||||
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"]) {
|
||||
@ -60,7 +60,7 @@
|
||||
$groups_select .= "</select>";
|
||||
$t->set_var("groups_select",$groups_select);
|
||||
// end groups list
|
||||
*/
|
||||
|
||||
if ($_errors)
|
||||
{
|
||||
$t->set_var("error_messages","<center>" . $phpgw->common->error_list($_errors) . "</center>");
|
||||
|
Loading…
Reference in New Issue
Block a user