its working again

This commit is contained in:
jengo 2000-12-18 21:46:41 +00:00
parent 3a1c8acfbb
commit b24264a48b

View File

@ -74,9 +74,14 @@
$phpgw->common->navbar(); $phpgw->common->navbar();
$userData = $phpgw->accounts->read_userData($account_id); $userData = $phpgw->accounts->read_userData($account_id);
$db_perms = $phpgw->accounts->read_apps($userData["account_lid"]); $db_perms = $phpgw->accounts->read_apps($userData["account_lid"]);
if (! $submit) {
$n_loginid = $userData["account_lid"];
$n_firstname = $userData["firstname"];
$n_lastname = $userData["lastname"];
}
if ($phpgw_info["server"]["account_repository"] == "ldap") { if ($phpgw_info["server"]["account_repository"] == "ldap") {
$phpgw->template->set_var("form_action",$phpgw->link("editaccount.php","account_id=" . rawurlencode($userData["account_dn"]) . "&old_loginid=" . $userData["account_lid"])); $phpgw->template->set_var("form_action",$phpgw->link("editaccount.php","account_id=" . rawurlencode($userData["account_dn"]) . "&old_loginid=" . $userData["account_lid"]));
} else { } else {
@ -103,7 +108,7 @@
$phpgw->template->set_var("lang_groups",lang("Groups")); $phpgw->template->set_var("lang_groups",lang("Groups"));
$user_groups = $phpgw->accounts->read_group_names($userData["account_lid"]); $user_groups = $phpgw->accounts->read_group_names($userData["account_lid"]);
$group_select = '<select name="n_groups[]" multiple>'; $groups_select = '<select name="n_groups[]" multiple>';
$phpgw->db->query("select * from groups"); $phpgw->db->query("select * from groups");
while ($phpgw->db->next_record()) { while ($phpgw->db->next_record()) {
$groups_select .= '<option value="' . $phpgw->db->f("group_id") . '"'; $groups_select .= '<option value="' . $phpgw->db->f("group_id") . '"';
@ -114,8 +119,8 @@
} }
$groups_select .= ">" . $phpgw->db->f("group_name") . "</option>\n"; $groups_select .= ">" . $phpgw->db->f("group_name") . "</option>\n";
} }
$group_select .= "</select>"; $groups_select .= "</select>";
$phpgw->template->set_var("groups_select",$group_select); $phpgw->template->set_var("groups_select",$groups_select);
$i = 0; $i = 0;
while ($permission = each($phpgw_info["apps"])) { while ($permission = each($phpgw_info["apps"])) {