aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/Home.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/juick/http/www/Home.java')
-rw-r--r--src/java/com/juick/http/www/Home.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/java/com/juick/http/www/Home.java b/src/java/com/juick/http/www/Home.java
index 1319a135..75eeb941 100644
--- a/src/java/com/juick/http/www/Home.java
+++ b/src/java/com/juick/http/www/Home.java
@@ -91,9 +91,11 @@ public class Home {
PrintWriter out = response.getWriter();
try {
PageTemplates.pageHead(out, title, null);
- PageTemplates.pageNavigation(out, visitor, paramSearch);
- PageTemplates.pageHomeColumn(out, sql, visitor);
+ if (!Utils.isMobileRequest(request)) {
+ PageTemplates.pageNavigation(out, visitor, paramSearch);
+ PageTemplates.pageHomeColumn(out, sql, visitor);
+ }
out.println("<section id=\"content\">");
@@ -135,7 +137,10 @@ public class Home {
out.println("</section>");
- PageTemplates.pageFooter(request, out, visitor, true);
+ if (!Utils.isMobileRequest(request)) {
+ PageTemplates.pageFooter(request, out, visitor, true);
+ }
+
PageTemplates.pageDialogTemplate(out);
PageTemplates.pageEnd(out);
} finally {