Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/demo.html |
— | — | @@ -0,0 +1,162 @@ |
| 2 | +<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td id="appeal" valign="top"><h2 id="appeal-head"> <span class="mw-headline" id="An_appeal_from_Wikipedia_founder_Jimmy_Wales">An appeal from Wikipedia founder Jimmy Wales</span></h2> |
| 3 | +<div class="plainlinks" id="appeal-body">I got a lot of funny looks ten years ago when I started talking to people about Wikipedia. |
| 4 | +<p>Let’s just say some people were skeptical of the notion that volunteers from all across the world could come together to create a remarkable pool of human knowledge – all for the simple purpose of sharing.</p> |
| 5 | +<p>No ads. No agenda. No strings attached.</p> |
| 6 | +<p>A decade after its founding, nearly 400 million people use Wikipedia and its sister sites every month - almost a third of the Internet-connected world.</p> |
| 7 | +<p>It is the 5th most popular website in the world but Wikipedia isn’t anything like a commercial website. It is a community creation, written by volunteers making one entry at a time. You are part of our community. And I’m writing today to ask you to protect and sustain Wikipedia.</p> |
| 8 | +<p>Together, we can keep it free of charge and free of advertising. We can keep it open – you can use the information in Wikipedia any way you want. We can keep it growing – spreading knowledge everywhere, and inviting participation from everyone.</p> |
| 9 | + |
| 10 | +<p>Each year at this time, we reach out to ask you and others all across the Wikimedia community to help sustain our joint enterprise with a modest donation of $20, $35, $50 or more.</p> |
| 11 | +<p>If you value Wikipedia as a source of information – and a source of inspiration – I hope you’ll choose to act right now.</p> |
| 12 | +<p>All the best,</p> |
| 13 | +<p><b>Jimmy Wales</b></p> |
| 14 | +<p>Founder, Wikipedia</p> |
| 15 | +<p>P.S. Wikipedia is about the power of people like us to do extraordinary things. People like us write Wikipedia, one word at a time. People like us fund it, one donation at a time. It's proof of our collective potential to change the world.</p> |
| 16 | +<p><br /> |
| 17 | +</p> |
| 18 | +</div> |
| 19 | +</td><td id="donate" valign="top"> |
| 20 | +<noscript><div id="noscript"><p id="noscript-msg">It appears that you do not have JavaScript enabled, or your browser does not support it. |
| 21 | +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></div></noscript> |
| 22 | + |
| 23 | +<h2 id="donate-head">Make your donation now</h2> |
| 24 | +<p class='creditcard-error-msg'>#general</p> |
| 25 | +<p class='creditcard-error-msg'>#retryMsg</p> |
| 26 | +<form name="payment" method="post" action="/index.php/Special:PayflowProGateway?form_name=RapidHtml&ffname=demo" autocomplete="off"> |
| 27 | + <div id="payflowpro_gateway-personal-info"><table id="payflow-table-donor"> |
| 28 | + <tr> |
| 29 | + <td colspan=2><span class="creditcard-error-msg">#fname</span></td> |
| 30 | + </tr> |
| 31 | + <tr> |
| 32 | + <td colspan=2><span class="creditcard-error-msg">#lname</span></td> |
| 33 | + </tr> |
| 34 | + <tr> |
| 35 | + <td class="label"><label for="fname">Name</label></td> |
| 36 | + <td> |
| 37 | + <input name="fname" size="30" value="@fname" type="text" onfocus="clearField( this, 'First' )" maxlength="25" class="required" id="fname" /> |
| 38 | + <input name="lname" size="30" value="@lname" type="text" onfocus="clearField( this, 'Last' )" maxlength="25" id="lname" /> |
| 39 | + </td> |
| 40 | + </tr> |
| 41 | + <tr> |
| 42 | + <td colspan=2><span class="creditcard-error-msg">#emailAdd</span></td> |
| 43 | + </tr> |
| 44 | + <tr> |
| 45 | + <td class="label"><label for="emailAdd">Email address</label></td> |
| 46 | + <td><input name="emailAdd" size="30" value="@emailAdd" type="text" maxlength="64" id="emailAdd" class="fullwidth" /></td> |
| 47 | + </tr> |
| 48 | + <tr> |
| 49 | + <td colspan="2"><span class="creditcard-error-msg">#amount</span></td> |
| 50 | + </tr> |
| 51 | + <tr> |
| 52 | + <td class="label"><label for="amount">Amount</label></td> |
| 53 | + <td> |
| 54 | + <input name="amount" size="7" value="@amount" type="text" maxlength="10" id="amount" /> |
| 55 | + <select name="currency_code" id="input_currency_code"> |
| 56 | + <option value="USD">USD: U.S. Dollar</option><option value="GBP">GBP: British Pound</option><option value="EUR">EUR: Euro</option><option value="AUD">AUD: Australian Dollar</option><option value="CAD">CAD: Canadian Dollar</option><option value="JPY">JPY: Japanese Yen</option> |
| 57 | + </select> |
| 58 | + </td> |
| 59 | + </tr> |
| 60 | + <tr> |
| 61 | + <td /> |
| 62 | + <td><img src="/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" /></td> |
| 63 | + </tr> |
| 64 | + <tr> |
| 65 | + <td class="label"><label for="card_num">Card number</label></td> |
| 66 | + <td><input name="card_num" size="30" value="@card_num" type="text" maxlength="100" id="card_num" class="fullwidth" autocomplete="off" /></td> |
| 67 | + </tr> |
| 68 | + <tr> |
| 69 | + <td colspan=2><span class="creditcard-error-msg">#cvv</span></td> |
| 70 | + <tr> |
| 71 | + <td class="label"><label for="cvv">Security code</label></td> |
| 72 | + <td><input name="cvv" size="5" value="@cvv" type="text" maxlength="10" id="cvv" autocomplete="off" /> <a href="javascript:PopupCVV();">Where is this?</a></td> |
| 73 | + </tr> |
| 74 | + <tr> |
| 75 | + <td class="label"><label for="expiration">Expiration date</label></td> |
| 76 | + <td> |
| 77 | + <select name="mos" id="expiration"> |
| 78 | + <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> |
| 79 | + </select> |
| 80 | + <select name="year" id="year"> |
| 81 | + <option value="2010">2010</option><option value="2011">2011</option><option value="2012">2012</option><option value="2013">2013</option><option value="2014">2014</option><option value="2015">2015</option><option value="2016">2016</option><option value="2017">2017</option><option value="2018">2018</option><option value="2019">2019</option><option value="2020">2020</option> |
| 82 | + </select> |
| 83 | + </td> |
| 84 | + </tr> |
| 85 | + <tr> |
| 86 | + <td colspan=2><span class="creditcard-error-msg">#street</span></td> |
| 87 | + </tr> |
| 88 | + <tr> |
| 89 | + <td class="label"><label for="street">Street</label></td> |
| 90 | + <td><input name="street" size="30" value="@street" type="text" maxlength="100" id="street" class="fullwidth" /></td> |
| 91 | + </tr> |
| 92 | + <tr> |
| 93 | + <td colspan=2><span class="creditcard-error-msg">#city</span></td> |
| 94 | + </tr> |
| 95 | + <tr> |
| 96 | + <td class="label"><label for="city">City</label></td> |
| 97 | + <td><input name="city" size="30" value="@city" type="text" maxlength="40" id="city" class="fullwidth" /></td> |
| 98 | + </tr> |
| 99 | + <tr> |
| 100 | + <td colspan=2><span class="creditcard-error-msg">#state</span></td> |
| 101 | + </tr> |
| 102 | + <tr> |
| 103 | + <td class="label"><label for="state">State</label></td> |
| 104 | + <td> |
| 105 | + <select name="state" id="state"> |
| 106 | + <option value="YY">Select a State</option><option value="XX">Outside the U.S.</option><option value="AK">Alaska</option><option value="AL">Alabama</option><option value="AR">Arkansas</option><option value="AZ">Arizona</option><option value="CA">California</option><option value="CO">Colorado</option><option value="CT">Connecticut</option><option value="DC">Washington D.C.</option><option value="DE">Delaware</option><option value="FL">Florida</option><option value="GA">Georgia</option><option value="HI">Hawaii</option><option value="IA">Iowa</option><option value="ID">Idaho</option><option value="IL">Illinois</option><option value="IN">Indiana</option><option value="KS">Kansas</option><option value="KY">Kentucky</option><option value="LA">Louisiana</option><option value="MA">Massachusetts</option><option value="MD">Maryland</option><option value="ME">Maine</option><option value="MI">Michigan</option><option value="MN">Minnesota</option><option value="MO">Missouri</option><option value="MS">Mississippi</option><option value="MT">Montana</option><option value="NC">North Carolina</option><option value="ND">North Dakota</option><option value="NE">Nebraska</option><option value="NH">New Hampshire</option><option value="NJ">New Jersey</option><option value="NM">New Mexico</option><option value="NV">Nevada</option><option value="NY">New York</option><option value="OH">Ohio</option><option value="OK">Oklahoma</option><option value="OR">Oregon</option><option value="PA">Pennsylvania</option><option value="PR">Puerto Rico</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option><option value="SD">South Dakota</option><option value="TN">Tennessee</option><option value="TX">Texas</option><option value="UT">Utah</option><option value="VA">Virginia</option><option value="VT">Vermont</option><option value="WA">Washington</option><option value="WI">Wisconsin</option><option value="WV">West Virginia</option><option value="WY">Wyoming</option><option value="AA">AA</option><option value="AE">AE</option><option value="AP">AP</option> |
| 107 | + </select> |
| 108 | + </td> |
| 109 | + </tr> |
| 110 | + <tr> |
| 111 | + <td colspan=2><span class="creditcard-error-msg">#zip</span></td> |
| 112 | + </tr> |
| 113 | + <tr> |
| 114 | + <td class="label"><label for="zip">Postal code</label></td> |
| 115 | + <td><input name="zip" size="30" value="@zip" type="text" maxlength="9" id="zip" class="fullwidth" /></td> |
| 116 | + </tr> |
| 117 | + <tr> |
| 118 | + <td colspan=2><span class="creditcard-error-msg">#country</span></td> |
| 119 | + </tr> |
| 120 | + <tr> |
| 121 | + <td class="label"><label for="country">Country/Region</label></td> |
| 122 | + <td> |
| 123 | + <select name="country" id="country" onchange="return disableStates( this )"> |
| 124 | + <option value="004">Afghanistan</option><option value="008">Albania</option><option value="012">Algeria</option><option value="016">American Samoa</option><option value="020">Andorra</option><option value="024">Angola</option><option value="660">Anguilla</option><option value="010">Antarctica</option><option value="028">Antigua and Barbuda</option><option value="032">Argentina</option><option value="051">Armenia</option><option value="533">Aruba</option><option value="036">Australia</option><option value="040">Austria</option><option value="031">Azerbaijan</option><option value="044">Bahamas</option><option value="048">Bahrain</option><option value="050">Bangladesh</option><option value="052">Barbados</option><option value="112">Belarus</option><option value="056">Belgium</option><option value="084">Belize</option><option value="204">Benin</option><option value="060">Bermuda</option><option value="064">Bhutan</option><option value="068">Bolivia, Plurinational State of</option><option value="070">Bosnia and Herzegovina</option><option value="072">Botswana</option><option value="074">Bouvet Island</option><option value="076">Brazil</option><option value="086">British Indian Ocean Territory</option><option value="096">Brunei Darussalam</option><option value="100">Bulgaria</option><option value="854">Burkina Faso</option><option value="108">Burundi</option><option value="116">Cambodia</option><option value="120">Cameroon</option><option value="124">Canada</option><option value="132">Cape Verde</option><option value="136">Cayman Islands</option><option value="140">Central African Republic</option><option value="148">Chad</option><option value="152">Chile</option><option value="156">China</option><option value="162">Christmas Island</option><option value="166">Cocos (Keeling) Islands</option><option value="017">Colombia</option><option value="174">Comoros</option><option value="178">Congo</option><option value="180">Congo, the Democratic Republic of the</option><option value="184">Cook Islands</option><option value="188">Costa Rica</option><option value="384">Cote D'Ivoire</option><option value="191">Croatia</option><option value="192">Cuba</option><option value="196">Cyprus</option><option value="203">Czech Republic</option><option value="208">Denmark</option><option value="262">Djibouti</option><option value="212">Dominica</option><option value="214">Dominican Republic</option><option value="626">East Timor</option><option value="218">Ecuador</option><option value="818">Egypt</option><option value="222">El Salvador</option><option value="226">Equatorial Guinea</option><option value="232">Eritrea</option><option value="233">Estonia</option><option value="231">Ethiopia</option><option value="238">Falkland Islands (Malvinas)</option><option value="234">Faroe Islands</option><option value="242">Fiji</option><option value="246">Finland</option><option value="250">France</option><option value="254">French Guiana</option><option value="258">French Polynesia</option><option value="260">French Southern Territories</option><option value="266">Gabon</option><option value="270">Gambia</option><option value="268">Georgia</option><option value="276">Germany</option><option value="288">Ghana</option><option value="292">Gibraltar</option><option value="300">Greece</option><option value="304">Greenland</option><option value="308">Grenada</option><option value="312">Guadeloupe</option><option value="316">Guam</option><option value="320">Guatemala</option><option value="324">Guinea</option><option value="624">Guinea-Bissau</option><option value="328">Guyana</option><option value="332">Haiti</option><option value="334">Heard Island and McDonald Islands</option><option value="340">Honduras</option><option value="344">Hong Kong</option><option value="348">Hungary</option><option value="352">Iceland</option><option value="356">India</option><option value="360">Indonesia</option><option value="364">Iran, Islamic Republic of</option><option value="368">Iraq</option><option value="372">Ireland</option><option value="376">Israel</option><option value="380">Italy</option><option value="388">Jamaica</option><option value="392">Japan</option><option value="400">Jordan</option><option value="398">Kazakhstan</option><option value="404">Kenya</option><option value="296">Kiribati</option><option value="408">Korea, Democratic People's Republic of</option><option value="410">Korea, Republic of</option><option value="414">Kuwait</option><option value="417">Kyrgyzstan</option><option value="418">Laos</option><option value="428">Latvia</option><option value="422">Lebanon</option><option value="426">Lesotho</option><option value="430">Liberia</option><option value="434">Libyan Arab Jamahiriya</option><option value="438">Liechtenstein</option><option value="440">Lithuania</option><option value="442">Luxembourg</option><option value="446">Macao</option><option value="807">Macedonia</option><option value="450">Madagascar</option><option value="454">Malawi</option><option value="458">Malaysia</option><option value="462">Maldives</option><option value="466">Mali</option><option value="470">Malta</option><option value="584">Marshall Islands</option><option value="474">Martinique</option><option value="478">Mauritania</option><option value="480">Mauritius</option><option value="175">Mayotte</option><option value="484">Mexico</option><option value="583">Micronesia, Federated States of</option><option value="498">Moldova, Republic of</option><option value="492">Monaco</option><option value="496">Mongolia</option><option value="499">Montenegro</option><option value="500">Montserrat</option><option value="504">Morocco</option><option value="508">Mozambique</option><option value="104">Myanmar</option><option value="516">Namibia</option><option value="520">Nauru</option><option value="524">Nepal</option><option value="528">Netherlands</option><option value="530">Netherlands Antilles</option><option value="540">New Caledonia</option><option value="554">New Zealand</option><option value="558">Nicaragua</option><option value="562">Niger</option><option value="566">Nigeria</option><option value="570">Niue</option><option value="574">Norfolk Island</option><option value="580">Northern Mariana Islands</option><option value="578">Norway</option><option value="512">Oman</option><option value="586">Pakistan</option><option value="585">Palau</option><option value="591">Panama</option><option value="598">Papua New Guinea</option><option value="600">Paraguay</option><option value="604">Peru</option><option value="608">Philippines</option><option value="612">Pitcairn</option><option value="616">Poland</option><option value="620">Portugal</option><option value="630">Puerto Rico</option><option value="634">Qatar</option><option value="642">Romania</option><option value="643">Russian Federation</option><option value="646">Rwanda</option><option value="654">Saint Helena</option><option value="659">Saint Kitts and Nevis</option><option value="662">Saint Lucia</option><option value="666">Saint Pierre and Miquelon</option><option value="670">Saint Vincent and the Grenadines</option><option value="674">San Marino</option><option value="678">Sao Tome and Principe</option><option value="682">Saudi Arabia</option><option value="686">Senegal</option><option value="688">Serbia</option><option value="690">Seychelles</option><option value="694">Sierra Leone</option><option value="702">Singapore</option><option value="703">Slovakia</option><option value="705">Slovenia</option><option value="090">Solomon Islands</option><option value="706">Somalia</option><option value="710">South Africa</option><option value="724">Spain</option><option value="144">Sri Lanka</option><option value="736">Sudan</option><option value="740">Suriname</option><option value="744">Svalbard and Jan Mayen</option><option value="748">Swaziland</option><option value="752">Sweden</option><option value="756">Switzerland</option><option value="760">Syrian Arab Republic</option><option value="158">Taiwan</option><option value="762">Tajikistan</option><option value="834">Tanzania, United Republic of</option><option value="764">Thailand</option><option value="768">Togo</option><option value="772">Tokelau</option><option value="776">Tonga</option><option value="780">Trinidad and Tobago</option><option value="788">Tunisia</option><option value="792">Turkey</option><option value="795">Turkmenistan</option><option value="796">Turks and Caicos Islands</option><option value="798">Tuvalu</option><option value="800">Uganda</option><option value="804">Ukraine</option><option value="784">United Arab Emirates</option><option value="826">United Kingdom</option><option value="840">United States</option><option value="581">United States Minor Outlying Islands</option><option value="858">Uruguay</option><option value="860">Uzbekistan</option><option value="548">Vanuatu</option><option value="336">Vatican City State</option><option value="862">Venezuela, Bolivarian Republic of</option><option value="704">Viet Nam</option><option value="092">Virgin Islands, British</option><option value="850">Virgin Islands, U.S.</option><option value="876">Wallis and Futuna</option><option value="732">Western Sahara</option><option value="882">Western Samoa</option><option value="887">Yemen</option><option value="894">Zambia</option><option value="716">Zimbabwe</option> |
| 125 | + </select> |
| 126 | + </td> |
| 127 | + </tr> |
| 128 | + </table> |
| 129 | + </div> |
| 130 | + <!-- captcha --> |
| 131 | + @captcha |
| 132 | + <!-- end captcha --> |
| 133 | + <div id="payflowpro_gateway-form-submit"> |
| 134 | + <div id="mw-donate-submit-button"> |
| 135 | + <input class="button-plain" value="Donate by Credit Card" type="submit" /> |
| 136 | + </div> |
| 137 | + <div class="mw-donate-submessage" id="payflowpro_gateway-donate-submessage"> |
| 138 | + Your credit card will be securely processed. |
| 139 | + </div> |
| 140 | + </div> |
| 141 | + <input type="hidden" value="@utm_source" name="utm_source" /> |
| 142 | + <input type="hidden" value="@utm_medium" name="utm_medium" /> |
| 143 | + <input type="hidden" value="@utm_campaign" name="utm_campaign" /> |
| 144 | + <input type="hidden" value="@language" name="language" /> |
| 145 | + <input type="hidden" value="@referrer" name="referrer" /> |
| 146 | + <input type="hidden" value="@comment" name="comment" /> |
| 147 | + <input type="hidden" value="@comment-option" name="comment-option" /> |
| 148 | + <input type="hidden" value="@email-opt" name="email-opt" /> |
| 149 | + <input type="hidden" value="CreditCard" name="process" /> |
| 150 | + <input type="hidden" value="processed" name="payment_method" /> |
| 151 | + <input type="hidden" value="@token" name="token" /> |
| 152 | + <input type="hidden" value="@order_id" name="order_id" /> |
| 153 | + <input type="hidden" value="@numAttempt" name="numAttempt" /> |
| 154 | + <input type="hidden" value="@contribution_tracking_id" name="contribution_tracking_id" /> |
| 155 | + <input type="hidden" value="@data_hash" name="data_hash" /> |
| 156 | + <input type="hidden" value="@action" name="action" /> |
| 157 | + <input type="hidden" value="@owa_session" name="owa_session" /> |
| 158 | + <input type="hidden" value="@owa_ref" name="owa_ref" /> |
| 159 | +</form> |
| 160 | +<div class="payflow-cc-form-section" id="payflowpro_gateway-donate-addl-info"><div id="payflowpro_gateway-donate-addl-info-secure-logos"><p class=""><img src="/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate-nonanimated.png"></p></div><div id="payflowpro_gateway-donate-addl-info-text"><p class=""><a href="http://wikimediafoundation.org/wiki/Ways_to_Give/en">Other ways to give</a></p><p class="">We do not store your credit card information, and your personal data is subject to our <a href="http://wikimediafoundation.org/wiki/Donor_Privacy_Policy">privacy policy</a>.</p><p class="">Questions or comments? Contact: <a href="mailto:donate@wikimedia.org">donate@wikimedia.org</a></p></div></div></td></tr></table><div class="printfooter"> |
| 161 | + |
| 162 | +Retrieved from "<a href="https://payments.wikimedia.org/index.php/Special:PayflowProGateway">https://payments.wikimedia.org/index.php/Special:PayflowProGateway</a>"</div> |
| 163 | + |
\ No newline at end of file |
Property changes on: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/demo.html |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 164 | + native |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/globalcollect_test.html |
— | — | @@ -0,0 +1,240 @@ |
| 2 | +<link rel="stylesheet" href="@script_path/skins/vector/main-ltr.css" /> |
| 3 | +<link rel="stylesheet" href="@script_path/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoStepTwoColumnLetter3.css" /> |
| 4 | +<link rel="stylesheet" href="@script_path/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.css" /> |
| 5 | +<style> |
| 6 | + .step2hidden{ display:none; } |
| 7 | + #footer-places { display:none; } |
| 8 | +</style> |
| 9 | + |
| 10 | +<script type="text/javascript"> |
| 11 | +function formCheck( ccform ) { |
| 12 | + var msg = [ 'EmailAdd', 'Fname', 'Lname', 'Street', 'City', 'Zip' ]; |
| 13 | + |
| 14 | + var fields = ["emailAdd","fname","lname","street","city","zip" ], |
| 15 | + numFields = fields.length, |
| 16 | + i, |
| 17 | + output = '', |
| 18 | + currField = ''; |
| 19 | + |
| 20 | + for( i = 0; i < numFields; i++ ) { |
| 21 | + if( document.getElementById( fields[i] ).value == '' ) { |
| 22 | + currField = window['payflowproGatewayErrorMsg'+ msg[i]]; |
| 23 | + output += payflowproGatewayErrorMsgJs + ' ' + currField + '.\r\n'; |
| 24 | + } |
| 25 | + } |
| 26 | + |
| 27 | + if (document.getElementById('fname').value == '$first') { |
| 28 | + output += payflowproGatewayErrorMsgJs + ' first name.\r\n'; |
| 29 | + } |
| 30 | + if (document.getElementById('lname').value == '$last') { |
| 31 | + output += payflowproGatewayErrorMsgJs + ' last name.\r\n'; |
| 32 | + } |
| 33 | + if (document.getElementById('street').value == '$street') { |
| 34 | + output += payflowproGatewayErrorMsgJs + ' street address.\r\n'; |
| 35 | + } |
| 36 | + if (document.getElementById('city').value == '$city') { |
| 37 | + output += payflowproGatewayErrorMsgJs + ' city.\r\n'; |
| 38 | + } |
| 39 | + if (document.getElementById('zip').value == '$zip') { |
| 40 | + output += payflowproGatewayErrorMsgJs + ' zip code.\r\n'; |
| 41 | + } |
| 42 | + |
| 43 | + var stateField = document.getElementById( 'state' ); |
| 44 | + if( stateField.options[stateField.selectedIndex].value == '' ) { |
| 45 | + output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsgState'] + '.\r\n'; |
| 46 | + } |
| 47 | + |
| 48 | + // validate email address |
| 49 | + var apos = document.payment.emailAdd.value.indexOf("@"); |
| 50 | + var dotpos = document.payment.emailAdd.value.lastIndexOf("."); |
| 51 | + |
| 52 | + if( apos < 1 || dotpos-apos < 2 ) { |
| 53 | + output += payflowproGatewayErrorMsgEmail; |
| 54 | + } |
| 55 | + |
| 56 | + if( output ) { |
| 57 | + alert( output ); |
| 58 | + return false; |
| 59 | + } |
| 60 | +} |
| 61 | +</script> |
| 62 | + |
| 63 | +<table width="100%" cellspacing="0" cellpadding="0" border="0"> |
| 64 | + <tr> |
| 65 | + <td id="appeal" valign="top"> |
| 66 | + <div style="margin:9em 0;"> |
| 67 | + <table class="quote" |
| 68 | + style="margin: auto; border-collapse: collapse; border-style: none; background-color: transparent; width: auto; margin: 10px auto;"> |
| 69 | + <tr> |
| 70 | + <td width="20" valign="top" |
| 71 | + style="color: rgb(178, 183, 242); font-size: 40px; font-family: 'Times New Roman',serif; font-weight: bold; text-align: left; padding: 10px;"> |
| 72 | + “ |
| 73 | + </td> |
| 74 | + <td valign="top" style="padding: 4px 5px; font-size: 26px; line-height: 30px;">Imagine a |
| 75 | + world in which every single person on the planet has free access to the sum of all |
| 76 | + human knowledge. |
| 77 | + </td> |
| 78 | + <td width="20" valign="bottom" |
| 79 | + style="color: rgb(178, 183, 242); font-size: 40px; font-family: 'Times New Roman',serif; font-weight: bold; text-align: right; padding: 10px;"> |
| 80 | + ” |
| 81 | + </td> |
| 82 | + </tr> |
| 83 | + <tr> |
| 84 | + <td style="padding-right: 4%;" colspan="3"> |
| 85 | + <p style="font-size: 18px; text-align: right;"><cite |
| 86 | + style="font-style: normal;">—Jimmy Wales, Founder of Wikipedia</cite> |
| 87 | + </p> |
| 88 | + </td> |
| 89 | + </tr> |
| 90 | + </table> |
| 91 | + </div> |
| 92 | + </td> |
| 93 | + <td id="donate" valign="top"> |
| 94 | + <noscript> |
| 95 | + <div id="noscript"><p id="noscript-msg">It appears that you do not have JavaScript enabled, or |
| 96 | + your browser does not support it. |
| 97 | + In order to provide a safe, secure and pleasant experience, our donation form requires |
| 98 | + JavaScript.</p> |
| 99 | + |
| 100 | + <p id="noscript-redirect-msg">If you cannot or do not wish to enable JavaScript, you may |
| 101 | + still contribute by visiting:</p> |
| 102 | + |
| 103 | + <p id="noscript-redirect-link"><a href="http://wikimediafoundation.org/wiki/DonateNonJS/en">http://wikimediafoundation.org/wiki/DonateNonJS/en</a> |
| 104 | + </p></div> |
| 105 | + </noscript> |
| 106 | + <h2 id="donate-head">Please complete your donation below ...</h2> |
| 107 | + |
| 108 | + <p class='creditcard-error-msg'>#general#retryMsg</p> |
| 109 | + |
| 110 | + <form name="payment" method="post" |
| 111 | + action="@action" |
| 112 | + onsubmit="return formCheck(this)" autocomplete="off"> |
| 113 | + <div id="payflowpro_gateway-personal-info"> |
| 114 | + <table id="payflow-table-donor"> |
| 115 | + <tr> |
| 116 | + <td colspan="2"> |
| 117 | + <table cellspacing="0" cellpadding="4" border="1" id="donation_amount"> |
| 118 | + <tr> |
| 119 | + <td class="amount_header">Description</td> |
| 120 | + <td class="amount_header" style="text-align:right;width:75px;">Amount |
| 121 | + </td> |
| 122 | + |
| 123 | + </tr> |
| 124 | + <tr> |
| 125 | + <td class="amount_data">Donation</td> |
| 126 | + <td class="amount_data" style="text-align:right;width:75px;">$ @amount<input |
| 127 | + type="hidden" value="@amount" name="amount"/></td> |
| 128 | + |
| 129 | + </tr> |
| 130 | + </table> |
| 131 | + </td> |
| 132 | + </tr> |
| 133 | + <tr class="step2hidden"> |
| 134 | + <td colspan="2"><h3 class="cc_header">Billing information<img |
| 135 | + src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" |
| 136 | + style="vertical-align:baseline;margin-left:8px;"/></h3></td> |
| 137 | + </tr> |
| 138 | + <tr> |
| 139 | + <td class="label"></td> |
| 140 | + <td><img src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" style="padding-top: 10px;"/> |
| 141 | + </td> |
| 142 | + </tr> |
| 143 | + <tr> |
| 144 | + <td colspan="2"><span class="creditcard-error-msg">#card#card_num</span></td> |
| 145 | + </tr> |
| 146 | + <tr> |
| 147 | + <td class="label"><label for="card_num">Card number</label></td> |
| 148 | + <td><input name="card_num" size="30" value="@card_num" type="text" maxlength="100" |
| 149 | + id="card_num" class="fullwidth" autocomplete="off"/></td> |
| 150 | + </tr> |
| 151 | + <tr> |
| 152 | + <td class="label"><label for="expiration">Expiration date</label></td> |
| 153 | + <td><select name="mos" id="expiration"> |
| 154 | + <option value="01">1 (January)</option> |
| 155 | + <option value="02">2 (February)</option> |
| 156 | + <option value="03">3 (March)</option> |
| 157 | + <option value="04">4 (April)</option> |
| 158 | + <option value="05">5 (May)</option> |
| 159 | + <option value="06">6 (June)</option> |
| 160 | + <option value="07">7 (July)</option> |
| 161 | + <option value="08">8 (August)</option> |
| 162 | + <option value="09">9 (September)</option> |
| 163 | + <option value="10">10 (October)</option> |
| 164 | + <option value="11">11 (November)</option> |
| 165 | + <option value="12">12 (December)</option> |
| 166 | + </select> / <select name="year" id="year"> |
| 167 | + <option value="2011">2011</option> |
| 168 | + <option value="2012">2012</option> |
| 169 | + <option value="2013">2013</option> |
| 170 | + <option value="2014">2014</option> |
| 171 | + <option value="2015">2015</option> |
| 172 | + <option value="2016">2016</option> |
| 173 | + <option value="2017">2017</option> |
| 174 | + <option value="2018">2018</option> |
| 175 | + <option value="2019">2019</option> |
| 176 | + <option value="2020">2020</option> |
| 177 | + <option value="2021">2021</option> |
| 178 | + </select></td> |
| 179 | + </tr> |
| 180 | + <tr> |
| 181 | + <td colspan=2><span class="creditcard-error-msg">#cvv</span></td> |
| 182 | + <tr> |
| 183 | + <td class="label"><label for="cvv">Security code</label></td> |
| 184 | + <td><input name="cvv" size="5" value="@cvv" type="text" maxlength="10" id="cvv" |
| 185 | + autocomplete="off"/> <a href="javascript:PopupCVV();">Where is this?</a> |
| 186 | + </td> |
| 187 | + </tr> |
| 188 | + <tr> |
| 189 | + <td class="label"></td> |
| 190 | + <td> |
| 191 | + <div id="mw-donate-submit-button"><input style="margin-top:19px;" |
| 192 | + src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png" alt="Submit donation" type="image"/></div> |
| 193 | + <div class="mw-donate-submessage" id="payflowpro_gateway-donate-submessage"><img src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" style="vertical-align:baseline;margin-right:4px;">Your credit / debit card will be securely processed.</div> |
| 194 | + </td> |
| 195 | + </tr> |
| 196 | + </table> |
| 197 | + </div> |
| 198 | + <input type="hidden" name="emailAdd" size="30" value="@emailAdd" onfocus="clearField( this, 'Email address' )" maxlength="64"id="emailAdd" class="fullwidth"/> |
| 199 | + <input type="hidden" name="fname" size="30" value="@fname"onfocus="clearField( this, 'First name' )" maxlength="25" class="required" id="fname"/> |
| 200 | + <input type="hidden" name="lname" size="30" value="@lname" onfocus="clearField( this, 'Last name' )" maxlength="25" id="lname"/> |
| 201 | + <input type="hidden" name="street" size="30" value="@street" onfocus="clearField( this, 'Street' )" maxlength="100" id="street" class="fullwidth"/> |
| 202 | + <input type="hidden" name="city" size="18" value="@city" onfocus="clearField( this, 'City' )" maxlength="40" id="city"/> |
| 203 | + <input type="hidden" name="state" size="18" value="@state" maxlength="40" id="state"/> |
| 204 | + <input type="hidden" name="zip" size="5" value="@zip" onfocus="clearField( this, 'Zip code' )"maxlength="10" id="zip"/> |
| 205 | + <input type="hidden" name="country" value="@country"/> |
| 206 | + |
| 207 | + <input type="hidden" value="@utm_source" name="utm_source"/> |
| 208 | + <input type="hidden" value="@utm_medium" name="utm_medium"/> |
| 209 | + <input type="hidden" value="@utm_campaign" name="utm_campaign"/> |
| 210 | + <input type="hidden" value="@language" name="language"/> |
| 211 | + <input type="hidden" value="@referrer" name="referrer"/> |
| 212 | + <input type="hidden" value="@comment" name="comment"/> |
| 213 | + <input type="hidden" value="@comment-option" name="comment-option"/> |
| 214 | + <input type="hidden" value="@email-opt" name="email-opt"/> |
| 215 | + <input type="hidden" value="processed" name="payment_method"/> |
| 216 | + <input type="hidden" value="@token" name="token"/> |
| 217 | + <input type="hidden" value="@order_id" name="order_id"/> |
| 218 | + <input type="hidden" value="@numAttempt" name="numAttempt"/> |
| 219 | + <input type="hidden" value="@contribution_tracking_id" name="contribution_tracking_id"/> |
| 220 | + <input type="hidden" value="@data_hash" name="data_hash"/> |
| 221 | + <input type="hidden" value="@action" name="action"/> |
| 222 | + <input type="hidden" value="@owa_session" name="owa_session"/> |
| 223 | + <input type="hidden" value="@owa_ref" name="owa_ref"/> |
| 224 | + </form> |
| 225 | + <div class="payflow-cc-form-section" id="payflowpro_gateway-donate-addl-info"> |
| 226 | + <div id="payflowpro_gateway-donate-addl-info-text"> |
| 227 | + <div style="text-align:center;">* * *</div> |
| 228 | + <div class="">We do not store your credit card information, and your personal data is |
| 229 | + subject to our <a target="_new" href="http://wikimediafoundation.org/wiki/Donor_policy">donor privacy policy</a>. |
| 230 | + </div> |
| 231 | + <div class="">There are <a target="_new" |
| 232 | + href="http://wikimediafoundation.org/wiki/Ways_to_Give/en">other |
| 233 | + ways to give</a>, including by check. |
| 234 | + </div> |
| 235 | + <div class="">Questions or comments? Contact: <a href="mailto:donate@wikimedia.org">donate@wikimedia.org</a> |
| 236 | + </div> |
| 237 | + </div> |
| 238 | + </div> |
| 239 | + </td> |
| 240 | + </tr> |
| 241 | +</table> |
\ No newline at end of file |
Property changes on: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/globalcollect_test.html |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 242 | + native |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/globalcollect_test_2.html |
— | — | @@ -0,0 +1,369 @@ |
| 2 | +<link rel="stylesheet" href="@script_path/skins/vector/main-ltr.css" /> |
| 3 | +<link rel="stylesheet" href="@script_path/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoStepTwoColumnLetter3.css" /> |
| 4 | +<link rel="stylesheet" href="@script_path/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.css" /> |
| 5 | +<style> |
| 6 | + .step2hidden{ display:none; } |
| 7 | + #footer-places { display:none; } |
| 8 | +</style> |
| 9 | +<script type="text/javascript"> |
| 10 | +//make HTML5 placeholders work in non supportive browsers |
| 11 | +$("input[placeholder]").each(function() { |
| 12 | + if($(this).val()=="") { |
| 13 | + $(this).addClass('hasplaceholder'); |
| 14 | + $(this).val($(this).attr("placeholder")); |
| 15 | + $(this).focus(function() { |
| 16 | + if($(this).val()==$(this).attr("placeholder")) $(this).val(""); |
| 17 | + $(this).removeClass('hasplaceholder'); |
| 18 | + }); |
| 19 | + $(this).blur(function() { |
| 20 | + if($(this).val()=="") { |
| 21 | + $(this).addClass('hasplaceholder'); |
| 22 | + $(this).val($(this).attr("placeholder")); |
| 23 | + } |
| 24 | + }); |
| 25 | + } |
| 26 | +}); |
| 27 | + |
| 28 | +$('form').submit(function(evt){ |
| 29 | + $('input[placeholder]').each(function(){ |
| 30 | + if($(this).attr("placeholder") == $(this).val()) {$(this).val('');} |
| 31 | + }); |
| 32 | +}); |
| 33 | + |
| 34 | +function formCheck( ccform ) { |
| 35 | + var msg = [ 'EmailAdd', 'Fname', 'Lname', 'Street', 'City', 'Zip' ]; |
| 36 | + |
| 37 | + var fields = ["emailAdd","fname","lname","street","city","zip" ], |
| 38 | + numFields = fields.length, |
| 39 | + i, |
| 40 | + output = '', |
| 41 | + currField = ''; |
| 42 | + |
| 43 | + for( i = 0; i < numFields; i++ ) { |
| 44 | + if( document.getElementById( fields[i] ).value == '' ) { |
| 45 | + currField = window['payflowproGatewayErrorMsg'+ msg[i]]; |
| 46 | + output += payflowproGatewayErrorMsgJs + ' ' + currField + '.\r\n'; |
| 47 | + } |
| 48 | + } |
| 49 | + |
| 50 | + if (document.getElementById('fname').value == '$first') { |
| 51 | + output += payflowproGatewayErrorMsgJs + ' first name.\r\n'; |
| 52 | + } |
| 53 | + if (document.getElementById('lname').value == '$last') { |
| 54 | + output += payflowproGatewayErrorMsgJs + ' last name.\r\n'; |
| 55 | + } |
| 56 | + if (document.getElementById('street').value == '$street') { |
| 57 | + output += payflowproGatewayErrorMsgJs + ' street address.\r\n'; |
| 58 | + } |
| 59 | + if (document.getElementById('city').value == '$city') { |
| 60 | + output += payflowproGatewayErrorMsgJs + ' city.\r\n'; |
| 61 | + } |
| 62 | + if (document.getElementById('zip').value == '$zip') { |
| 63 | + output += payflowproGatewayErrorMsgJs + ' zip code.\r\n'; |
| 64 | + } |
| 65 | + |
| 66 | + var stateField = document.getElementById( 'state' ); |
| 67 | + if( stateField.options[stateField.selectedIndex].value == '' ) { |
| 68 | + output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsgState'] + '.\r\n'; |
| 69 | + } |
| 70 | + |
| 71 | + // validate email address |
| 72 | + var apos = document.payment.emailAdd.value.indexOf("@"); |
| 73 | + var dotpos = document.payment.emailAdd.value.lastIndexOf("."); |
| 74 | + |
| 75 | + if( apos < 1 || dotpos-apos < 2 ) { |
| 76 | + output += payflowproGatewayErrorMsgEmail; |
| 77 | + } |
| 78 | + |
| 79 | + if( output ) { |
| 80 | + alert( output ); |
| 81 | + return false; |
| 82 | + } |
| 83 | +} |
| 84 | +</script> |
| 85 | + |
| 86 | + |
| 87 | +<table width="100%" cellspacing="0" cellpadding="0" border="0"> |
| 88 | + <tr> |
| 89 | + <td id="appeal" valign="top"> |
| 90 | + <div style="margin:9em 0;"> |
| 91 | + <table class="quote" |
| 92 | + style="margin: auto; border-collapse: collapse; border-style: none; background-color: transparent; width: auto; margin: 10px auto;"> |
| 93 | + <tr> |
| 94 | + <td width="20" valign="top" |
| 95 | + style="color: rgb(178, 183, 242); font-size: 40px; font-family: 'Times New Roman',serif; font-weight: bold; text-align: left; padding: 10px;"> |
| 96 | + “ |
| 97 | + </td> |
| 98 | + <td valign="top" style="padding: 4px 5px; font-size: 26px; line-height: 30px;">Imagine a |
| 99 | + world in which every single person on the planet has free access to the sum of all |
| 100 | + human knowledge. |
| 101 | + </td> |
| 102 | + <td width="20" valign="bottom" |
| 103 | + style="color: rgb(178, 183, 242); font-size: 40px; font-family: 'Times New Roman',serif; font-weight: bold; text-align: right; padding: 10px;"> |
| 104 | + ” |
| 105 | + </td> |
| 106 | + </tr> |
| 107 | + <tr> |
| 108 | + <td style="padding-right: 4%;" colspan="3"> |
| 109 | + <p style="font-size: 18px; text-align: right;"><cite |
| 110 | + style="font-style: normal;">—Jimmy Wales, Founder of Wikipedia</cite> |
| 111 | + </p> |
| 112 | + </td> |
| 113 | + </tr> |
| 114 | + </table> |
| 115 | + </div> |
| 116 | + </td> |
| 117 | + <td id="donate" valign="top"> |
| 118 | + <noscript> |
| 119 | + <div id="noscript"><p id="noscript-msg">It appears that you do not have JavaScript enabled, or |
| 120 | + your browser does not support it. |
| 121 | + In order to provide a safe, secure and pleasant experience, our donation form requires |
| 122 | + JavaScript.</p> |
| 123 | + |
| 124 | + <p id="noscript-redirect-msg">If you cannot or do not wish to enable JavaScript, you may |
| 125 | + still contribute by visiting:</p> |
| 126 | + |
| 127 | + <p id="noscript-redirect-link"><a href="http://wikimediafoundation.org/wiki/DonateNonJS/en">http://wikimediafoundation.org/wiki/DonateNonJS/en</a> |
| 128 | + </p></div> |
| 129 | + </noscript> |
| 130 | + <h2 id="donate-head">Please complete your donation below ...</h2> |
| 131 | + |
| 132 | + <p class='creditcard-error-msg'>#general#retryMsg</p> |
| 133 | + |
| 134 | + <form name="payment" method="post" |
| 135 | + action="@action" |
| 136 | + onsubmit="return formCheck(this)" autocomplete="off"> |
| 137 | + <div id="payflowpro_gateway-personal-info"> |
| 138 | + <table id="payflow-table-donor"> |
| 139 | + <tr> |
| 140 | + <td colspan="2"><span class="creditcard-error-msg">#amount</span></td> |
| 141 | + </tr> |
| 142 | + <tr> |
| 143 | + <td colspan="2"> |
| 144 | + <table id="donation_amount" cellspacing="0" cellpadding="4" border="1"> |
| 145 | + <tbody> |
| 146 | + <tr> |
| 147 | + <td class="amount_header">Description</td> |
| 148 | + <td class="amount_header" style="text-align:right;width:75px;">Amount</td> |
| 149 | + </tr> |
| 150 | + <tr> |
| 151 | + <td class="amount_data">Donation</td> |
| 152 | + <td class="amount_data" style="text-align:right;width:75px;"> |
| 153 | + $ @amount |
| 154 | + <input type="hidden" name="amount" value="@amount" /> |
| 155 | + <input type="hidden" name="currency_code" value="@currency_code" /> |
| 156 | + </td> |
| 157 | + </tr> |
| 158 | + </tbody> |
| 159 | + </table> |
| 160 | + </td> |
| 161 | + </tr> |
| 162 | + <tr> |
| 163 | + <td colspan="2"> |
| 164 | + <h3 class="cc_header"> |
| 165 | + Billing information <img style="vertical-align:baseline;margin-left:8px;" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif"> |
| 166 | + </h3> |
| 167 | + </td> |
| 168 | + </tr> |
| 169 | + <tr> |
| 170 | + <td class="label"></td> |
| 171 | + <td><img |
| 172 | + src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif"/> |
| 173 | + </td> |
| 174 | + </tr> |
| 175 | + <tr> |
| 176 | + <td colspan=2><span class="creditcard-error-msg">#card#card_num</span></td> |
| 177 | + <tr> |
| 178 | + <tr> |
| 179 | + <td class="label"><label for="card_num">Card number</label></td> |
| 180 | + <td><input name="card_num" size="30" value="@card_num" type="text" maxlength="100" |
| 181 | + id="card_num" class="fullwidth" autocomplete="off"/></td> |
| 182 | + </tr> |
| 183 | + <tr> |
| 184 | + <td class="label"><label for="expiration">Expiration date</label></td> |
| 185 | + <td><select name="mos" id="expiration"> |
| 186 | + <option value="01">1 (January)</option> |
| 187 | + <option value="02">2 (February)</option> |
| 188 | + <option value="03">3 (March)</option> |
| 189 | + <option value="04">4 (April)</option> |
| 190 | + <option value="05">5 (May)</option> |
| 191 | + <option value="06">6 (June)</option> |
| 192 | + <option value="07">7 (July)</option> |
| 193 | + <option value="08">8 (August)</option> |
| 194 | + <option value="09">9 (September)</option> |
| 195 | + <option value="10">10 (October)</option> |
| 196 | + <option value="11">11 (November)</option> |
| 197 | + <option value="12">12 (December)</option> |
| 198 | + </select> / <select name="year" id="year"> |
| 199 | + <option value="2011">2011</option> |
| 200 | + <option value="2012">2012</option> |
| 201 | + <option value="2013">2013</option> |
| 202 | + <option value="2014">2014</option> |
| 203 | + <option value="2015">2015</option> |
| 204 | + <option value="2016">2016</option> |
| 205 | + <option value="2017">2017</option> |
| 206 | + <option value="2018">2018</option> |
| 207 | + <option value="2019">2019</option> |
| 208 | + <option value="2020">2020</option> |
| 209 | + <option value="2021">2021</option> |
| 210 | + </select></td> |
| 211 | + </tr> |
| 212 | + <tr> |
| 213 | + <td colspan=2><span class="creditcard-error-msg">#cvv</span></td> |
| 214 | + <tr> |
| 215 | + <tr> |
| 216 | + <td class="label"><label for="cvv">Security code</label></td> |
| 217 | + <td><input name="cvv" size="5" value="@cvv" type="text" maxlength="10" id="cvv" |
| 218 | + autocomplete="off"/> <a href="javascript:PopupCVV();">Where is this?</a> |
| 219 | + </td> |
| 220 | + </tr> |
| 221 | + <tr> |
| 222 | + <td colspan=2><span class="creditcard-error-msg">#fname#lname</span></td> |
| 223 | + </tr> |
| 224 | + <tr> |
| 225 | + <td class="label"><label for="fname">Name</label></td> |
| 226 | + <td> |
| 227 | + <input name="fname" size="30" value="@fname" type="text" |
| 228 | + placeholder="First name" maxlength="25" class="required" id="fname"/> |
| 229 | + <input name="lname" size="30" value="@lname" type="text" |
| 230 | + placeholder="Last name" maxlength="25" id="lname"/> |
| 231 | + </td> |
| 232 | + </tr> |
| 233 | + <tr> |
| 234 | + <td colspan=2><span class="creditcard-error-msg">#street</span></td> |
| 235 | + </tr> |
| 236 | + <tr> |
| 237 | + <td class="label"><label for="street">Address</label></td> |
| 238 | + <td> |
| 239 | + <input name="street" size="30" value="@street" type="text" |
| 240 | + placeholder="Street" maxlength="100" id="street" class="fullwidth"/> |
| 241 | + </td> |
| 242 | + </tr> |
| 243 | + <tr> |
| 244 | + <td colspan=2><span class="creditcard-error-msg">#state#zip</span></td> |
| 245 | + </tr> |
| 246 | + <tr> |
| 247 | + <td class="label"></td> |
| 248 | + <td> |
| 249 | + <input name="city" size="18" value="@city" type="text" |
| 250 | + placeholder="City" maxlength="40" id="city"/> |
| 251 | + <select name="state" id="state"> |
| 252 | + <option value=""/> |
| 253 | + <option value="AK">AK</option> |
| 254 | + <option value="AL">AL</option> |
| 255 | + <option value="AR">AR</option> |
| 256 | + <option value="AZ">AZ</option> |
| 257 | + <option value="CA">CA</option> |
| 258 | + <option value="CO">CO</option> |
| 259 | + <option value="CT">CT</option> |
| 260 | + <option value="DC">DC</option> |
| 261 | + <option value="DE">DE</option> |
| 262 | + <option value="FL">FL</option> |
| 263 | + <option value="GA">GA</option> |
| 264 | + <option value="HI">HI</option> |
| 265 | + <option value="IA">IA</option> |
| 266 | + <option value="ID">ID</option> |
| 267 | + <option value="IL">IL</option> |
| 268 | + <option value="IN">IN</option> |
| 269 | + <option value="KS">KS</option> |
| 270 | + <option value="KY">KY</option> |
| 271 | + <option value="LA">LA</option> |
| 272 | + <option value="MA">MA</option> |
| 273 | + <option value="MD">MD</option> |
| 274 | + <option value="ME">ME</option> |
| 275 | + <option value="MI">MI</option> |
| 276 | + <option value="MN">MN</option> |
| 277 | + <option value="MO">MO</option> |
| 278 | + <option value="MS">MS</option> |
| 279 | + <option value="MT">MT</option> |
| 280 | + <option value="NC">NC</option> |
| 281 | + <option value="ND">ND</option> |
| 282 | + <option value="NE">NE</option> |
| 283 | + <option value="NH">NH</option> |
| 284 | + <option value="NJ">NJ</option> |
| 285 | + <option value="NM">NM</option> |
| 286 | + <option value="NV">NV</option> |
| 287 | + <option value="NY">NY</option> |
| 288 | + <option value="OH">OH</option> |
| 289 | + <option value="OK">OK</option> |
| 290 | + <option value="OR">OR</option> |
| 291 | + <option value="PA">PA</option> |
| 292 | + <option value="PR">PR</option> |
| 293 | + <option value="RI">RI</option> |
| 294 | + <option value="SC">SC</option> |
| 295 | + <option value="SD">SD</option> |
| 296 | + <option value="TN">TN</option> |
| 297 | + <option value="TX">TX</option> |
| 298 | + <option value="UT">UT</option> |
| 299 | + <option value="VA">VA</option> |
| 300 | + <option value="VT">VT</option> |
| 301 | + <option value="WA">WA</option> |
| 302 | + <option value="WI">WI</option> |
| 303 | + <option value="WV">WV</option> |
| 304 | + <option value="WY">WY</option> |
| 305 | + <option value="AA">AA</option> |
| 306 | + <option value="AE">AE</option> |
| 307 | + <option value="AP">AP</option> |
| 308 | + </select> <input name="zip" size="5" value="@zip" type="text" |
| 309 | + placeholder="Zip" maxlength="10" id="zip"/><input type="hidden" |
| 310 | + value="@country" name="country" /> |
| 311 | + </td> |
| 312 | + </tr> |
| 313 | + <tr> |
| 314 | + <td colspan=2><span class="creditcard-error-msg">#emailAdd</span></td> |
| 315 | + </tr> |
| 316 | + <tr> |
| 317 | + <td class="label"><label for="emailAdd">E-mail</label></td> |
| 318 | + <td> |
| 319 | + <input name="emailAdd" size="30" value="@emailAdd" type="text" |
| 320 | + placeholder="Email address" maxlength="64" id="emailAdd" class="fullwidth"/> |
| 321 | + </td> |
| 322 | + </tr> |
| 323 | + <tr> |
| 324 | + <td class="label"></td> |
| 325 | + <td> |
| 326 | + <div id="mw-donate-submit-button"> <br/><input |
| 327 | + src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png" |
| 328 | + alt="Submit donation" type="image"/></div> |
| 329 | + <div class="mw-donate-submessage" id="payflowpro_gateway-donate-submessage"><img src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" style="vertical-align:baseline;margin-right:4px;">Your credit / debit card will be securely processed.</div> |
| 330 | + </td> |
| 331 | + </tr> |
| 332 | + </table> |
| 333 | + </div> |
| 334 | + <input type="hidden" value="@utm_source" name="utm_source"/> |
| 335 | + <input type="hidden" value="@utm_medium" name="utm_medium"/> |
| 336 | + <input type="hidden" value="@utm_campaign" name="utm_campaign"/> |
| 337 | + <input type="hidden" value="@language" name="language"/> |
| 338 | + <input type="hidden" value="@referrer" name="referrer"/> |
| 339 | + <input type="hidden" value="@comment" name="comment"/> |
| 340 | + <input type="hidden" value="@comment-option" name="comment-option"/> |
| 341 | + <input type="hidden" value="@email-opt" name="email-opt"/> |
| 342 | + <input type="hidden" value="processed" name="payment_method"/> |
| 343 | + <input type="hidden" value="@token" name="token"/> |
| 344 | + <input type="hidden" value="@order_id" name="order_id"/> |
| 345 | + <input type="hidden" value="@numAttempt" name="numAttempt"/> |
| 346 | + <input type="hidden" value="@contribution_tracking_id" name="contribution_tracking_id"/> |
| 347 | + <input type="hidden" value="@data_hash" name="data_hash"/> |
| 348 | + <input type="hidden" value="@action" name="action"/> |
| 349 | + <input type="hidden" value="@owa_session" name="owa_session"/> |
| 350 | + <input type="hidden" value="@owa_ref" name="owa_ref"/> |
| 351 | + </form> |
| 352 | + <div class="payflow-cc-form-section" id="payflowpro_gateway-donate-addl-info"> |
| 353 | + <div id="payflowpro_gateway-donate-addl-info-text"> |
| 354 | + <div style="text-align:center;">* * *</div> |
| 355 | + <div class="">We do not store your credit card information, and your personal data is |
| 356 | + subject to our <a target="_new" |
| 357 | + href="http://wikimediafoundation.org/wiki/Donor_policy">donor privacy |
| 358 | + policy</a>. |
| 359 | + </div> |
| 360 | + <div class="">There are <a target="_new" |
| 361 | + href="http://wikimediafoundation.org/wiki/Ways_to_Give/en">other |
| 362 | + ways to give</a>, including by check. |
| 363 | + </div> |
| 364 | + <div class="">Questions or comments? Contact: <a href="mailto:donate@wikimedia.org">donate@wikimedia.org</a> |
| 365 | + </div> |
| 366 | + </div> |
| 367 | + </div> |
| 368 | + </td> |
| 369 | + </tr> |
| 370 | +</table> |
Property changes on: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/globalcollect_test_2.html |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 371 | + native |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.php |
— | — | @@ -129,7 +129,7 @@ |
130 | 130 | * Directory for HTML forms (used by RapidHtml form class) |
131 | 131 | * @var string |
132 | 132 | */ |
133 | | -$wgPayflowHtmlFormDir = dirname( __FILE__ ) . "/forms/html"; |
| 133 | +$wgPayflowHtmlFormDir = dirname( __FILE__ ) . "/forms/rapidhtml/html"; |
134 | 134 | |
135 | 135 | /** |
136 | 136 | * An array of allowed HTML forms. |