Committer: mchervonniy
LJSUP-8605: reply link was removed from spammed commentU 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) {