Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnPayPal.php |
— | — | @@ -48,7 +48,23 @@ |
49 | 49 | |
50 | 50 | return $form; |
51 | 51 | } |
| 52 | + |
| 53 | + protected function generatePersonalContainer() { |
| 54 | + global $wgRequest; |
| 55 | + $form = ''; |
| 56 | + $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-personal-info' )); ; |
| 57 | + $form .= Xml::tags( 'h3', array( 'class' => 'payflow-cc-form-header','id' => 'payflow-cc-form-header-personal' ), wfMsg( 'payflowpro_gateway-make-your-donation' )); |
| 58 | + $sourceId = $wgRequest->getText( 'utm_source_id', 13 ); |
| 59 | + $form .= Xml::openElement( 'table', array( 'id' => 'payflow-table-donor' ) ); |
| 60 | + |
| 61 | + $form .= $this->generatePersonalFields(); |
| 62 | + |
| 63 | + $form .= Xml::closeElement( 'table' ); // close table#payflow-table-donor |
| 64 | + $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-personal-info |
52 | 65 | |
| 66 | + return $form; |
| 67 | + } |
| 68 | + |
53 | 69 | protected function generatePersonalFields() { |
54 | 70 | global $wgPayflowGatewayPaypalURL; |
55 | 71 | $form = ''; |