Template:2011FR/Form-section-processing: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<script type="text/javascript" language="javascript"> |
<script type="text/javascript" language="javascript"> |
||
function redirectPayment(i) { |
function redirectPayment(i) { |
||
//if i == 1 |
//if i == 1 |
||
var paymentType ="cc"; |
var paymentType ="cc"; |
||
var action_url = "https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway?uselang=</html>{{{uselang}}}<html>\x26masthead=</html>{{{GC-masthead|none}}}<html>\x26form_name=</html>{{{GC-form-name|RapidHtml}}}<html>\x26text_template=</html>{{{GC-text-template|2010/JimmyQuote}}}<html>\x26language=</html>{{{uselang}}}<html>\x26ffname=</html>{{{GC-ffname|webitects2nd}}}<html>" ; |
var action_url = "https://payments.wikimedia.org/index.php/Special:GlobalCollectGateway?uselang=</html>{{{uselang}}}<html>\x26masthead=</html>{{{GC-masthead|none}}}<html>\x26form_name=</html>{{{GC-form-name|RapidHtml}}}<html>\x26text_template=</html>{{{GC-text-template|2010/JimmyQuote}}}<html>\x26appeal={{{appeal}}}\x26language=</html>{{{uselang}}}<html>\x26ffname=</html>{{{GC-ffname|webitects2nd}}}<html>" ; |
||
if (i==2) { |
if (i==2) { |
||
paymentType = "pp"; |
paymentType = "pp"; |
||
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{{uselang}}}<html>"; |
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{{uselang}}}<html>"; |
||
} |
} |
||
if (i==3){ |
|||
} |
|||
document.paypalcontribution.action = action_url; |
document.paypalcontribution.action = action_url; |
Revision as of 21:40, 7 November 2011