From 7add94ce00a43100f7c96d0dc65332ab98e3dc8e Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Tue, 23 Oct 2012 14:36:24 +0700 Subject: message location --- src/java/com/juick/http/www/PageTemplates.java | 3 +++ src/java/com/juick/http/www/UserThread.java | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/java') diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index 567bc639..b977cc0d 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -325,6 +325,9 @@ public class PageTemplates { out.println("
\""
"); out.println("
" + formatDate(rs.getInt(8), rs.getString(9), locale) + "
"); out.println("
@" + uname + ":" + tags + "
"); + if (rs.getString(14) != null) { + out.println("
" + rs.getString(14) + "
"); + } out.println("
" + txt + "
"); if (rs.getString(12) != null) { diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java index c335fcb9..d21060ab 100644 --- a/src/java/com/juick/http/www/UserThread.java +++ b/src/java/com/juick/http/www/UserThread.java @@ -139,6 +139,9 @@ public class UserThread { out.println("
\""
"); out.println("
" + PageTemplates.formatDate(rs.getInt(8), rs.getString(9), locale) + "
"); out.println("
@" + uname + ":" + tags + "
"); + if (rs.getString(13) != null) { + out.println("
" + rs.getString(14) + "
"); + } out.println("
" + txt + "
"); if (rs.getString(11) != null) { -- cgit v1.2.3