rythm_of_samba (rithm_of_samba) wrote in changelog,
rythm_of_samba
rithm_of_samba
changelog

[ljcom] r7549: LJSUP-4690 5. Account settings page

Committer: nefimenko
LJSUP-4692 6. Post an Entry page (view thumbnails)

U   trunk/bin/upgrading/en_LJ.dat
U   trunk/cgi-bin/paylib.pl
Modified: trunk/bin/upgrading/en_LJ.dat
===================================================================
--- trunk/bin/upgrading/en_LJ.dat	2009-08-06 09:02:33 UTC (rev 7548)
+++ trunk/bin/upgrading/en_LJ.dat	2009-08-06 09:54:06 UTC (rev 7549)
@@ -3587,6 +3587,8 @@
 
 pay.widget.upgrade=Upgrade your account
 
+pay.widget.upgradebonus=<a [[aopts]]>Upgrade account</a> to have 20 voice posts monthly, 30 userpics, 20Gb storage space and 1000 subscriptions.
+
 pay.widget.userpics=[[numused]] of [[max]] <a [[aopts]]>userpics</a>
 
 pay.widget.voiceposts=[[numused]] of [[max]] <a [[aopts]]>voice posts</a> this month

Modified: trunk/cgi-bin/paylib.pl
===================================================================
--- trunk/cgi-bin/paylib.pl	2009-08-06 09:02:33 UTC (rev 7548)
+++ trunk/cgi-bin/paylib.pl	2009-08-06 09:54:06 UTC (rev 7549)
@@ -2075,6 +2075,10 @@
         $ret .= "</div><br />";
     }
 
+    if (!$u->get_cap('paid')) {  
+		$ret .= "<p>" . BML::ml('pay.widget.upgradebonus', { aopts => 'href=$LJ::SITEROOT/manage/account' }) . "</p>";
+	}
+
     my $text = $u->in_class("paid") ? $BML::ML{'pay.widget.details'} : $BML::ML{'pay.widget.upgrade'};
     $ret .= "<a href='$LJ::SITEROOT/manage/payments/'>$text</a><br />"
         unless $opts->{nodetail_link} || $is_identity;

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments