r102837 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102836‎ | r102837 | r102838 >
Date:01:16, 12 November 2011
Author:jamesur
Status:ok
Tags:
Comment:
ideal no address form
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/rtbt/rtbt-ideal-noadd.html (added) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/rtbt/rtbt-ideal-noadd.html
@@ -0,0 +1,163 @@
 2+<script type="text/javascript">
 3+ mw.loader.load('gc.form.rapidhtml.webitects.bt');
 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+<!--[if lt IE 7]>
 12+<script type="text/javascript">
 13+ mw.loader.load('gc.form.rapidhtml.webitects.ie6');
 14+</script>
 15+<style type="text/css">
 16+ body{
 17+ behavior: url("@script_path/skins/vector/csshover.min.htc");
 18+ }
 19+</style><![endif]-->
 20+<!--[if IE 7]>
 21+<style>
 22+ .gainlayout {
 23+ zoom: 1;
 24+ height: 1%;
 25+ }
 26+</style>
 27+<![endif]-->
 28+
 29+<div class="ltr">
 30+ <table id="layouttable">
 31+ <tr>
 32+ <td>
 33+ <div id="appeal">
 34+ <div id="appeal-content">
 35+ <h2 id="appeal-head"> <span class="mw-headline">{{LanguageSwitch|2011FR/@appeal/title|@language}}</span></h2>
 36+ <div id="appeal-body" class="plainlinks">{{LanguageSwitch|2011FR/@appeal/text|@language}}</div>
 37+ </div>
 38+ </div>
 39+ </td>
 40+ <td>
 41+ <div id="donate">
 42+ <div id="donate-content">
 43+ <div id="donate-body" style="padding: 0 1em;">
 44+ <form method="post" name="paypalcontribution">
 45+ <div id="step1header"><h3>%donate_interface-amount-legend% <span id="selected-amount"></span> <span class="mute" id="change-amount" style="display: none;">(<a href="#">%donate_interface-change%</a>)</span></h3></div>
 46+ <div id="step1wrapper" style="display: none;">
 47+ <div id="amtErrorMessages" class="small"></div>
 48+ <table id="amount-table-white">
 49+ <tr>
 50+ <td><label><input id="amountRadio0" type="radio" name="amountRadio" value="5" /> <span id="amountSpan0">5</span></label></td>
 51+ <td><label><input id="amountRadio1" type="radio" name="amountRadio" value="10" /> <span id="amountSpan1">10</span></label></td>
 52+ <td><label><input id="amountRadio2" type="radio" name="amountRadio" value="20" /> <span id="amountSpan2">20</span></label></td>
 53+ <td><label><input id="amountRadio3" type="radio" name="amountRadio" value="40" /> <span id="amountSpan3">40</span></label></td>
 54+ </tr>
 55+ <tr>
 56+ <td><label><input id="amountRadio4" type="radio" name="amountRadio" value="55" /> <span id="amountSpan4">55</span></label></td>
 57+ <td><label><input id="amountRadio5" type="radio" name="amountRadio" value="75" /> <span id="amountSpan5">75</span></label></td>
 58+ <td><label><input id="amountRadio6" type="radio" name="amountRadio" value="180" /> <span id="amountSpan6">180</span></label></td>
 59+ <td><input type="radio" name="amountRadio" id="input_amount_other" value="other" /> <label><span id="amountSpanOther"></span><input type="text" class="txt-sm hint" name="amountGiven" size="4" id="other-amount" title="%donate_interface-other%" placeholder="%donate_interface-other%" onfocus="this.form.input_amount_other.checked=true;"/></label></td>
 60+ </tr>
 61+ </table>
 62+ </div>
 63+
 64+
 65+ <div id="step2header"><h3>%donate_interface-billing-address% <span class="mute" id="change-billing" style="display: none;">(<a href="#">%donate_interface-change%</a>)</span></h3></div>
 66+ <div id="step2wrapper">
 67+ <div id="billing-content" class="gainlayout">
 68+ <div id="billingErrorMessages" class="small"></div>
 69+ <div id="paymentErrorMessages" class="small"></div>
 70+ <div class="name-fields">
 71+ <span class="name-first"><input class="txt" id="fname" name="fname" title="%donate_interface-donor-fname%" value="@fname" placeholder="%donate_interface-donor-fname%"/></span>
 72+ <span class="name-last"><input class="txt" id="lname" name="lname" title="%donate_interface-donor-lname%" value="@lname" placeholder="%donate_interface-donor-lname%"/></span>
 73+ </div>
 74+
 75+ <p><input class="txt" title="%donate_interface-donor-email%" id="emailAdd" name="emailAdd" value="@emailAdd" placeholder="%donate_interface-donor-email%"/> </p>
 76+ <table style="margin-top: 10px;" >
 77+ <tr><td>
 78+ <select style="margin-top: 15px;" id="issuer_id" name="issuer_id" value="@issuer_id">
 79+ <option value="">%donate_interface-rtbt-issuer_id%...</option>
 80+ <optgroup>
 81+ <option value="31">ABN AMRO</option>
 82+ <option value="91">Friesland Bank</option>
 83+ <option value="721">ING</option>
 84+ <option value="21">Rabobank</option>
 85+ <option value="751">SNS Bank</option>
 86+ </optgroup>
 87+ <optgroup label="%donate_interface-rtbt-issuer_id-longlist%">
 88+ <option value="761">ASN Bank</option>
 89+ <option value="771">RegioBank</option>
 90+ <option value="511">Triodos Bank</option>
 91+ <option value="161">Van Lanschot Bankiers</option>
 92+ </optgroup>
 93+ </select>
 94+
 95+ <div id="bt-continue" style="margin-top: 15px;"> <input class="btn" id="bt-continueBtn" type="button" value="%donate_interface-continue%" /></div>
 96+ </td><td>
 97+ <img style="margin-left: 25px;" src="@script_path/extensions/DonationInterface/gateway_forms/includes/iDEAL-klein.gif" alt="IDEAL klein">
 98+ </td></tr>
 99+ </table>
 100+
 101+ </div>
 102+ </div>
 103+
 104+
 105+ <input type="hidden" name="returnto" value="Thank_You/en" />
 106+ <input type="hidden" value="0" name="PaypalRedirect" id="PaypalRedirect">
 107+ <input type="hidden" value="@amount" name="amount" />
 108+ <input type="hidden" value="NL" name="country" id="country" />
 109+ <input type="hidden" value="EUR" name="currency_code" />
 110+ <input type="hidden" value="@utm_source" name="utm_source"/>
 111+ <input type="hidden" value="@utm_medium" name="utm_medium"/>
 112+ <input type="hidden" value="@utm_campaign" name="utm_campaign"/>
 113+ <input type="hidden" value="@language" name="language"/>
 114+ <input type="hidden" value="@referrer" name="referrer"/>
 115+ <input type="hidden" value="@comment" name="comment"/>
 116+ <input type="hidden" value="@comment-option" name="comment-option"/>
 117+ <input type="hidden" value="1" name="email-opt"/>
 118+ <input type="hidden" value="@token" name="token"/>
 119+ <input type="hidden" value="@order_id" name="order_id"/>
 120+ <input type="hidden" value="@numAttempt" name="numAttempt"/>
 121+ <input type="hidden" value="@contribution_tracking_id" name="contribution_tracking_id"/>
 122+ <input type="hidden" value="@data_hash" name="data_hash"/>
 123+ <input type="hidden" value="@owa_session" name="owa_session"/>
 124+ <input type="hidden" value="@owa_ref" name="owa_ref"/>
 125+ <!-- new required fields -->
 126+ <input type="hidden" value="@gateway" name="gateway"/>
 127+ <input type="hidden" value="@payment_method" name="payment_method"/>
 128+ <!-- required fields for bt and dd -->
 129+ <input type="hidden" value="rtbt" name="payment_method"/>
 130+ <input type="hidden" value="rtbt_ideal" name="payment_submethod"/>
 131+ <!-- required fields omitted above -->
 132+ <input type="hidden" value="XX" name="state"/>
 133+ </form>
 134+ <div id="where-content">
 135+ {{LanguageSwitch|2011FR/core-appeal-whitebox-nodiv|@language}}
 136+ </div>
 137+ </div>
 138+ </div>
 139+ <p id="informationsharing">%donate_interface-informationsharing|url%</p>
 140+ <table>
 141+ <tr>
 142+ <td>
 143+ <ul id="moreinfolinks">
 144+ <li><a href="http://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=Monthly_donations&language=@language&uselang=@language&country=@country">%donate_interface-monthly-donation%</a></li>
 145+ <li><a href="http://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=Ways_to_Give&language=@language&uselang=@language&country=@country">%donate_interface-otherways-short%</a></li>
 146+ <li><a href="http://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=FAQ&language=@language&uselang=@language&country=@country">%donate_interface-faqs%</a></li>
 147+ <!--<li><a href="">%donate_interface-tax-info%</a></li>--><!-- TODO: localize the link -->
 148+ </ul>
 149+ </td>
 150+ <td>@verisign_logo</td>
 151+ </tr>
 152+ </table>
 153+ </div>
 154+ </td>
 155+ </tr>
 156+ </table>
 157+
 158+
 159+
 160+</div>
 161+
 162+<!-- Wikimedia Project logo
 163+<li id="footer-copyrightico"><a href="https://www.mediawiki.org//wikimediafoundation.org/"><img src="//bits.wikimedia.org/images/wikimedia-button.png" width="88" height="31" alt="Wikimedia Foundation"/></a></li>
 164+ -->

Follow-up revisions

RevisionCommit summaryAuthorDate
r102840Followup r102837, adding LandingCheck link for tax infoawjrichards01:51, 12 November 2011
r102842MFT r102576, r102577, r102579, r102581, r102804, r102805, r102812, r102819, r...awjrichards02:20, 12 November 2011

Status & tagging log