kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2012-01-06 03:34 pm

[dw-free] update shop for 2012

[commit: http://hg.dwscoalition.org/dw-free/rev/689461460794]

http://bugs.dwscoalition.org/show_bug.cgi?id=4200

Stop accepting credit cards that expire in 2011, since it's now 2012.

Patch by [staff profile] denise.

Files modified:
  • htdocs/shop/entercc.bml
--------------------------------------------------------------------------------
diff -r 3df03264ab61 -r 689461460794 htdocs/shop/entercc.bml
--- a/htdocs/shop/entercc.bml	Fri Jan 06 23:01:18 2012 +0800
+++ b/htdocs/shop/entercc.bml	Fri Jan 06 09:35:20 2012 -0600
@@ -103,7 +103,7 @@
             ccnum => LJ::html_text({ name => 'ccnum', id => 'ccnum', maxlength => 19, autocomplete => 'off' }) . $accepted_ccs,
             cvv2 => LJ::html_text({ name => 'cvv2', id => 'cvv2', maxlength => 4, size => 5, autocomplete => 'off' }),
             expmon => LJ::html_select({ name => 'expmon', id => 'expmon', selected => $POST{expmon} }, map { $_ => LJ::Lang::month_long_ml( $_ ) . " - " . sprintf( '%0.2d', $_ ); } 1..12 ),
-            expyear => LJ::html_select({ name => 'expyear', id => 'expyear', selected => $POST{expyear} }, map { $_ => $_ } 2011..2020 ),
+            expyear => LJ::html_select({ name => 'expyear', id => 'expyear', selected => $POST{expyear} }, map { $_ => $_ } 2012..2020 ),
         );
 
         my $out = "<?p $ML{'.about'} p?><?p <strong>" . LJ::Lang::ml( '.about.security', { sitename => $LJ::SITENAME } ) . "</strong> p?>";
--------------------------------------------------------------------------------