From 19425425c418c080fd8db265907a8579c2e13a7c Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Tue, 26 Nov 2013 15:32:49 +0700 Subject: -video --- src/java/com/juick/http/www/UserThread.java | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'src/java/com/juick/http/www/UserThread.java') diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java index c7158f39..4862bd6c 100644 --- a/src/java/com/juick/http/www/UserThread.java +++ b/src/java/com/juick/http/www/UserThread.java @@ -136,11 +136,7 @@ public class UserThread { out.println("
" + txt + "
"); if (msg.AttachmentType != null) { - if (msg.AttachmentType.equals("mp4")) { - out.println("
\"\"/
"); - } else { - out.println("
\"\"/
"); - } + out.println("
\"\"/
"); } boolean visitorInBL = false; @@ -305,11 +301,7 @@ public class UserThread { out.println("
" + PageTemplates.formatDate(msg.TimeAgo, msg.TimestampString, locale) + "
"); out.println("
" + PageTemplates.formatMessage(msg.Text) + "
"); if (msg.AttachmentType != null) { - if (msg.AttachmentType.equals("mp4")) { - out.println("
\"\"/
"); - } else { - out.println("
\"\"/
"); - } + out.println("
\"\"/
"); } if (msg.VisitorCanComment) { out.println("
" + rb.getString("Comment") + "
"); @@ -347,11 +339,7 @@ public class UserThread { out.println("
" + PageTemplates.formatDate(msg.TimeAgo, msg.TimestampString, locale) + "
"); out.println("
" + PageTemplates.formatMessage(msg.Text) + "
"); if (msg.AttachmentType != null) { - if (msg.AttachmentType.equals("mp4")) { - out.println("
\"\"/
"); - } else { - out.println("
\"\"/
"); - } + out.println("
\"\"/
"); } out.print("
/" + msg.RID); if (msg.ReplyTo > 0) { -- cgit v1.2.3