From 9d4dd4e844fbe7aa74bbabf7bbdd32989472bbc0 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Sun, 20 Apr 2014 14:12:55 +0700 Subject: UserThread: nofollow, canonical --- src/java/com/juick/http/www/UserThread.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java index 93a793c5..efec8899 100644 --- a/src/java/com/juick/http/www/UserThread.java +++ b/src/java/com/juick/http/www/UserThread.java @@ -67,7 +67,11 @@ public class UserThread { response.setContentType("text/html; charset=UTF-8"); PrintWriter out = response.getWriter(); try { - PageTemplates.pageHead(out, title, ""); + String headers = ""; + if (paramView != null) { + headers += ""; + } + PageTemplates.pageHead(out, title, headers); if (!Utils.isMobileRequest(request)) { PageTemplates.pageNavigation(out, visitor, null); @@ -243,12 +247,12 @@ public class UserThread { out.println("
"); out.print("
"); if (listview) { - out.print("Показать деревом"); + out.print("Показать деревом"); } else { if (foldable) { out.print("li').show(); $('#replies .msg-comments').hide(); $('#unfoldall').hide(); return false\">Раскрыть все · "); } - out.print("Показать списком"); + out.print("Показать списком"); } out.print("
"); out.println("

Ответы (" + replies.size() + ")

"); -- cgit v1.2.3