Patch by fu.
diffs (13 lines):
diff -r 758fec157a83 -r ce43f550f3f3 htdocs/shop/account.bml
--- a/htdocs/shop/account.bml Tue Jun 08 21:38:54 2010 +0800
+++ b/htdocs/shop/account.bml Tue Jun 08 21:42:21 2010 +0800
@@ -94,7 +94,8 @@ body<=
$ret .= LJ::form_auth();
$ret .= "<table class='shop-table'><tr>";
$ret .= "<td>" . LJ::Widget::ShopItemOptions->render( option_name =>
'accttype', item => 'prem' ) . "</td>";
- $ret .= "<td>" . LJ::Widget::ShopItemOptions->render( option_name =>
'accttype', item => 'paid' ) . "</td>";
+ $ret .= "<td>" . LJ::Widget::ShopItemOptions->render( option_name =>
'accttype', item => 'paid' ) . "</td>"
+ unless $for eq 'self' && $account_type eq 'premium';
$ret .= "</tr>";
if ( DW::Pay::num_permanent_accounts_available() > 0 ) {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog