wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r21260: LJSUP-11380: There is link to New PhotoH...

Committer: wisest-owl
LJSUP-11380: There is link to New PhotoHosting

U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-02-28 10:55:58 UTC (rev 21259)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-02-28 11:56:21 UTC (rev 21260)
@@ -774,7 +774,7 @@
     };
 
     my $remote = LJ::get_remote();
-    $insert_image .= qq{
+    $insert_image .= ($remote && $remote->can_use_ljphoto) ? qq{
     <li class='image-beta'>
         <a
             href='javascript:void(0);'
@@ -784,7 +784,7 @@
             $BML::ML{'entryform.insert.image2'}
         </a>
     </li>
-    };
+    } : "";
 
     my $insert_media = '';
     unless ($LJ::DISABLED{embed_module}) {

Tags: livejournal, pm, wisest-owl
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