Difference between revisions of "User:James Hare/vector.js"
Jump to navigation
Jump to search
James Hare (talk | contribs) (Working) |
James Hare (talk | contribs) (Momentarily reverting) |
||
Line 1: | Line 1: | ||
/* Add a donate button */ |
/* Add a donate button */ |
||
if ( ( mw.config.get('wgPageName') == 'User:James_Hare' ) ) { |
if ( ( mw.config.get('wgPageName') == 'User:James_Hare' ) ) { |
||
− | $('#donatebutton').html('<form id=" |
+ | $('#donatebutton').html('<form id="donatebutton" 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="PSCZL9L3NKNRQ"><input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"></form>'); |
} |
} |
Revision as of 20:20, 28 May 2013
/* Add a donate button */
if ( ( mw.config.get('wgPageName') == 'User:James_Hare' ) ) {
$('#donatebutton').html('<form id="donatebutton" 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="PSCZL9L3NKNRQ"><input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"></form>');
}