r76736 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76735‎ | r76736 | r76737 >
Date:23:25, 15 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
form footer
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
@@ -60,7 +60,7 @@
6161 return $form;
6262 }
6363
64 - function generateFormSubmit() {
 64+ public function generateFormSubmit() {
6565 global $wgScriptPath;
6666 // submit button
6767 $form = Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-form-submit' ) );
@@ -117,7 +117,7 @@
118118
119119 $form .= '<tr>';
120120 $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>';
122122 $form .= '</tr>';
123123
124124 // name
@@ -189,4 +189,18 @@
190190 $form .= Xml::closeElement( 'table' );
191191 return $form;
192192 }
 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+ }
193207 }

Status & tagging log