cvs: pearweb /public_html account-request-vote.php
| From: | Greg Beaver | Date: | Fri, 10 Nov 2006 04:34:06 +0000 |
| Subject: | cvs: pearweb /public_html account-request-vote.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5166@lists.php.net to get a copy of this message | ||
cellog Fri Nov 10 04:34:06 2006 UTC
Modified files:
/pearweb/public_html account-request-vote.php
Log:
remove unneeded purpose from vote request form, this form should be simple
http://cvs.php.net/viewvc.cgi/pearweb/public_html/account-request-vote.php?r1=1.1&r2=1.2&diff_format=u
Index: pearweb/public_html/account-request-vote.php
diff -u pearweb/public_html/account-request-vote.php:1.1
pearweb/public_html/account-request-vote.php:1.2
--- pearweb/public_html/account-request-vote.php:1.1 Sat Nov 4 02:41:51 2006
+++ pearweb/public_html/account-request-vote.php Fri Nov 10 04:34:06 2006
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: account-request-vote.php,v 1.1 2006/11/04 02:41:51 cellog Exp $
+ $Id: account-request-vote.php,v 1.2 2006/11/10 04:34:06 cellog Exp $
*/
define('HTML_FORM_TH_ATTR', 'class="form-label_left"');
@@ -141,22 +141,6 @@
report_error($errors);
- $invalid_purposes = array(
- 'Learn about PEAR.',
- 'Submit patches/bugs.',
- 'Suggest new features.',
- 'Download PEAR Packages.',
- 'Express an idea for a PEAR package',
- 'Use PEAR',
- 'Browse ' . PEAR_CHANNELNAME . '.'
- );
- $purposechecks = '';
- foreach ($invalid_purposes as $i => $purposeKey)
- {
- $purposechecks .= HTML_Form::returnCheckBox("purposecheck[$i]",
@$_POST['purposecheck'][$i] ? 'on' : 'off');
- $purposechecks .= "$purposeKey <br />";
- }
-
$form = new HTML_Form('account-request-vote.php#requestform', 'post');
$form->setDefaultFromInput(false);
@@ -174,12 +158,6 @@
@$hsc['email'], 20, null);
$form->addCheckbox('showemail', 'Show email address?',
@$hsc['showemail']);
- $form->addPlaintext('Purpose of your PEAR account:'
- . '<p class="cell_note">(Check all that apply)</p>',
- $purposechecks);
- $form->addTextarea('purpose',
- 'Short summary of package that you have finished and are ready to propose:',
- @$hsc['purpose'], 40, 5);
$form->addText('homepage', 'Homepage:'
. '<p class="cell_note">(optional)</p>',
@$hsc['homepage'], 20, null);