dufuz Sat May 14 13:40:32 2005 EDT
Modified files:
/pearweb/public_html account-edit.php
Log:
And even more PHP_SELF -> SCRIPT_NAME
http://cvs.php.net/diff.php/pearweb/public_html/account-edit.php?r1=1.38&r2=1.39&ty=u
Index: pearweb/public_html/account-edit.php
diff -u pearweb/public_html/account-edit.php:1.38
pearweb/public_html/account-edit.php:1.39
--- pearweb/public_html/account-edit.php:1.38 Wed Jan 26 07:40:05 2005
+++ pearweb/public_html/account-edit.php Sat May 14 13:40:32 2005
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: account-edit.php,v 1.38 2005/01/26 12:40:05 pajoye Exp $
+ $Id: account-edit.php,v 1.39 2005/05/14 17:40:32 dufuz Exp $
*/
auth_require();
@@ -142,7 +142,7 @@
}
-$form = new HTML_Form($_SERVER['PHP_SELF'], 'post');
+$form = new HTML_Form($_SERVER['SCRIPT_NAME'], 'post');
$form->addText('name', '<span class="accesskey">N</span>ame:',
$row['name'], 40, null, 'accesskey="n"');
@@ -174,7 +174,7 @@
print '<a name="password"></a>' . "\n";
print '<h2>» Manage your password</h2>' . "\n";
-$form = new HTML_Form($_SERVER['PHP_SELF'], 'post');
+$form = new HTML_Form($_SERVER['SCRIPT_NAME'], 'post');
$form->addPlaintext('<span class="accesskey">O</span>ld Password:',
$form->returnPassword('password_old', '', 40, 0,
'accesskey="o"'));
|