Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | return $form; |
62 | 62 | } |
63 | 63 | |
64 | | - function generateFormSubmit() { |
| 64 | + public function generateFormSubmit() { |
65 | 65 | global $wgScriptPath; |
66 | 66 | // submit button |
67 | 67 | $form = Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-form-submit' ) ); |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | |
119 | 119 | $form .= '<tr>'; |
120 | 120 | $form .= '<td colspan="2"><h3 class="cc_header">' . wfMsg( 'payflowpro_gateway-cc-form-header-personal' ) . |
121 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:10px;' ) ) . '</h3></td>'; |
| 121 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:8px;' ) ) . '</h3></td>'; |
122 | 122 | $form .= '</tr>'; |
123 | 123 | |
124 | 124 | // name |
— | — | @@ -189,4 +189,18 @@ |
190 | 190 | $form .= Xml::closeElement( 'table' ); |
191 | 191 | return $form; |
192 | 192 | } |
| 193 | + |
| 194 | + public function generateDonationFooter() { |
| 195 | + global $wgScriptPath; |
| 196 | + $form = ''; |
| 197 | + $form .= Xml::openElement( 'div', array( 'class' => 'payflow-cc-form-section', 'id' => 'payflowpro_gateway-donate-addl-info' ) ); |
| 198 | + $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-text' ) ); |
| 199 | + $form .= Xml::tags( 'p', array( 'style' => 'text-align:center;' ), '***' ); |
| 200 | + $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-otherways-short' ) ); |
| 201 | + $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-credit-storage-processing' ) ); |
| 202 | + $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-question-comment' ) ); |
| 203 | + $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info-text |
| 204 | + $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info |
| 205 | + return $form; |
| 206 | + } |
193 | 207 | } |