diff options
author | Ugnich Anton | 2013-11-19 08:49:49 +0700 |
---|---|---|
committer | Ugnich Anton | 2013-11-19 08:49:49 +0700 |
commit | 11b8004d621d69b4e65b2efefc526b9900515738 (patch) | |
tree | e9941fbf16f767425b0f361978d09c41252804f4 /src/java/com/juick/http/www/PageTemplates.java | |
parent | 796c55d1591acc0188c0c269409d914f0dce12c5 (diff) |
small bugfix, search, -places
Diffstat (limited to 'src/java/com/juick/http/www/PageTemplates.java')
-rw-r--r-- | src/java/com/juick/http/www/PageTemplates.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index c7118277..d3733305 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -41,7 +41,7 @@ import ru.sape.Sape; public class PageTemplates { public static Sape sape = null; - private static SimpleDateFormat sdfSQL = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.S"); + private static SimpleDateFormat sdfSQL = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); private static SimpleDateFormat sdfSimple = new SimpleDateFormat("d MMM"); private static SimpleDateFormat sdfFull = new SimpleDateFormat("d MMM yyyy"); private static SimpleDateFormat sdfJS = new SimpleDateFormat("yyyy,MM,dd,HH,mm,ss"); @@ -454,9 +454,7 @@ public class PageTemplates { out.print(" · " + rb.getString("Sponsored")); } out.println("</div>"); - if (msg.Place != null) { - out.println(" <div class=\"msg-place\"><a href=\"/places/" + msg.Place.pid + "\">" + msg.Place.name + "</a></div>"); - } + out.print(" <div class=\"msg-txt\">" + txt + "</div>"); if (msg.AttachmentType != null) { |