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

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

View File

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