cvs: peclweb /public_html/admin index.php
| From: | Wez Furlong | Date: | Wed, 15 Sep 2004 08:57:34 +0000 |
| Subject: | cvs: peclweb /public_html/admin index.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1838@lists.php.net to get a copy of this message | ||
wez Wed Sep 15 04:57:34 2004 EDT
Modified files:
/peclweb/public_html/admin index.php
Log:
quote!
http://cvs.php.net/diff.php/peclweb/public_html/admin/index.php?r1=1.7&r2=1.8&ty=u
Index: peclweb/public_html/admin/index.php
diff -u peclweb/public_html/admin/index.php:1.7 peclweb/public_html/admin/index.php:1.8
--- peclweb/public_html/admin/index.php:1.7 Fri Sep 12 06:00:47 2003
+++ peclweb/public_html/admin/index.php Wed Sep 15 04:57:33 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: index.php,v 1.7 2003/09/12 10:00:47 mj Exp $
+ $Id: index.php,v 1.8 2004/09/15 08:57:33 wez Exp $
*/
auth_require(true);
@@ -142,17 +142,19 @@
}
list($purpose, $moreinfo) = @unserialize($requser->userinfo);
- $bb = new BorderBox("Account request from $requser->name
<$requser->email>", "100%", "", 2, true);
- $bb->horizHeadRow("Requested username:", $requser->handle);
- $bb->horizHeadRow("Realname:", $requser->name);
- $bb->horizHeadRow("Email address:", "<a href=\"mailto:" . $requser->email . "\">" .
$requser->email . "</a>");
- $bb->horizHeadRow("MD5-encrypted password:", $requser->password);
- $bb->horizHeadRow("Purpose of account:", $purpose);
- $bb->horizHeadRow("More information:", $moreinfo);
+ $bb = new BorderBox("Account request from " . htmlspecialchars($requser->name)
+ . "<" . htmlspecialchars($requser->email) . ">",
"100%", "", 2, true);
+ $bb->horizHeadRow("Requested username:",
htmlspecialchars($requser->handle));
+ $bb->horizHeadRow("Realname:", htmlspecialchars($requser->name));
+ $bb->horizHeadRow("Email address:", "<a href=\"mailto:" . htmlspecialchars($requser->email) .
"\">" .
+ htmlspecialchars($requser->email) . "</a>");
+ $bb->horizHeadRow("MD5-encrypted password:",
htmlspecialchars($requser->password));
+ $bb->horizHeadRow("Purpose of account:", htmlspecialchars($purpose));
+ $bb->horizHeadRow("More information:", htmlspecialchars($moreinfo));
$bb->end();
print "<br />\n";
- $bb = new BorderBox("Notes for user $requser->handle");
+ $bb = new BorderBox("Notes for user " . htmlspecialchars($requser->handle));
$notes = $dbh->getAssoc("SELECT id,nby,UNIX_TIMESTAMP(ntime) AS ntime,note FROM notes
".
"WHERE uid = ? ORDER BY ntime", true,
array($requser->handle));
@@ -214,9 +216,9 @@
<select onchange="return updateRejectReason(this)">
<option>Select reason...</option>
- <option value="You don't need a PEAR account to use PEAR or PEAR
packages.">You don't need a PEAR account to use PEAR or PEAR packages.</option>
- <option value="Please propose all new packages to the mailing list pear-dev@lists.php.net
first.">Please propose all new packages to the mailing list pear-dev@lists.php.net
first.</option>
- <option value="Please send all bug fixes to the mailing list
pear-dev@lists.php.net.">Please send all bug fixes to the mailing list
pear-dev@lists.php.net.</option>
+ <option value="You don't need a PECL account to use PECL or PECL
packages.">You don't need a PECL account to use PECL or PECL packages.</option>
+ <option value="Please propose all new packages to the mailing list pear-dev@lists.php.net
first.">Please propose all new packages to the mailing list pecl-dev@lists.php.net
first.</option>
+ <option value="Please send all bug fixes to the mailing list
pecl-dev@lists.php.net.">Please send all bug fixes to the mailing list
pecl-dev@lists.php.net.</option>
<option value="Please supply valid credentials, including your full name and a
descriptive reason for an account.">Please supply valid credentials, including your full
name and a descriptive reason for an account.</option>
</select>