madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22401: LJSUP-12636: Add line under repost title...

Committer: sbelyaev
LJSUP-12636: Add line under repost title
U   trunk/cgi-bin/ljviews.pl
Modified: trunk/cgi-bin/ljviews.pl
===================================================================
--- trunk/cgi-bin/ljviews.pl	2012-07-06 07:24:35 UTC (rev 22400)
+++ trunk/cgi-bin/ljviews.pl	2012-07-06 09:32:10 UTC (rev 22401)
@@ -1302,8 +1302,10 @@
                          'subject'           => \$subject,
                          'removed'           => \$removed,
                          'reply_count'       => \$replycount };
+                         
+        my $repost_props = { 'use_repost_signature' => 1};
 
-        if (LJ::Entry::Repost->substitute_content( $entry_obj, $content )) {
+        if (LJ::Entry::Repost->substitute_content( $entry_obj, $content, $repost_props )) {
             next ENTRY if $removed && !LJ::u_equals($u, $remote);
             next ENTRY unless $entry_obj->visible_to($remote, {'viewall'  => $viewall, 
                                                                'viewsome' => $viewsome});
@@ -1900,7 +1902,9 @@
                          'reply_count'       => \$replycount,
                          'cluster_id'        => \$clusterid, };
 
-        if (LJ::Entry::Repost->substitute_content( $entry_obj, $content )) {
+        my $repost_props = { 'use_repost_signature' => 1};
+
+        if (LJ::Entry::Repost->substitute_content( $entry_obj, $content, $repost_props )) {
             $friendid = $journalu->userid;
             $logprops{$itemid} = $entry_obj->props;
             $friends{$friendid} = $journalu;
@@ -2752,7 +2756,9 @@
                          'removed'           => \$removed,
                          'reply_count'       => \$replycount };
 
-        if (LJ::Entry::Repost->substitute_content( $entry_obj, $content )) {
+        my $repost_props = { 'use_repost_signature' => 1};
+ 
+        if (LJ::Entry::Repost->substitute_content( $entry_obj, $content, $repost_props )) {
             next ENTRY if $removed;
             $username = $entry_obj->poster->user;
             $logprops{$itemid} = $entry_obj->props;

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