preliminary whitespace cleanup
authoreileen <eileen@fuzion.co.nz>
Mon, 3 Jun 2013 03:11:32 +0000 (15:11 +1200)
committereileen <eileen@fuzion.co.nz>
Mon, 3 Jun 2013 03:11:32 +0000 (15:11 +1200)
CRM/Event/Form/EventFees.php
CRM/Event/Form/ManageEvent/Registration.php
CRM/Event/Form/Registration/Confirm.php

index c950afc4c6c38c1119fc494d6e9cfbd3e94be5fe..2658b0bb748be92fee378dd8e0f167bebd548f14 100644 (file)
@@ -118,7 +118,7 @@ class CRM_Event_Form_EventFees {
       list($defaults[$form->_pId]['receive_date']) = CRM_Utils_Date::setDateDefaults();
     }
 
-    //CRM-11601 we should keep the record contribution 
+    //CRM-11601 we should keep the record contribution
     //true by default while adding participant
      if ($form->_action == CRM_Core_Action::ADD && !$form->_mode && $form->_isPaidEvent) {
       $defaults[$form->_pId]['record_contribution'] = 1;
index 1935bc78920b5eb86d41d305d1b0ea45ba3126c8..fd35f2ac116ec82fd972300844c2938e3d7da28f 100644 (file)
@@ -55,7 +55,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
    *
    * @return void
    * @access public
-   */ 
+   */
   function preProcess() {
     $this->_addProfileBottom = CRM_Utils_Array::value('addProfileBottom', $_GET, FALSE);
     $this->_profileBottomNum = CRM_Utils_Array::value('addProfileNum', $_GET, 0);
@@ -257,11 +257,11 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
       ts('Allow Online Registration?'),
       NULL,
       array(
-        'onclick' => "return showHideByValue('is_online_registration', 
-        '', 
-        'registration_blocks', 
-        'block', 
-        'radio', 
+        'onclick' => "return showHideByValue('is_online_registration',
+        '',
+        'registration_blocks',
+        'block',
+        'radio',
         false );",
       )
     );
@@ -288,7 +288,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
       ts('Register multiple participants?'),
       NULL,
       array(
-        'onclick' => "return (showHideByValue('is_multiple_registrations', '', 'additional_profile_pre|additional_profile_post', 'table-row', 'radio', false) || 
+        'onclick' => "return (showHideByValue('is_multiple_registrations', '', 'additional_profile_pre|additional_profile_post', 'table-row', 'radio', false) ||
                                                       showRuleFields( " . json_encode($ruleFields) . " ));")
     );
 
@@ -350,7 +350,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
     $form->add('select', 'custom_post_id', ts('Include Profile') . '<br />' . ts('(bottom of page)'), $mainProfiles);
 
     $form->add('select', 'additional_custom_pre_id', ts('Profile for Additional Participants') . '<br />' . ts('(top of page)'), $addtProfiles);
-    // Allow user to NOT provide a bottom profile for Additional Participant registration 
+    // Allow user to NOT provide a bottom profile for Additional Participant registration
     $form->add('select', 'additional_custom_post_id', ts('Profile for Additional Participants') . '<br />' . ts('(bottom of page)'), array('none' => ts('- no profile -')) + $addtProfiles);
   }
 
@@ -459,7 +459,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
           $errorMsg['confirm_from_email'] = ts('Please enter Confirmation Email FROM Email Address.');
         }
       }
-      
+
       if ($values['registration_start_date'] && $values['registration_end_date']) {
         $start = CRM_Utils_Date::processDate($values['registration_start_date']);
         $end   = CRM_Utils_Date::processDate($values['registration_end_date']);
@@ -530,7 +530,7 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent
         else {
           $isPreError = FALSE;
         }
-        
+
         // We don't have required Individual fields in the pre-custom profile, so now check the post-custom profile
         if ($isPreError) {
           $additionalCustomPostId = CRM_Utils_Array::value('additional_custom_post_id', $values);
index af6fa57cae9a9cd2cdde73e80340d15b58e0fd03..5f44b6f4e3788db700dfeedf22e8631938f03fb1 100644 (file)
@@ -688,7 +688,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
         $this->set('receiveDate', CRM_Utils_Date::mysqlToIso($value['receive_date']));
         $this->set('trxnId', CRM_Utils_Array::value('trxn_id', $value));
       }
-      
+
       $value['fee_amount'] = CRM_Utils_Array::value('amount', $value);
       $this->set('value', $value);