r103275 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103274‎ | r103275 | r103276 >
Date:01:00, 16 November 2011
Author:pgehres
Status:ok
Tags:
Comment:
Adding next text without labels
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/html/TwoStepTwoColumnLetter3-nolabels.html (added) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/html/TwoStepTwoColumnLetter3-nolabels.html
@@ -0,0 +1,186 @@
 2+<script type="text/javascript">
 3+ mw.loader.load('pfp.form.rapidhtml.TwoStepTwoColumnLetter3');
 4+ // these must go through RapidHTML and thus are inline
 5+ var amountErrors = ['#general|escape','#retryMsg|escape','#amount|escape'];
 6+ var billingErrors = ['#fname|escape','#lname|escape','#city|escape','#country|escape','#street|escape','#state|escape','#zip|escape','#emailAdd|escape'];
 7+ var paymentErrors = ['#card_num|escape','#card_type|escape','#cvv|escape'];
 8+ var actionURL = "@action";
 9+ var scriptPath = "@script_path";
 10+</script>
 11+
 12+
 13+<style type="text/css">
 14+ td.label { width: 40px !important; }
 15+</style>
 16+<table width="100%" cellspacing="0" cellpadding="0" border="0">
 17+ <tbody>
 18+ <tr>
 19+ <td id="appeal" valign="top">
 20+ {{LanguageSwitch|2011FR/@appeal/text|@language}}
 21+ </td>
 22+ <td id="donate" valign="top">
 23+ <div id="greenBackground" class="">
 24+ <noscript>
 25+ <div id="noscript">
 26+ <p id="noscript-msg">It appears that you do not have JavaScript enabled, or your browser does not support it. In order to provide a safe, secure and pleasant experience, our donation form requires JavaScript.</p><p id="noscript-redirect-msg">If you cannot or do not wish to enable JavaScript, you may still contribute by visiting:</p><p id="noscript-redirect-link"><a href="http://wikimediafoundation.org/wiki/DonateNonJS/en">http://wikimediafoundation.org/wiki/DonateNonJS/en</a></p>
 27+ </div>
 28+ </noscript>
 29+
 30+ <h2 id="donate-head">Please complete your donation below ...</h2>
 31+
 32+ <p id="topError" class="creditcard-error-msg"></p>
 33+
 34+ <form name="payment" method="post" action="@action" autocomplete="off">
 35+ <div id="payflowpro_gateway-personal-info">
 36+ <table id="payflow-table-donor">
 37+ <tbody>
 38+ <tr>
 39+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 40+ </tr>
 41+ <tr>
 42+ <td colspan="2">
 43+ <table cellspacing="0" cellpadding="4" border="1" id="donation_amount">
 44+ <tbody>
 45+ <tr>
 46+ <td class="amount_header">Description</td>
 47+ <td class="amount_header" style="text-align:right;width:75px;">Amount</td>
 48+ <td class="amount_header" style="text-align:right;width:75px;">Currency</td>
 49+ </tr>
 50+ <tr>
 51+ <td class="amount_data">Donation</td>
 52+ <td class="amount_data" style="text-align:right;width:75px;">@amount</td>
 53+ <td class="amount_data" style="text-align:right;width:75px;">@currency_code</td>
 54+ </tr>
 55+ </tbody>
 56+ </table>
 57+ </td>
 58+ </tr>
 59+ <tr>
 60+ <td colspan="2"><h3 class="cc_header">Billing information<img src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" style="vertical-align:baseline;margin-left:8px;"></h3></td>
 61+ </tr>
 62+ <tr>
 63+ <td class="label"></td>
 64+ <td><img src="@script_path/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif"></td>
 65+ </tr>
 66+ <tr>
 67+ <td class="label"></td>
 68+ <td><input name="card_num" size="30" value="@card_num" placeholder="Card number" type="text" maxlength="100" id="card_num" class="fullwidth" autocomplete="off"></td>
 69+ </tr>
 70+ <tr>
 71+ <td class="label"></td>
 72+ <td><select name="mos" id="mos"><option value="01">1 (January)</option><option value="02">2 (February)</option><option value="03">3 (March)</option><option value="04">4 (April)</option><option value="05">5 (May)</option><option value="06">6 (June)</option><option value="07">7 (July)</option><option value="08">8 (August)</option><option value="09">9 (September)</option><option value="10">10 (October)</option><option value="11">11 (November)</option><option value="12">12 (December)</option></select> / <select name="year" id="year">
 73+ <!--<option value="">Year</option>-->
 74+ <option value="2011">2011</option>
 75+ <option value="2012">2012</option>
 76+ <option value="2013">2013</option>
 77+ <option value="2014">2014</option>
 78+ <option value="2015">2015</option>
 79+ <option value="2016">2016</option>
 80+ <option value="2017">2017</option>
 81+ <option value="2018">2018</option>
 82+ <option value="2019">2019</option>
 83+ <option value="2020">2020</option>
 84+ <option value="2021">2021</option>
 85+ </select></td>
 86+ </tr>
 87+ <tr>
 88+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 89+ </tr>
 90+ <tr>
 91+ <td class="label"></td>
 92+ <td><input name="cvv" size="5" value="@cvv" placeholder="CVV" type="text" maxlength="10" id="cvv" autocomplete="off"> <a href="javascript:PopupCVV();">Where is this?</a></td>
 93+ </tr>
 94+ <tr>
 95+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 96+ </tr>
 97+ <tr>
 98+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 99+ </tr>
 100+ <tr>
 101+ <td class="label"></td>
 102+ <td><input name="fname" size="30" value="@fname" placeholder="First name" type="text" placeholder="First name" maxlength="25" class="required" id="fname"><input name="lname" size="30" value="@lname" type="text" placeholder="Last name" maxlength="25" id="lname">
 103+ </td>
 104+ </tr>
 105+ <tr>
 106+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 107+ </tr>
 108+ <tr>
 109+ <td class="label"></td>
 110+ <td><input name="street" size="30" value="@street" type="text" placeholder="Street" maxlength="100" id="street" class="fullwidth"></td>
 111+ </tr>
 112+ <tr>
 113+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 114+ </tr>
 115+ <tr>
 116+ <td class="label"></td>
 117+ <td><input name="city" size="18" value="@city" type="text" placeholder="City" maxlength="40" id="city">
 118+ <select id="state" name="state" value="@state" >
 119+ <option value=""></option>
 120+ <option value="AK">AK</option><option value="AL">AL</option><option value="AR">AR</option><option value="AZ">AZ</option><option value="CA">CA</option><option value="CO">CO</option><option value="CT">CT</option><option value="DC">DC</option><option value="DE">DE</option><option value="FL">FL</option><option value="GA">GA</option><option value="HI">HI</option><option value="IA">IA</option><option value="ID">ID</option><option value="IL">IL</option><option value="IN">IN</option><option value="KS">KS</option><option value="KY">KY</option><option value="LA">LA</option><option value="MA">MA</option><option value="MD">MD</option><option value="ME">ME</option><option value="MI">MI</option><option value="MN">MN</option><option value="MO">MO</option><option value="MS">MS</option><option value="MT">MT</option><option value="NC">NC</option><option value="ND">ND</option><option value="NE">NE</option><option value="NH">NH</option><option value="NJ">NJ</option><option value="NM">NM</option><option value="NV">NV</option><option value="NY">NY</option><option value="OH">OH</option><option value="OK">OK</option><option value="OR">OR</option><option value="PA">PA</option><option value="PR">PR</option><option value="RI">RI</option><option value="SC">SC</option><option value="SD">SD</option><option value="TN">TN</option><option value="TX">TX</option><option value="UT">UT</option><option value="VA">VA</option><option value="VT">VT</option><option value="WA">WA</option><option value="WI">WI</option><option value="WV">WV</option><option value="WY">WY</option><option value="AA">AA</option><option value="AE">AE</option><option value="AP">AP</option>
 121+ </select>
 122+ <input name="zip" size="5" value="@zip" type="text" placeholder="Zip code" maxlength="10" id="zip">
 123+ </td>
 124+ </tr>
 125+ <tr>
 126+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 127+ </tr>
 128+ <tr>
 129+ <td class="label"></td>
 130+ <td><input name="emailAdd" size="30" value="@emailAdd" type="text" placeholder="Email address" maxlength="64" id="emailAdd" class="fullwidth"></td>
 131+ </tr>
 132+ <tr>
 133+ <td class="label"></td>
 134+ <td>
 135+ <div id="mw-donate-submit-button">&nbsp;<br>
 136+ <input id="ccSubmitButton" name="ccSubmitButton" src="@script_path/extensions/DonationInterface/gateway_forms/includes/submit-donation-button.png" alt="Submit donation" type="image">
 137+ </div>
 138+ <div class="mw-donate-submessage" id="payflowpro_gateway-donate-submessage">
 139+ <img src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" style="vertical-align:baseline;margin-right:4px;">Your credit / debit card will be securely processed.
 140+ </div>
 141+ </td>
 142+ </tr>
 143+ </tbody>
 144+ </table>
 145+
 146+ </div>
 147+ <input type="hidden" name="gateway" value="payflowpro" id="gateway" />
 148+ <input type="hidden" name="returnto" value="Thank_You/en" />
 149+ <input type="hidden" value="0" name="PaypalRedirect" id="PaypalRedirect">
 150+ <input type="hidden" value="@amount" name="amount">
 151+ <input type="hidden" value="@currency_code" name="currency_code">
 152+ <input type="hidden" value="US" name="country" id="country" />
 153+ <input type="hidden" value="@expiration" name="expiration" id="expiration"/>
 154+ <input type="hidden" value="USD" name="currency_code" />
 155+ <input type="hidden" value="@utm_source" name="utm_source"/>
 156+ <input type="hidden" value="@utm_medium" name="utm_medium"/>
 157+ <input type="hidden" value="@utm_campaign" name="utm_campaign"/>
 158+ <input type="hidden" value="@language" name="language"/>
 159+ <input type="hidden" value="@referrer" name="referrer"/>
 160+ <input type="hidden" value="@comment" name="comment"/>
 161+ <input type="hidden" value="@comment-option" name="comment-option"/>
 162+ <input type="hidden" value="1 " name="email-opt"/>
 163+ <input type="hidden" value="@token" name="token"/>
 164+ <input type="hidden" value="@order_id" name="order_id"/>
 165+ <input type="hidden" value="@numAttempt" name="numAttempt"/>
 166+ <input type="hidden" value="@contribution_tracking_id" name="contribution_tracking_id"/>
 167+ <input type="hidden" value="@data_hash" name="data_hash"/>
 168+ <input type="hidden" value="@owa_session" name="owa_session"/>
 169+ <input type="hidden" value="@owa_ref" name="owa_ref"/>
 170+ <!-- new required fields -->
 171+ <input type="hidden" value="@gateway" name="gateway"/>
 172+ <input type="hidden" value="cc" name="payment_method"/>
 173+ </form>
 174+ <div class="payflow-cc-form-section" id="payflowpro_gateway-donate-addl-info">
 175+ <div id="payflowpro_gateway-donate-addl-info-text">
 176+ <div style="text-align:center;">* * *</div>
 177+ <div class="">We do not store your credit card information, and your personal data is subject to our <a href="http://wikimediafoundation.org/wiki/Donor_policy">donor privacy policy</a>.</div><div class="">There are <a href="http://wikimediafoundation.org/wiki/Ways_to_Give/en">other ways to give</a>, including by check.</div>
 178+ <div class="">Questions or comments? Contact: <a href="mailto:donate@wikimedia.org">donate@wikimedia.org</a>
 179+ </div>
 180+ </div>
 181+ </div>
 182+ <div style="clear:both;"></div>
 183+ </div>
 184+ </td>
 185+ </tr>
 186+ </tbody>
 187+</table>
\ No newline at end of file
Property changes on: trunk/extensions/DonationInterface/payflowpro_gateway/forms/html/TwoStepTwoColumnLetter3-nolabels.html
___________________________________________________________________
Added: svn:eol-style
1188 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r103279MFT r103275, r103278awjrichards01:14, 16 November 2011

Status & tagging log