Difference between revisions of "User:James Hare/vector.js"
Jump to navigation
Jump to search
James Hare (talk | contribs) (Style code) |
James Hare (talk | contribs) (Working) |
||
Line 1: | Line 1: | ||
/* Add a membership payment button */ |
/* Add a membership payment button */ |
||
if ( ( mw.config.get('wgPageName') == 'User:James_Hare/Membership' ) ) { |
if ( ( mw.config.get('wgPageName') == 'User:James_Hare/Membership' ) ) { |
||
− | $('#membershipbutton').html('<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="R9RT2GWXZZWXL"><input type="hidden" name="on0" value="Donation Options"><input type="hidden" name="currency_code" value="USD"><div style="padding-bottom:0. |
+ | $('#membershipbutton').html('<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="R9RT2GWXZZWXL"><input type="hidden" name="on0" value="Donation Options"><input type="hidden" name="currency_code" value="USD"><div style="padding-bottom:0.3em;"><span style="padding-right:0.5em;"><input type="image" src="http://wikimediadc.org/w/images/3/38/Payment_button_-_10.png" border="0" name="os0" value="Regular Membership" alt="Member dues: $10 per year"></span><span><input type="image" src="http://wikimediadc.org/w/images/9/99/Payment_button_-_25.png" border="0" name="os0" value="Bronze Sponsor" alt="Member dues with Bronze Sponsorship: $25 per year"></span></div><div style="padding-bottom:0.3em;"><span style="padding-right:0.5em;"><input type="image" src="http://wikimediadc.org/w/images/e/ec/Payment_button_-_50.png" border="0" name="os0" value="Silver Sponsor" alt="Member dues with Silver Sponsorship: $50 per year"></span><span><input type="image" src="http://wikimediadc.org/w/images/1/1d/Payment_button_-_100.png" border="0" name="os0" value="Gold Sponsor" alt="Member dues with Gold Sponsorship: $100 per year"></span></div></form>'); |
} |
} |
Revision as of 14:25, 26 May 2013
/* Add a membership payment button */
if ( ( mw.config.get('wgPageName') == 'User:James_Hare/Membership' ) ) {
$('#membershipbutton').html('<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="R9RT2GWXZZWXL"><input type="hidden" name="on0" value="Donation Options"><input type="hidden" name="currency_code" value="USD"><div style="padding-bottom:0.3em;"><span style="padding-right:0.5em;"><input type="image" src="http://wikimediadc.org/w/images/3/38/Payment_button_-_10.png" border="0" name="os0" value="Regular Membership" alt="Member dues: $10 per year"></span><span><input type="image" src="http://wikimediadc.org/w/images/9/99/Payment_button_-_25.png" border="0" name="os0" value="Bronze Sponsor" alt="Member dues with Bronze Sponsorship: $25 per year"></span></div><div style="padding-bottom:0.3em;"><span style="padding-right:0.5em;"><input type="image" src="http://wikimediadc.org/w/images/e/ec/Payment_button_-_50.png" border="0" name="os0" value="Silver Sponsor" alt="Member dues with Silver Sponsorship: $50 per year"></span><span><input type="image" src="http://wikimediadc.org/w/images/1/1d/Payment_button_-_100.png" border="0" name="os0" value="Gold Sponsor" alt="Member dues with Gold Sponsorship: $100 per year"></span></div></form>');
}