cvs: pearweb /public_html account-info.php
| From: | Martin Jansen | Date: | Thu, 01 Jul 2004 09:31:27 +0000 |
| Subject: | cvs: pearweb /public_html account-info.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21343@lists.php.net to get a copy of this message | ||
mj Thu Jul 1 05:31:27 2004 EDT
Modified files:
/pearweb/public_html account-info.php
Log:
* Instead of displaying the user handle in the title bar and the h1 tag,
the realname is used now.
http://cvs.php.net/diff.php/pearweb/public_html/account-info.php?r1=1.33&r2=1.34&ty=u
Index: pearweb/public_html/account-info.php
diff -u pearweb/public_html/account-info.php:1.33 pearweb/public_html/account-info.php:1.34
--- pearweb/public_html/account-info.php:1.33 Thu Jul 1 05:24:29 2004
+++ pearweb/public_html/account-info.php Thu Jul 1 05:31:27 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: account-info.php,v 1.33 2004/07/01 09:24:29 mj Exp $
+ $Id: account-info.php,v 1.34 2004/07/01 09:31:27 mj Exp $
*/
/**
@@ -46,9 +46,9 @@
$handle = htmlspecialchars($handle);
-response_header('User Information: ' . $handle);
+response_header('User Information: ' . $row['name']);
-echo '<h1>User Information: ' . $handle . "</h1>\n";
+echo '<h1>User Information: ' . $row['name'] . "</h1>\n";
if (isset($auth_user) && is_object($auth_user)
&& ($auth_user->handle == $handle ||
@@ -98,7 +98,7 @@
<tr>
<td colspan="2">
<ul>
-
+ <li>Username: <?php echo $row['handle']; ?></li>
<?php
if ($row['showemail']) {