Mention that the current prices for some of the account levels are
discounts and will increase later.
Patch by janinedog.
diffs (62 lines):
diff -r 501136cdeaeb -r 663ac507cbae cgi-bin/LJ/Widget/ShopItemOptions.pm
--- a/cgi-bin/LJ/Widget/ShopItemOptions.pm Thu Apr 30 21:33:29 2009 +0000
+++ b/cgi-bin/LJ/Widget/ShopItemOptions.pm Thu Apr 30 21:43:43 2009 +0000
@@ -54,19 +54,21 @@ sub render_body {
$ret .= "<br />";
- foreach my $month_value ( sort { $a <=> $b } @month_values ) {
+ foreach my $month_value ( sort { $b <=> $a } @month_values ) {
my $full_item = $given_item . $month_value;
if ( ref $LJ::SHOP{$full_item} eq 'ARRAY' ) {
my $price_string = $class->ml(
"widget.shopitemoptions.price.$full_item", { price =>
"\$$LJ::SHOP{$full_item}->[0] USD" } );
$price_string = $class->ml( 'widget.shopitemoptions.price', { num
=> $month_value, price => "\$$LJ::SHOP{$full_item}->[0] USD" } )
if $price_string eq 'ShopItemOptions';
+ my $footnote = " *"
+ if $month_value == 12 || $month_value == 6;
$ret .= $class->html_check(
type => 'radio',
name => $option_name,
id => $full_item,
value => $full_item,
- ) . " <label for='$full_item'>$price_string</label><br />";
+ ) . " <label for='$full_item'>$price_string$footnote</label><br
/>";
}
}
diff -r 501136cdeaeb -r 663ac507cbae htdocs/shop/account.bml
--- a/htdocs/shop/account.bml Thu Apr 30 21:33:29 2009 +0000
+++ b/htdocs/shop/account.bml Thu Apr 30 21:43:43 2009 +0000
@@ -127,6 +127,8 @@ body<=
$ret .= "<p>" . LJ::html_submit( $ML{'.btn.addtocart'} ) . "</p>";
$ret .= "</form>";
+ $ret .= "<p class='shop-footnote'>* " . BML::ml( '.footnote.prices', {
discount => "\$10 USD", paid => "\$35 USD", prem => "\$50 USD" } ) . "</p>";
+
$ret .= "<p><a href='$LJ::SITEROOT/shop'><< " . BML::ml(
'.backlink', { sitename => $LJ::SITENAMESHORT } ) . "</a></p>";
return $ret;
diff -r 501136cdeaeb -r 663ac507cbae htdocs/shop/account.bml.text
--- a/htdocs/shop/account.bml.text Thu Apr 30 21:33:29 2009 +0000
+++ b/htdocs/shop/account.bml.text Thu Apr 30 21:43:43 2009 +0000
@@ -9,6 +9,8 @@
.error.invalidself.perm=You cannot purchase any paid time for yourself because
you have a Seed Account.
.error.noselection=You must select an item to add to your cart.
+
+.footnote.prices=These prices reflect an initial discount of [[discount]]
yearly. On November 1, 2009, the discount will expire. Paid accounts will be
[[paid]]/year and Premium Paid accounts will be [[prem]]/year.
.giftfor.anonymous=Anonymous gift?
diff -r 501136cdeaeb -r 663ac507cbae htdocs/stc/shop.css
--- a/htdocs/stc/shop.css Thu Apr 30 21:33:29 2009 +0000
+++ b/htdocs/stc/shop.css Thu Apr 30 21:43:43 2009 +0000
@@ -111,3 +111,7 @@
color: #c1272d;
font-weight: bold;
}
+
+.shop-footnote {
+ font-size: smaller;
+}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog