Index: trunk/extensions/DonationInterface/gateway_forms/Form.php |
— | — | @@ -163,11 +163,15 @@ |
164 | 164 | * @return string of HTML |
165 | 165 | */ |
166 | 166 | public function generateDonationFooter() { |
167 | | - global $wgScriptPath; |
| 167 | + global $wgScriptPath, $wgServer; |
168 | 168 | $form = ''; |
169 | 169 | $form .= Xml::openElement( 'div', array( 'class' => 'payflow-cc-form-section', 'id' => 'payflowpro_gateway-donate-addl-info' ) ); |
170 | 170 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-secure-logos' ) ); |
171 | | - $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
| 171 | + if ($wgServer =="https://payments.wikimedia.org") { |
| 172 | + $form .= $this ->getSmallSecureLogo(); |
| 173 | + } else { |
| 174 | + $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
| 175 | + } |
172 | 176 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info-secure-logos |
173 | 177 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-text' ) ); |
174 | 178 | $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'donate_interface-otherways-short' ) ); |