svn: /pear/pearweb/trunk/public_html/ account-request-newpackage.php css/style.css

[email protected] ("Daniel O'Connor") Wed, 13 Apr 2011 02:32:47 +0000
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
clockwerx                                Wed, 13 Apr 2011 02:32:47 +0000

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

Log:
Fix purposecheck, rendering

Changed paths:
    U   pear/pearweb/trunk/public_html/account-request-newpackage.php
    U   pear/pearweb/trunk/public_html/css/style.css

Modified: pear/pearweb/trunk/public_html/account-request-newpackage.php
===================================================================
--- pear/pearweb/trunk/public_html/account-request-newpackage.php	2011-04-13 02:24:49 UTC (rev 310180)
+++ pear/pearweb/trunk/public_html/account-request-newpackage.php	2011-04-13 02:32:47 UTC (rev 310181)
@@ -243,14 +243,14 @@

     $checkbox = array();
     foreach ($invalid_purposes as $i => $purposeKey) {
-        $purpose->addElement('checkbox', 'purposecheck[' . $i . ']')
+        $purpose->addElement('checkbox', $i')
                 ->setLabel($purposeKey)
                 ->setValue(@$_POST['purposecheck'][$i]);
     }

     $form->addElement('textarea', 'purpose',
-            array('cols' => 40, 'rows' => 5, 'required' => 'required'))
-         ->setLabel('Short summary of package that you have finished and are ready to propose:');
+            array('cols' => 40, 'rows' => 5, 'required' => 'required', 'placeholder' => 'Category_PackageName does... '))
+         ->setLabel('Short summary of package:');

     $form->addElement('url', 'sourcecode', array('placeholder' => 'http://example.com/svn/', 'required' => 'required'))
          ->setLabel('Link to browseable online source code:');
@@ -260,7 +260,7 @@
     $form->addElement('textarea', 'moreinfo',
             array('cols' => 40, 'rows' => 5, 'placeholder' => "I am a developer who has ..."))->setLabel('More relevant information about you:'
             . '<p class="cell_note">(optional)</p>');
-    $form->addElement('checkbox', 'comments_read', array('required' => 'required'))->setLabel('I have read EVERYTHING on this page:');
+    $form->addGroup('read_everything')->addElement('checkbox', 'comments_read', array('required' => 'required'))->setLabel('I have read EVERYTHING on this page');
     $form->addElement('submit', 'submit')->setLabel('Submit Request');

     print $form->render($renderer);

Modified: pear/pearweb/trunk/public_html/css/style.css
===================================================================
--- pear/pearweb/trunk/public_html/css/style.css	2011-04-13 02:24:49 UTC (rev 310180)
+++ pear/pearweb/trunk/public_html/css/style.css	2011-04-13 02:32:47 UTC (rev 310181)
@@ -385,6 +385,8 @@
 div.element.group label.element {
     background-color: inherit;
     color: inherit;
+    font-weight: normal;
+    font-size: 0.9em;
 }

 td.form-input_center {