Committer: sbelyaev
LJSUP-11909: Fast Repost featureU 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/cgi-bin/LJ/S2/RecentPage.pm U trunk/cgi-bin/ljviews.pl
Modified: trunk/cgi-bin/LJ/S2/DayPage.pm =================================================================== --- trunk/cgi-bin/LJ/S2/DayPage.pm 2012-06-04 13:52:16 UTC (rev 22160) +++ trunk/cgi-bin/LJ/S2/DayPage.pm 2012-06-04 13:53:51 UTC (rev 22161) @@ -48,7 +48,9 @@ my $viewall = 0; my $viewsome = 0; # see public posts from suspended users if ($remote) { - LJ::need_string(qw/repost.confirm.delete/); + LJ::need_string(qw/repost.confirm.delete + confirm.bubble.yes + confirm.bubble.no/); # 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-06-04 13:52:16 UTC (rev 22160) +++ trunk/cgi-bin/LJ/S2/EntryPage.pm 2012-06-04 13:53:51 UTC (rev 22161) @@ -92,7 +92,9 @@ comment.mark.spam2.subject comment.mark.spam2.button comment.delete - repost.confirm.delete/ + repost.confirm.delete + confirm.bubble.yes + confirm.bubble.no/ )); } Modified: trunk/cgi-bin/LJ/S2/FriendsPage.pm =================================================================== --- trunk/cgi-bin/LJ/S2/FriendsPage.pm 2012-06-04 13:52:16 UTC (rev 22160) +++ trunk/cgi-bin/LJ/S2/FriendsPage.pm 2012-06-04 13:53:51 UTC (rev 22161) @@ -64,7 +64,9 @@ LJ::load_user_props($remote, "opt_nctalklinks", "opt_stylemine", "opt_imagelinks", "opt_ljcut_disable_friends"); if ($remote) { - LJ::need_string(qw/repost.confirm.delete/); + LJ::need_string(qw/repost.confirm.delete + confirm.bubble.yes + confirm.bubble.no/); } my $itemshow = S2::get_property_value($opts->{'ctx'}, "page_friends_items")+0; Modified: trunk/cgi-bin/LJ/S2/RecentPage.pm =================================================================== --- trunk/cgi-bin/LJ/S2/RecentPage.pm 2012-06-04 13:52:16 UTC (rev 22160) +++ trunk/cgi-bin/LJ/S2/RecentPage.pm 2012-06-04 13:53:51 UTC (rev 22161) @@ -56,7 +56,9 @@ LJ::load_user_props($remote, "opt_nctalklinks", "opt_ljcut_disable_lastn"); if ($remote) { - LJ::need_string(qw/repost.confirm.delete/); + LJ::need_string(qw/repost.confirm.delete + confirm.bubble.yes + confirm.bubble.no/); } my $get = $opts->{'getargs'}; Modified: trunk/cgi-bin/ljviews.pl =================================================================== --- trunk/cgi-bin/ljviews.pl 2012-06-04 13:52:16 UTC (rev 22160) +++ trunk/cgi-bin/ljviews.pl 2012-06-04 13:53:51 UTC (rev 22161) @@ -1271,7 +1271,10 @@ my $replace_video = $remote ? $remote->opt_embedplaceholders : 0; # spit out the S1 + LJ::need_string(qw/confirm.bubble.yes + confirm.bubble.no/); + ENTRY: foreach my $item (@items) { my ($posterid, $itemid, $security, $alldatepart) = @@ -1848,6 +1851,10 @@ my $lastday = -1; my $eventnum = 0; + LJ::need_string(qw/confirm.bubble.yes + confirm.bubble.no/); + + ENTRY: foreach my $item (@items) { @@ -2409,6 +2416,9 @@ LJ::fill_var_props($vars, 'CALENDAR_YEAR_LINKS', { "years" => $yearlinks }); } + LJ::need_string(qw/confirm.bubble.yes + confirm.bubble.no/); + foreach my $year (@years) { $$months .= LJ::fill_var_props($vars, 'CALENDAR_NEW_YEAR', {