From 3732f229c6dc4d56dc85cb01b104b28ff419ed5c Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Tue, 16 Oct 2012 13:06:36 +0700 Subject: message recomended by... --- src/java/com/juick/http/www/PageTemplates.java | 4 ++-- src/java/com/juick/http/www/UserThread.java | 25 ++++++++++++++++++------- 2 files changed, 20 insertions(+), 9 deletions(-) (limited to 'src/java/com/juick') diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index 08e88342..69fbb5ce 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -407,7 +407,7 @@ public class PageTemplates { out.println("
" + formatReplies(rs.getInt(10), locale) + " " + rb.getString("(replies) by") + " " + repliesby + "
"); } else if (cancomment) { out.println("
"); - out.println("
"); + out.println("
"); out.println("
"); } out.println(" "); @@ -417,7 +417,7 @@ public class PageTemplates { } finally { Utils.finishSQL(rs, stmt); } - } + } /* public static void printPhotos(PrintWriter out, Connection sql, ArrayList mids, Locale locale) { ResourceBundle rb = ResourceBundle.getBundle("Global", locale); diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java index 1680ca8e..320c62ba 100644 --- a/src/java/com/juick/http/www/UserThread.java +++ b/src/java/com/juick/http/www/UserThread.java @@ -141,6 +141,11 @@ public class UserThread { out.println(""); } @@ -230,7 +241,7 @@ public class UserThread { out.print("li').show(); $('#replies .msg-comments').hide(); return false\">" + rbuser.getString("Expand all") + " · " + rbuser.getString("View as list") + ""); } out.print(""); - out.println("

Replies (" + replies.size() + ")

"); + out.println("

"+rbuser.getString("Replies")+" (" + replies.size() + ")

"); out.println(""); out.println("