can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r17447: LJSUP-6948: Do not displayed a warning c...

Committer: dpetrov
LJSUP-6948: Do not displayed a warning commercials for paid, sponsored ?\208?\184 permanent account
U   trunk/htdocs/manage/profile/index.bml
Modified: trunk/htdocs/manage/profile/index.bml
===================================================================
--- trunk/htdocs/manage/profile/index.bml	2010-09-26 10:03:35 UTC (rev 17446)
+++ trunk/htdocs/manage/profile/index.bml	2010-09-27 01:00:29 UTC (rev 17447)
@@ -543,7 +543,9 @@
             $ret .= "</td></tr>\n";
             $ret .= "<tr id=\"phone_vercode\" style=\"display: none;\"><td class='field_name'>$ML{'.fn.vernum'}</td><td>";
             $ret .= LJ::html_text({ 'name' => 'txtmsg_verify', 'size' => '4', 'maxlength' => '4' }) ." <input type='button' name='verify' value='$ML{'.section.vernum.button'}' />";
-            $ret .= '<p class="helper" style="display: none;">' . $ML{'.section.textmsg.adv'} . '</p>';
+            if( $u->in_class("paid") || $u->in_class("sponsored") || $u->in_class("perm") ) {
+                $ret .= '<p class="helper">' . $ML{'.section.textmsg.adv'} . '</p>';
+            }
             $ret .= "</td></tr>\n";
             $ret .= "</table>\n";
 

Tags: bml, can3p, livejournal
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