User:Sj/test: Difference between revisions

From OLPC
Jump to navigation Jump to search
(form 1)
 
No edit summary
Line 1: Line 1:
== login form ==
{{#form:method=post|
{{#form:method=post|
{{#input:type=hidden|name=title|value=Special:Userlogin}}
{{#input:type=hidden|name=title|value=Special:Userlogin}}
Line 8: Line 9:
{{#input:type=password|name=wpPassword}}
{{#input:type=password|name=wpPassword}}
{{#input:type=submit|value=Login}}
{{#input:type=submit|value=Login}}
}}

== paypal ==
{{#form:action=<nowiki>https://www.paypal.com/cgi-bin/webscr</nowiki>|method=POST|
{{#input:type=hidden|name=business |value = donations@company.com }}
{{#input:type=hidden|name=item_name|value = Product Name }}
{{#input:type=hidden|name=cmd|value=_xclick}}
{{#input:type=hidden|name=no_shipping|value=0}}
{{#input:type=hidden|name=no_note|value=1}}
{{#input:type=hidden|name=currency_code|value=USD}}
{{#input:type=hidden|name=tax|value=0}}
{{#input:type=hidden|name=bn|value=PP-DonationsBF}}
{{#input:type=image|src=<nowiki>https://www.paypal.com/en_US/i/btn/x-click-but04.gif</nowiki>|name=submit}}
{{#input:type=image|alt=|border=0|src=<nowiki>https://www.paypal.com/en_US/i/scr/pixel.gif</nowiki>|width=1|height=1}}
}}
}}

Revision as of 22:22, 6 January 2009

login form

{{#form:method=post| {{#input:type=hidden|name=title|value=Special:Userlogin}} {{#input:type=hidden|name=action|value=submitlogin}} {{#input:type=hidden|name=type|value=login}} {{#input:type=hidden|name=returnto|value=User:Sj/test}} {{#input:type=hidden|name=wpLoginattempt|value=Log in}} {{#input:type=text|name=wpName}} {{#input:type=password|name=wpPassword}} {{#input:type=submit|value=Login}} }}

paypal

{{#form:action=https://www.paypal.com/cgi-bin/webscr|method=POST| {{#input:type=hidden|name=business |value = donations@company.com }} {{#input:type=hidden|name=item_name|value = Product Name }} {{#input:type=hidden|name=cmd|value=_xclick}} {{#input:type=hidden|name=no_shipping|value=0}} {{#input:type=hidden|name=no_note|value=1}} {{#input:type=hidden|name=currency_code|value=USD}} {{#input:type=hidden|name=tax|value=0}} {{#input:type=hidden|name=bn|value=PP-DonationsBF}} {{#input:type=image|src=https://www.paypal.com/en_US/i/btn/x-click-but04.gif|name=submit}} {{#input:type=image|alt=|border=0|src=https://www.paypal.com/en_US/i/scr/pixel.gif|width=1|height=1}} }}