read_group_names() is working again

This commit is contained in:
jengo 2000-08-27 01:52:30 +00:00
parent e98124bfdb
commit 0637628c84
2 changed files with 6 additions and 2 deletions

View File

@ -113,11 +113,11 @@
$phpgw->common->header();
$phpgw->common->navbar();
$account_status = $phpgw->db->f("status");
$db_perms = $phpgw->accounts->read_apps($phpgw->db->f("loginid"));
$phpgw->db->query("select * from accounts where con='$con'");
$phpgw->db->next_record();
$account_status = $phpgw->db->f("status");
?>
<form method="POST" action="editaccount.php">
@ -197,6 +197,7 @@
$i++;
}
/*
echo "<tr><td>" . lang_admin("Anonymous user") . "</td><td><input type=\""
. "checkbox\" name=\"new_permissions[anonymous]\" value=\"True\"";
if ($db_perms["anonymous"] || $new_permissions[anonymous])
@ -208,6 +209,7 @@
if ($db_perms["manager"] || $new_permissions[manager])
echo " checked";
echo "></td></tr>";
*/
?>

View File

@ -169,12 +169,14 @@
$i++;
}
/*
// Just until we can get thing the $phpgw_info["apps"] then figured out
echo "<tr><td>" . lang_admin("Anonymous user") . "</td> <td><input type=\""
. "checkbox\" name=\"new_permissions[anonymous]\" value=\"Y\"></td>";
echo "<td>" . lang_admin("Manager") . "</td> <td><input type=\""
. "checkbox\" name=\"new_permissions[manager]\" value=\"Y\"></td></tr>";
*/
?>
<tr>