Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r21347: LJSUP-11385 (Add pics beta promo)

Committer: ailyin
LJSUP-11385 (Add pics beta promo)
U   trunk/htdocs/imgupload.bml
Modified: trunk/htdocs/imgupload.bml
===================================================================
--- trunk/htdocs/imgupload.bml	2012-03-12 07:55:14 UTC (rev 21346)
+++ trunk/htdocs/imgupload.bml	2012-03-12 08:09:54 UTC (rev 21347)
@@ -98,14 +98,16 @@
 
     $ret .= "<p class='wintitle' id='wintitle'></p>";
 
-	$ret .= "<div class='b-pics-promo-wrapper'>";
-	$ret .= "<i class='b-pics-promo-box'></i>";
-	$ret .= "<a class='b-pics-promo-link' href='http://lj-pics-beta.livejournal.com/472.html' target='_blank'>";
-	$ret .= "<span class='b-pics-promo-arrow'></span>";
-	$ret .= "<span class='b-pics-promo-content b-pics-promo-content-header'>$ML{'.msg.newalbums'}</span>";
-	$ret .= "<span class='b-pics-promo-content'>$ML{'.msg.newalbums.organise'}</span>";
-	$ret .= "</a>";
-	$ret .= "</div>";
+    if ( LJ::is_enabled('pics_production') ) {
+        $ret .= "<div class='b-pics-promo-wrapper'>";
+        $ret .= "<i class='b-pics-promo-box'></i>";
+        $ret .= "<a class='b-pics-promo-link' href='http://lj-pics-beta.livejournal.com/472.html' target='_blank'>";
+        $ret .= "<span class='b-pics-promo-arrow'></span>";
+        $ret .= "<span class='b-pics-promo-content b-pics-promo-content-header'>$ML{'.msg.newalbums'}</span>";
+        $ret .= "<span class='b-pics-promo-content'>$ML{'.msg.newalbums.organise'}</span>";
+        $ret .= "</a>";
+        $ret .= "</div>";
+    }
 
     $ret .= "<div id='formcontent'>";
     $ret .= "<div id='img_error' class='errorbar'></div>";

Tags: ailyin, andy, bml, 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