aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/Home.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-06-17 16:29:44 +0700
committerGravatar Ugnich Anton2014-06-17 16:29:44 +0700
commit3ba6237fa51d77bd6da0557a19ca729e70d76d1c (patch)
treeb39e06f9585f10b78a545179ff9ae5a7fcf3beb9 /src/java/com/juick/http/www/Home.java
parent186016ac2e03c10497e30c9a651dc9757108b489 (diff)
- isMobileRequest;
- Dev * blockquote -> q
Diffstat (limited to 'src/java/com/juick/http/www/Home.java')
-rw-r--r--src/java/com/juick/http/www/Home.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/java/com/juick/http/www/Home.java b/src/java/com/juick/http/www/Home.java
index 3931fd24..db8b0b2c 100644
--- a/src/java/com/juick/http/www/Home.java
+++ b/src/java/com/juick/http/www/Home.java
@@ -94,11 +94,8 @@ public class Home {
PrintWriter out = response.getWriter();
try {
PageTemplates.pageHead(out, title, null);
-
- if (!Utils.isMobileRequest(request)) {
- PageTemplates.pageNavigation(out, visitor, paramSearch);
- PageTemplates.pageHomeColumn(out, sql, visitor);
- }
+ PageTemplates.pageNavigation(out, visitor, paramSearch);
+ PageTemplates.pageHomeColumn(out, sql, visitor);
out.println("<section id=\"content\">");
@@ -153,10 +150,7 @@ public class Home {
out.println("</section>");
- if (!Utils.isMobileRequest(request)) {
- PageTemplates.pageFooter(request, out, visitor, true);
- }
-
+ PageTemplates.pageFooter(request, out, visitor, true);
PageTemplates.pageEnd(out);
} finally {
out.close();