aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/UserThread.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2012-12-26 14:30:03 +0700
committerGravatar Ugnich Anton2012-12-26 14:30:03 +0700
commit9adb555fe41f6322310be1fea406d9d8d44acafe (patch)
treebcc81e6bebdb607ec5f0651379adf78e97214f16 /src/java/com/juick/http/www/UserThread.java
parentf4bbf04c16efada11d1d371f0b6abc2f30780bc7 (diff)
New tags URLs
Diffstat (limited to 'src/java/com/juick/http/www/UserThread.java')
-rw-r--r--src/java/com/juick/http/www/UserThread.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java
index c796767a..dcdb66da 100644
--- a/src/java/com/juick/http/www/UserThread.java
+++ b/src/java/com/juick/http/www/UserThread.java
@@ -72,7 +72,7 @@ public class UserThread {
out.println("<div id=\"wrapper\">");
out.println("<div id=\"content\" style=\"margin-left: 0; width: 100%\">");
- com.juick.Message msg = printMessage(out, sql, MID, visitor, locale);
+ com.juick.Message msg = printMessage(out, sql, user, MID, visitor, locale);
printReplies(out, sql, msg, visitor, locale, listview);
out.println("</div>");
@@ -86,7 +86,7 @@ public class UserThread {
}
}
- public static com.juick.Message printMessage(PrintWriter out, Connection sql, int mid, com.juick.User visitor, Locale locale) {
+ public static com.juick.Message printMessage(PrintWriter out, Connection sql, com.juick.User user, int mid, com.juick.User visitor, Locale locale) {
ResourceBundle rb = ResourceBundle.getBundle("Global", locale);
ResourceBundle rbthread = ResourceBundle.getBundle("UserThread", locale);
@@ -94,7 +94,7 @@ public class UserThread {
msg.VisitorCanComment = visitor != null;
- String tags = (msg.Tags.isEmpty()) ? "" : PageTemplates.formatTags(msg.Tags);
+ String tags = (msg.Tags.isEmpty()) ? "" : PageTemplates.formatTags(msg.Tags, user);
if (msg.ReadOnly) {
tags += " *readonly";
msg.VisitorCanComment = false;