madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22140: LJSUP-11909: Fast Repost feature

Committer: sbelyaev
LJSUP-11909: Fast Repost feature
U   trunk/cgi-bin/LJ/S2/DayPage.pm
U   trunk/cgi-bin/LJ/S2/EntryPage.pm
U   trunk/cgi-bin/LJ/S2/FriendsPage.pm
U   trunk/htdocs/editjournal.bml
Modified: trunk/cgi-bin/LJ/S2/DayPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/DayPage.pm	2012-05-31 13:27:21 UTC (rev 22139)
+++ trunk/cgi-bin/LJ/S2/DayPage.pm	2012-05-31 13:34:12 UTC (rev 22140)
@@ -48,6 +48,7 @@
     my $viewall = 0;
     my $viewsome = 0; # see public posts from suspended users
     if ($remote) {
+        LJ::need_string(qw/repost.confirm.delete/);
 
         # do they have the viewall priv?
         if ($get->{'viewall'} && LJ::check_priv($remote, "canview", "suspended")) {

Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm	2012-05-31 13:27:21 UTC (rev 22139)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm	2012-05-31 13:34:12 UTC (rev 22140)
@@ -91,7 +91,8 @@
             comment.mark.spam2.title
             comment.mark.spam2.subject
             comment.mark.spam2.button
-            comment.delete/
+            comment.delete
+            repost.confirm.delete/
         ));
     }
 

Modified: trunk/cgi-bin/LJ/S2/FriendsPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/FriendsPage.pm	2012-05-31 13:27:21 UTC (rev 22139)
+++ trunk/cgi-bin/LJ/S2/FriendsPage.pm	2012-05-31 13:34:12 UTC (rev 22140)
@@ -63,6 +63,9 @@
     my $ret;
 
     LJ::load_user_props($remote, "opt_nctalklinks", "opt_stylemine", "opt_imagelinks", "opt_ljcut_disable_friends");
+    if ($remote) {
+        LJ::need_string(qw/repost.confirm.delete/);
+    }
 
     my $itemshow = S2::get_property_value($opts->{'ctx'}, "page_friends_items")+0;
     if ($itemshow < 1) { $itemshow = 20; }

Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2012-05-31 13:27:21 UTC (rev 22139)
+++ trunk/htdocs/editjournal.bml	2012-05-31 13:34:12 UTC (rev 22140)
@@ -66,6 +66,7 @@
         LJ::need_res(qw(
                         stc/editjournal.css
                         ));
+        LJ::need_string(qw/repost.confirm.delete/);
     }
 
     # append months names tranlation to Site.ml_text['month.names.long']  

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