cvs: pearweb /public_html account-edit.php
| From: | Jan Lehnardt | Date: | Mon, 28 Jan 2002 19:56:04 +0000 |
| Subject: | cvs: pearweb /public_html account-edit.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2223@lists.php.net to get a copy of this message | ||
jan Mon Jan 28 14:56:04 2002 EDT
Modified files:
/pearweb/public_html account-edit.php
Log:
- the galeon browser (Mozilla 0.96 powered) does not show the submit
- and reset buttons, when they are defined without name/value
- attributes.
Index: pearweb/public_html/account-edit.php
diff -u pearweb/public_html/account-edit.php:1.9 pearweb/public_html/account-edit.php:1.10
--- pearweb/public_html/account-edit.php:1.9 Mon Jan 28 14:09:13 2002
+++ pearweb/public_html/account-edit.php Mon Jan 28 14:56:04 2002
@@ -148,18 +148,18 @@
print " </td>\n";
print " </tr>\n";
- if ($admin) { /* show the admin checkbox only when the visitor is admin */
- print " <tr>\n";
- print " <th bgcolor=\"#CCCCCC\">Administrator:</th>\n";
- print " <td bgcolor=\"#e8e8e8\">";
- HTML_Form::displayCheckbox("admin", $row['admin']);
- print " </td>\n";
- print " </tr>\n";
+ if ($admin) { /* show the admin checkbox only when the visitor is admin */
+ print " <tr>\n";
+ print " <th
bgcolor=\"#CCCCCC\">Administrator:</th>\n";
+ print " <td bgcolor=\"#e8e8e8\">";
+ HTML_Form::displayCheckbox("admin", $row['admin']);
+ print " </td>\n";
+ print " </tr>\n";
}
print " <tr>\n";
print " <th bgcolor=\"#CCCCCC\"> </th>\n";
- print " <td bgcolor=\"#e8e8e8\"><input type=\"submit\"
/> <input type=\"reset\" /></td>\n";
+ print " <td bgcolor=\"#e8e8e8\"><input type=\"submit\"
value=\"Submit\" name=\"submit\" /> <input
type=\"reset\" name=\"reset\" value=\"Reset\"
/></td>\n";
print " </tr>\n";
print "</table>\n";