r43093 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43092‎ | r43093 | r43094 >
Date:21:06, 2 November 2008
Author:tomasz
Status:old
Tags:
Comment:
adding followup checkbox and formatting output cleaner.
Modified paths:
  • /branches/ContactPageFundraiser/SpecialContact.php (modified) (history)

Diff [purge]

Index: branches/ContactPageFundraiser/SpecialContact.php
@@ -57,10 +57,12 @@
5858 $form['citytown'] = $wgRequest->getVal('city-town');
5959 $form['provstat'] = $wgRequest->getVal('prov-state');
6060 $form['story'] = $wgRequest->getVal('story');
 61+ $form['followup'] = $wgRequest->getVal('follow-up');
6162
6263 $text = '';
6364 foreach( $form as $key => $value) {
64 - $text .= "$key\t\t\t:\t\t\t$value\n";
 65+ $text .= pack('A10A2A10', $key, ":", $value);
 66+ $text .= "\n";
6567 }
6668 $f->setText( $text );
6769 $f->doSubmit();

Status & tagging log