Discussion:
svn: /pear/pearweb/trunk/public_html/ account-request-existingpackage.php
Daniel O'Connor
2011-04-13 03:30:32 UTC
Permalink
clockwerx Wed, 13 Apr 2011 03:30:32 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=310192

Log:
Fix existing package

Changed paths:
U pear/pearweb/trunk/public_html/account-request-existingpackage.php

Modified: pear/pearweb/trunk/public_html/account-request-existingpackage.php
===================================================================
--- pear/pearweb/trunk/public_html/account-request-existingpackage.php 2011-04-13 03:26:52 UTC (rev 310191)
+++ pear/pearweb/trunk/public_html/account-request-existingpackage.php 2011-04-13 03:30:32 UTC (rev 310192)
@@ -233,8 +233,8 @@
$form->addElement('number', 'captcha', array('maxlength' => 4, 'required' => 'required'))->setLabel("What is " . $numeralCaptcha->getOperation() . '?');
$_SESSION['answer'] = $numeralCaptcha->getAnswer();
$form->addElement('email', 'email', array('placeholder' => '***@example.com', 'required' => 'required'))->setLabel('Email Address:');
- $form->addElement('checkbox', 'showemail')->setLabel( 'Show email address?');
- $form->addElement('text', 'existingpackage', 'Package Name:', array('size' => 20));
+ $form->addElement('checkbox', 'showemail')->setLabel('Show email address?');
+ $form->addElement('text', 'existingpackage', array('placeholder' => 'Category_PackageName', 'required' => 'required'))->setLabel('Package Name:');

$invalid_purposes = array(
'Learn about PEAR.',
Daniel O'Connor
2011-04-13 03:32:19 UTC
Permalink
clockwerx Wed, 13 Apr 2011 03:32:19 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=310193

Log:
Make purpose mandatory

Changed paths:
U pear/pearweb/trunk/public_html/account-request-existingpackage.php

Modified: pear/pearweb/trunk/public_html/account-request-existingpackage.php
===================================================================
--- pear/pearweb/trunk/public_html/account-request-existingpackage.php 2011-04-13 03:30:32 UTC (rev 310192)
+++ pear/pearweb/trunk/public_html/account-request-existingpackage.php 2011-04-13 03:32:19 UTC (rev 310193)
@@ -254,7 +254,7 @@


$form->addElement('textarea', 'purpose',
- array('cols' => 40, 'rows' => 5, 'placeholder' => 'I will improve...'))->setLabel('How will you help the package?');
+ array('cols' => 40, 'rows' => 5, 'required' => 'required', 'placeholder' => 'I will improve...'))->setLabel('How will you help the package?');
$form->addElement('url', 'homepage', array('placeholder' => 'http://example.com'))->setLabel('Homepage:'
. '<p class="cell_note">(optional)</p>');
$form->addElement('textarea', 'moreinfo',

Loading...