Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r22669: LJSUP-13311: On beta the new update.bml ...

Committer: anazarov
LJSUP-13311: On beta the new update.bml should be set as default for all beta users
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-08-16 10:26:57 UTC (rev 22668)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-08-16 10:29:38 UTC (rev 22669)
@@ -451,7 +451,7 @@
     $out .= "<script>try { \$('journal_timezone').value = - (new Date).getTimezoneOffset()/0.6; } catch(e) {} </script>";
     $out .= "<div id='metainfo-wrap'>";
 
-    if ( LJ::is_enabled('post_controller') and $remote ) {
+    if ( LJ::is_enabled('post_controller') and $remote or LJ::is_enabled('post_private_beta') ) {
         $out .= "<p class=\"b-updatepage-switchver\">";
         $out .= "<button type=\"submit\" name=\"ljpost:on\" value=\"1\" class=\"b-updatepage-switchver-button\">";
         $out .= "<span class=\"b-updatepage-switchver-inner\">". LJ::Lang::ml('talk.post.beta.turn.on') ."</span>";

Tags: anazarov, livejournal, nfokz, pm
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