Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[ljcom] r10419: LJSUP-8605: reply link was removed from ...

Committer: mchervonniy
LJSUP-8605: reply link was removed from spammed comment
U   trunk/bin/upgrading/s2layers/voxhtml/layout.s2
Modified: trunk/bin/upgrading/s2layers/voxhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2011-04-21 08:12:16 UTC (rev 10418)
+++ trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2011-04-21 08:25:39 UTC (rev 10419)
@@ -2493,7 +2493,7 @@
 
     if ($e.frozen) {
         print safe " $sep $*text_comment_frozen";
-    } else {
+    } elseif ((not $e.spam) or ($p.showspam)) {
         " $sep "; 
         
         ###$e->print_reply_link({"linktext" => $*text_comment_reply});
@@ -2510,7 +2510,7 @@
     }
 
     if ($e.parent_url) { print """ $sep <a href="$e.parent_url">$*text_comment_parent</a>"""; }
-    if ($e.thread_url) {
+    if (($e.thread_url != "") and (not $e.spam)) {
         print """ $sep <a href="$e.thread_url">$*text_comment_thread</a>""";
         #var Link expand_link = $e->get_link("expand_comments");
         #if (defined $expand_link) {

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