Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnPremium.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | } |
15 | 15 | |
16 | 16 | public function generateFormStart() { |
17 | | - global $wgOut, $wgRequest; |
| 17 | + global $wgOut, $wgRequest, $wgScriptPath; |
18 | 18 | |
19 | 19 | $form = parent::generateBannerHeader(); |
20 | 20 | |
— | — | @@ -21,15 +21,10 @@ |
22 | 22 | $form .= Xml::openElement( 'tr' ); |
23 | 23 | $form .= Xml::openElement( 'td', array( 'id' => 'appeal', 'valign' => 'top' ) ); |
24 | 24 | |
25 | | - $text_template = $wgRequest->getText( 'text_template', '2010/JimmyAppealLong' ); |
26 | | - // if the user has uselang set, honor that, otherwise default to the language set for the form defined by 'language' in the query string |
27 | | - if ( $wgRequest->getText( 'language' ) ) $text_template .= '/' . $this->form_data[ 'language' ]; |
| 25 | + $form .= Xml::openElement( 'div', array( 'id' => 'premium-confirmation' ) ); |
| 26 | + $form .= Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/Wikipedia-ten-tshirt-back.jpg" ) ); |
| 27 | + $form .= Xml::closeElement( 'div' ); // close div#premium-confirmation |
28 | 28 | |
29 | | - $template = ( strlen( $text_template ) ) ? $wgOut->parse( '{{' . $text_template . '}}' ) : ''; |
30 | | - // if the template doesn't exist, prevent the display of the red link |
31 | | - if ( preg_match( '/redlink\=1/', $template ) ) $template = NULL; |
32 | | - $form .= $template; |
33 | | - |
34 | 29 | $form .= Xml::closeElement( 'td' ); |
35 | 30 | |
36 | 31 | $form .= Xml::openElement( 'td', array( 'id' => 'donate', 'valign' => 'top' ) ); |