remove unused code

add password input box
This commit is contained in:
james 2005-01-25 19:08:41 +00:00
parent e40bbeda96
commit 5da526552f

View File

@ -234,16 +234,14 @@ if($_GET['edit'] || $edit)
echo "<h4>".i18n("Edit Committee Member")."</h4>";
echo "<a href=\"committees.php\">&lt;&lt; ".i18n("Back to Committees Editor")."</a>\n";
// echo "<form enctype=\"multipart/form-data\" action=\"admin_board.php\" method=\"post\" accept=\"image/jpeg\">\n";
echo "<form action=\"committees.php\" method=\"post\">\n";
echo "<input type=\"hidden\" name=\"save\" value=\"$e\" />\n";
echo "<table>";
// echo "<tr><td>";
// echo "<table class=bodytext border=\"0\" cellspacing=0 cellpadding=1>";
echo "<tr><td>".i18n("Name").":</td><td><input size=\"25\" type=\"text\" name=\"name\" value=\"$r->name\" /></td></tr>";
echo "<tr><td>".i18n("Password").":</td><td><input size=\"15\" type=\"text\" name=\"password\" value=\"$r->password\" /></td></tr>";
$cq=mysql_query("SELECT committees.name, committees.id, committees_link.title, committees_link.ord FROM committees,committees_link WHERE committees_link.committees_id=committees.id AND committees_link.committees_members_id='$e' ORDER BY committees.name");
@ -277,17 +275,6 @@ if($_GET['edit'] || $edit)
echo "<tr><td>".i18n("Phone (Work)").":</td><td><input size=\"15\" type=\"text\" name=\"phonework\" value=\"$r->phonework\" /></td></tr>\n";
echo "<tr><td>".i18n("Phone (Cell)").":</td><td><input size=\"15\" type=\"text\" name=\"phonecell\" value=\"$r->phonecell\" /></td></tr>\n";
echo "<tr><td>".i18n("Fax").":</td><td><input size=\"15\" type=\"text\" name=\"fax\" value=\"$r->fax\" /></td></tr>\n";
// echo "<tr><td>Picture:</td><td><input size=10 name=\"picture\" type=\"file\"></td></tr>\n";
// echo "</table>";
// echo "</td><td valign=middle>";
// if(file_exists($_SERVER['DOCUMENT_ROOT']."/board/".$r->id."-thumb.jpg"))
// echo "<img src=\"/board/".$r->id."-thumb.jpg\" border=\"0\">";
// else
// echo "No Picture";
// echo "</td></tr>\n";
echo "<tr><td align=\"center\" colspan=\"2\"><hr /></td></tr>";
echo "<tr><td>".i18n("Access Controls").":</td><td>";