yokcel (yokcel) wrote in changelog,
yokcel
yokcel
changelog

[ljcom] r13044: LJSUP-14540: Author of original post not...

Committer: ybuhvalova
LJSUP-14540: Author of original post not shows in repost in Expressive themes
U   trunk/bin/upgrading/s2layers/voxhtml/layout.s2
Modified: trunk/bin/upgrading/s2layers/voxhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2012-12-13 11:07:31 UTC (rev 13043)
+++ trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2012-12-13 13:11:44 UTC (rev 13044)
@@ -2317,9 +2317,12 @@
             $posted = $posted + colored_ljuser($e.poster, $bgcolor, $fgcolor) + "<br />";
         }
         $posted = $posted + colored_ljuser($e.journal, $bgcolor, $fgcolor);
-    } else {
+    } else { 
+        if ($e.poster.username != $p.journal.username or $e.reposted_by != "") {
+            $posted = $posted + $e.poster + "<br />";
+            }
         if (not $e.poster->equals($e.journal)) {
-            $posted = $posted + $e.poster;
+            $posted = $posted + $e.journal;
         }
     }
     print "$posted";

Tags: ljcom, s2, ybuhvalova, yokcel
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