Index: trunk/extensions/ContactPageFundraiser/SpecialContact.php |
— | — | @@ -40,20 +40,12 @@ |
41 | 41 | $nu = User::newFromName( $wgContactUser ); |
42 | 42 | $f = new EmailContactForm( $nu ); |
43 | 43 | |
44 | | - $form['fname'] = $wgRequest->getVal('fname'); |
45 | | - $form['lname'] = $wgRequest->getVal('lname'); |
46 | | - $form['orgname'] = $wgRequest->getVal('orgname'); |
47 | | - $form['jobname'] = $wgRequest->getVal('jobname'); |
48 | | - $form['urlname'] = $wgRequest->getVal('urlname'); |
| 44 | + $form['name'] = $wgRequest->getVal('name'); |
| 45 | + $form['age'] = $wgRequest->getVal('age'); |
49 | 46 | $form['email'] = $wgRequest->getVal('email'); |
50 | | - $form['telephone'] = $wgRequest->getVal('telephone'); |
51 | | - $form['other'] = $wgRequest->getVal('other'); |
52 | | - $form['url'] = $wgRequest->getVal('url'); |
53 | | - $form['country'] = $wgRequest->getVal('country'); |
54 | | - $form['citytown'] = $wgRequest->getVal('city-town'); |
55 | | - $form['provstat'] = $wgRequest->getVal('prov-state'); |
| 47 | + $form['location'] = $wgRequest->getVal('location'); |
56 | 48 | $form['story'] = $wgRequest->getVal('story'); |
57 | | - $form['followup'] = $wgRequest->getVal('follow-up'); |
| 49 | + $form['followup'] = $wgRequest->getVal('followup'); |
58 | 50 | |
59 | 51 | $text = ''; |
60 | 52 | foreach( $form as $key => $value) { |