diff --git a/admin/editaccount.php b/admin/editaccount.php index dc86cda881..f44c400bc6 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -51,9 +51,9 @@ } if (! $totalerrors) { - $cd = account_edit(array("loginid" => $n_loginid, "permissions" => $new_permissions, - "firstname" => $n_firstname, "lastname" => $n_lastname, - "passwd" => $n_passwd, "account_status" => $n_account_status, + $cd = account_edit(array("loginid" => $n_loginid, "permissions" => $new_permissions, + "firstname" => $n_firstname, "lastname" => $n_lastname, + "passwd" => $n_passwd, "account_status" => $n_account_status, "old_loginid" => $old_loginid, "account_id" => rawurldecode($account_id), "groups" => $phpgw->accounts->groups_array_to_string($n_groups))); } @@ -126,7 +126,7 @@ } } - for ($i=0;$i<200;) { // The $i<200 is only used for a brake + for ($i=0;$i<200;) { // The $i<200 is only used for a brake if (! $perm_display[$i][1]) break; $perm_html .= '' . lang($perm_display[$i][1]) . '' . '"> "> + if ($phpgw_info["server"]["account_repository"] == "ldap") + { + echo rawurlencode($userData["account_dn"]); + } + else + { + echo $userData["account_id"]; + }?>"> "> db->next_record()) { echo "\n"; + } + echo ">" . $phpgw->db->f("group_name") . "\n"; } ?> @@ -212,13 +212,13 @@ $perm_display[$i][1] = $permission[1]["title"]; $i++; } - } + } - for ($i=0;$i<200;) { // The $i<200 is only used for a brake + for ($i=0;$i<200;) { // The $i<200 is only used for a brake if (! $perm_display[$i][1]) break; echo '' . lang($perm_display[$i][1]) . '' . '' . lang($perm_display[$i][1]) . '' . '"; + echo ">"; $i++; } ?> - - > + + > diff --git a/admin/newaccount.php b/admin/newaccount.php index 7c23f7f123..cf3726986b 100755 --- a/admin/newaccount.php +++ b/admin/newaccount.php @@ -72,9 +72,9 @@ if (! $error) { $cd = account_add(array("loginid" => $n_loginid, "permissions" => $new_permissions, - "firstname" => $n_firstname, "lastname" => $n_lastname, - "passwd" => $n_passwd, - "groups" => $phpgw->accounts->groups_array_to_string($n_groups))); + "firstname" => $n_firstname, "lastname" => $n_lastname, + "passwd" => $n_passwd, + "groups" => $phpgw->accounts->groups_array_to_string($n_groups))); Header("Location: " . $phpgw->link("accounts.php","cd=$cd")); exit; diff --git a/calendar/day.php b/calendar/day.php index 65e0b07eeb..f904611134 100644 --- a/calendar/day.php +++ b/calendar/day.php @@ -1,4 +1,4 @@ - + + + + +