juks (juks) wrote in changelog,
juks
juks
changelog

[ljcom] r10051: LJSUP-7445

Committer: iaskarov
LJSUP-7445
U   trunk/htdocs/community/account.bml
Modified: trunk/htdocs/community/account.bml
===================================================================
--- trunk/htdocs/community/account.bml	2011-02-16 07:12:48 UTC (rev 10050)
+++ trunk/htdocs/community/account.bml	2011-02-16 08:37:14 UTC (rev 10051)
@@ -100,7 +100,7 @@
                 <span class="hilite">$ML{'.switchto.trynbuy.header'}</span><br>
                 $switchto_trynbuy_text
             p?>
-            <form action="$LJ::SITEROOT/free-trial/" method="get">
+            <form action="$LJ::SITEROOT/free-trial/" method="get" target="_blank">
                 <button type="submit">$ML{'.btn.totrynbuy'}</button>
             </form>
         };
@@ -150,7 +150,7 @@
                 $body .= LJ::html_submit("areyousure", $ML{'.btn.tobasic'});
                 $body .= "</form> p?>\n";
 
-                $body .= $switchto_trynbuy_block;
+                $body .= $switchto_trynbuy_block if (LJ::TryNBuy->can_enable($remote));
                 
                 $body .= $switchto_paid_block;
             }
@@ -167,9 +167,9 @@
             $body .= "<form action='$LJ::SITEROOT/community/account.bml?authas=$authas' method='post'>";
             $body .= LJ::form_auth();
             $body .= LJ::html_submit("sponsored", $ML{'.btn.toplus'});
-            $body .= "</form><br />\n";
+            $body .= "</form>\n";
 
-            $body .= $switchto_trynbuy_block;
+            $body .= $switchto_trynbuy_block if (LJ::TryNBuy->can_enable($remote));
             
             $body .= $switchto_paid_block;
 

Tags: bml, juks, ljcom
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