website/www/conservancy/static
Bradley M. Kuhn 6b9bdb335e Modify PayPal "no_shipping" var via t-shirt choice
According to
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/

  no_shipping has the following values:
      0: prompt for an address, but do not require one
      1: do not prompt for an address
      2: prompt for an address, and require one
      The default is 0.

Ideally, any time they change wantGift, even in a pure HTML form, we'd
change it between 0 and 2 as appropriate (i.e., we need the address if
they want the t-shirt).

However, I couldn't find an easy way to make this modification in pure
CSS or HTML, so it only happens in Javascript-enabled browsers.

This is still graceful degradation, since the only impact is in cases
where a non-Javascript user fails to give us an address, and we have to
email later to get the shipping address.
2014-12-03 18:50:53 -05:00
..
about Cosmetic fix 2014-10-30 18:10:49 +01:00
admin-media Added admin-media 2010-09-30 10:30:33 -04:00
docs Rename file names to remove the word "draft". 2014-10-31 13:06:39 -04:00
donate Supporter means /supporter/ now, so change this. 2014-12-03 13:16:40 -05:00
img SVG bullet list of supporters on sponsors page. 2014-12-03 12:29:24 -05:00
linux-compliance Convert img border to CSS via style 2014-11-11 18:00:02 -05:00
members Add LuxRender 2014-10-05 19:09:03 -04:00
npoacct Create a new update. 2014-12-03 13:41:24 -05:00
overview edited /Overview page to delete "The"s to harmonize style. 2012-10-05 15:15:03 -04:00
privacy-policy spotted a few more errant "The"s; deleted them. 2013-02-21 13:19:01 -05:00
sponsors Add supporter. 2014-12-03 15:54:03 -05:00
supporter Modify PayPal "no_shipping" var via t-shirt choice 2014-12-03 18:50:53 -05:00
401error.html s/conservancy.softwarefreedom.org/sfconservancy.org/g 2010-10-03 20:28:09 -04:00
403error.html s/conservancy.softwarefreedom.org/sfconservancy.org/g 2010-10-03 20:28:09 -04:00
404error.html s/conservancy.softwarefreedom.org/sfconservancy.org/g 2010-10-03 20:28:09 -04:00
500error.html Conservancy website as it currently looks; unfortunately, old history before this cannot easily be retrieved 2010-09-26 17:20:05 -04:00
conservancy.css SVG bullet list of supporters on sponsors page. 2014-12-03 12:29:24 -05:00
favicon.ico Changes to implement new logo, as requested by Tony. 2013-02-28 15:42:06 -05:00
forms.css Match width and alignment to donate-content class. 2014-12-03 09:58:07 -05:00
GPLv3 Move javascript code from HTML files to a .js file 2014-12-02 11:28:37 -05:00
jquery-ui.css Updated jQuery to 1.11.1 and jQuery UI to 1.11.2 2014-12-02 11:22:39 -05:00
jquery-ui.min.js Updated jQuery to 1.11.1 and jQuery UI to 1.11.2 2014-12-02 11:22:39 -05:00
jquery.min.js Updated jQuery to 1.11.1 and jQuery UI to 1.11.2 2014-12-02 11:22:39 -05:00
robots.txt Don't index some pages. 2013-04-26 13:01:29 -04:00
supporter-page.js Modify PayPal "no_shipping" var via t-shirt choice 2014-12-03 18:50:53 -05:00