Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r19935: LJSUP-8857: Updating commenting form

Committer: amyshkin
LJSUP-8857: Updating commenting form
U   trunk/cgi-bin/LJ/S2/EntryPage.pm
U   trunk/htdocs/talkread.bml
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm	2011-09-02 03:27:09 UTC (rev 19934)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm	2011-09-02 03:32:07 UTC (rev 19935)
@@ -12,15 +12,16 @@
     my $get = $opts->{'getargs'};
 
     if ( $get->{'screen'} ) {
-        LJ::need_string(qw{
+        LJ::need_string(qw(
             /talkpost_do.bml.success.screened.comm.anon2
             /talkpost_do.bml.success.screened.comm2
             /talkpost_do.bml.success.screened.user.anon2
             /talkpost_do.bml.success.screened.user2
-            /talkpost.bml.quote.info.message
-        });
+        ));
     }
 
+    LJ::need_string(qw(/talkpost.bml.quote.info.message));
+
     my $p = Page($u, $opts);
     $p->{'_type'}         = "EntryPage";
     $p->{'view'}          = "entry";

Modified: trunk/htdocs/talkread.bml
===================================================================
--- trunk/htdocs/talkread.bml	2011-09-02 03:27:09 UTC (rev 19934)
+++ trunk/htdocs/talkread.bml	2011-09-02 03:32:07 UTC (rev 19935)
@@ -249,15 +249,18 @@
     }
 
     if ( $GET{'screen'} ) {
-        LJ::need_string(qw{
+        LJ::need_string(qw(
             /talkpost_do.bml.success.screened.comm.anon2
             /talkpost_do.bml.success.screened.comm2
             /talkpost_do.bml.success.screened.user.anon2
             /talkpost_do.bml.success.screened.user2
-            /talkpost.bml.quote.info.message
-        });
+        ));
     }
 
+    LJ::need_string(qw(
+        /talkpost.bml.quote.info.message
+    ));
+
     my $showmultiform = $remote &&
                         ($remote->{'user'} eq $u->{'user'} ||
                          $remote->{'user'} eq $up->{'user'} ||

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