cvs: pearweb /public_html account-edit.php
| From: | Martin Jansen | Date: | Thu, 01 Jul 2004 09:29:05 +0000 |
| Subject: | cvs: pearweb /public_html account-edit.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21342@lists.php.net to get a copy of this message | ||
mj Thu Jul 1 05:29:05 2004 EDT
Modified files:
/pearweb/public_html account-edit.php
Log:
* When generating the hidden element _fields, HTML_Form gets confused when
the field label contains HTML tags.
http://cvs.php.net/diff.php/pearweb/public_html/account-edit.php?r1=1.30&r2=1.31&ty=u
Index: pearweb/public_html/account-edit.php
diff -u pearweb/public_html/account-edit.php:1.30 pearweb/public_html/account-edit.php:1.31
--- pearweb/public_html/account-edit.php:1.30 Tue Jun 22 00:00:37 2004
+++ pearweb/public_html/account-edit.php Thu Jul 1 05:29:04 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: account-edit.php,v 1.30 2004/06/22 04:00:37 danielc Exp $
+ $Id: account-edit.php,v 1.31 2004/07/01 09:29:04 mj Exp $
*/
auth_require();
@@ -182,14 +182,14 @@
print '<a name="password"></a>' . "\n";
-
+print '<h2>» Manage your password</h2>' . "\n";
$form = new HTML_Form($_SERVER['PHP_SELF'], 'post');
-$form->addPlaintext('<span class="accesskey">O</span>ld
Password:',
+$form->addPlaintext('Old Password:',
$form->returnPassword('password_old', '', 40, 0,
'accesskey="o"'),
$th, $td);
-$form->addPassword('password', 'Password:',
+$form->addPassword('password', 'Password',
'', 10, null, '',
$th, $td);
$form->addCheckbox('PEAR_PERSIST', 'Remember username and password?',