cvs: pearweb /public_html admin.php
| From: | Martin Jansen | Date: | Sat, 14 Dec 2002 17:14:07 +0000 |
| Subject: | cvs: pearweb /public_html admin.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7884@lists.php.net to get a copy of this message | ||
mj Sat Dec 14 12:14:07 2002 EDT
Modified files:
/pearweb/public_html admin.php
Log:
* Mention address of pear-dev in reject messages.
* Move new javascript function to the other ones.
Index: pearweb/public_html/admin.php
diff -u pearweb/public_html/admin.php:1.21 pearweb/public_html/admin.php:1.22
--- pearweb/public_html/admin.php:1.21 Sat Dec 14 08:30:53 2002
+++ pearweb/public_html/admin.php Sat Dec 14 12:14:07 2002
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: admin.php,v 1.21 2002/12/14 13:30:53 richard Exp $
+ $Id: admin.php,v 1.22 2002/12/14 17:14:07 mj Exp $
*/
auth_require(true);
@@ -28,7 +28,7 @@
}
$SIDEBAR_DATA='
-This is the PEAR administration page.
+This is the PEAR administration page.<br />
<noscript><p>
<!-- be annoying! -->
<b><blink>You must enable Javascript to use this page!</blink></b>
@@ -103,6 +103,12 @@
}
}
+function updateRejectReason(selectObj) {
+ if (selectObj.selectedIndex != 0) {
+ document.forms['account_form'].reason.value =
selectObj.options[selectObj.selectedIndex].value;
+ }
+ selectObj.selectedIndex = 0;
+}
// -->
</script>
<?php
@@ -190,24 +196,11 @@
(will be emailed to <?= $requser->email ?>):<br />
<textarea rows="3" cols="60"
name="reason"></textarea><br />
- <!-- Some default reasons -->
- <script language="JavaScript" type="text/javascript">
- <!--
- function updateRejectReason(selectObj)
- {
- if (selectObj.selectedIndex != 0) {
- document.forms['account_form'].reason.value =
selectObj.options[selectObj.selectedIndex].value;
- }
- selectObj.selectedIndex = 0;
- }
- //-->
- </script>
-
- <select onchange="return updateRejectReason(this)">
+ <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 classes to the Pear-Dev mailing list
first">Please propose all new classes to the Pear-Dev mailing list first</option>
- <option value="Please send all bug fixes to the Pear-Dev mailing list">Please
send all bug fixes to the Pear-Dev mailing list</option>
+ <option value="Please propose all new classes to the mailing list pear-dev@lists.php.net
first">Please propose all new classes 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="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>