Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r19263: LJSUP-8984: Sort by poster - contextual ...

Committer: gariev
LJSUP-8984: Sort by poster - contextual popup

U   trunk/bin/upgrading/en.dat
U   trunk/cgi-bin/weblib.pl
Modified: trunk/bin/upgrading/en.dat
===================================================================
--- trunk/bin/upgrading/en.dat	2011-06-09 03:12:07 UTC (rev 19262)
+++ trunk/bin/upgrading/en.dat	2011-06-09 04:06:16 UTC (rev 19263)
@@ -2858,6 +2858,10 @@
 
 lynx.nav.update=Update Journal
 
+ml_filter_by_poster=Filter community by poster
+
+ml_filter_by_poster_me=Filter community by me
+
 multisearch.error.no_query|staleness=1
 multisearch.error.no_query=There is no any query provided
 

Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2011-06-09 03:12:07 UTC (rev 19262)
+++ trunk/cgi-bin/weblib.pl	2011-06-09 04:06:16 UTC (rev 19263)
@@ -1392,12 +1392,13 @@
 
     # include standard JS info
     unless ( $only_needed ) {
-        my $jsml_out = LJ::JSON->to_json(\%LJ::JSML);
         my %journal_info;
         if (my $journalu = LJ::get_active_journal()) {
+            LJ::need_string('ml_filter_by_poster_me', 'ml_filter_by_poster');
             %journal_info = $journalu->info_for_js;
         }
         my $journal_info_json = LJ::JSON->to_json(\%journal_info);
+        my $jsml_out = LJ::JSON->to_json(\%LJ::JSML);
         $ret .= qq {
             <script type="text/javascript">
                 Site = window.Site || {};

Tags: dat, gariev, livejournal, pl
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