aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/UserThread.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/juick/http/www/UserThread.java')
-rw-r--r--src/java/com/juick/http/www/UserThread.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java
index 095612d7..cf1ae76a 100644
--- a/src/java/com/juick/http/www/UserThread.java
+++ b/src/java/com/juick/http/www/UserThread.java
@@ -64,15 +64,21 @@ public class UserThread {
PrintWriter out = response.getWriter();
try {
PageTemplates.pageHead(out, title, "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"@" + msg.User.UName + "\" href=\"//rss.juick.com/" + msg.User.UName + "/blog\"/>");
- PageTemplates.pageNavigation(out, visitor, null);
+
+ if (!Utils.isMobileRequest(request)) {
+ PageTemplates.pageNavigation(out, visitor, null);
+ }
out.println("<section id=\"content\" style=\"margin-left: 0; width: 100%\">");
printMessage(out, sql, msg, visitor);
printReplies(out, sql, msg, visitor, listview);
out.println("</section>");
+ if (!Utils.isMobileRequest(request)) {
+ PageTemplates.pageFooter(request, out, visitor, false);
+ }
+
PageTemplates.pageDialogTemplate(out);
- PageTemplates.pageFooter(request, out, visitor, false);
PageTemplates.pageEnd(out);
} finally {
out.close();