Ops page bug fix from Carl Christensen for manage special users page.

svn path=/trunk/boinc/; revision=9431
This commit is contained in:
Bruce Allen 2006-02-09 20:37:13 +00:00
parent dd14711f11
commit 4a571ea68c
2 changed files with 10 additions and 2 deletions

View File

@ -1674,3 +1674,11 @@ David 8 Feb 2006
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
Bruce 9 Feb 2006
- Ops page bug fix from Carl Christensen for manage special users page.
html/
ops/
manage_special_users.php

View File

@ -22,9 +22,9 @@ $result = mysql_query("SELECT prefs.userid, prefs.special_user, user.name
WHERE special_user > '0' and prefs.userid=user.id");
for($i=1;$i<=mysql_num_rows($result);$i++){
$foo = mysql_fetch_object($result);
echo "<tr><form action=\"manage_special_users_action.php\" method=\"POST\">\n";
echo "<form action=\"manage_special_users_action.php\" method=\"POST\">\n";
echo "<input type=\"hidden\" name=\"userid\" value=\"$foo->userid\"
<td>$foo->name</td>";
<tr><td>$foo->name</td>";
for ($j=0;$j<=6;$j++) {
$bit = substr($foo->special_user, $j, 1);
echo "<td><input type=\"checkbox\" name=\"".$j."\" value=\"1\"";