diff options
author | Ugnich Anton | 2014-06-17 16:29:44 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-06-17 16:29:44 +0700 |
commit | 3ba6237fa51d77bd6da0557a19ca729e70d76d1c (patch) | |
tree | b39e06f9585f10b78a545179ff9ae5a7fcf3beb9 /src/java/com/juick/http/www/PM.java | |
parent | 186016ac2e03c10497e30c9a651dc9757108b489 (diff) |
- isMobileRequest;
- Dev
* blockquote -> q
Diffstat (limited to 'src/java/com/juick/http/www/PM.java')
-rw-r--r-- | src/java/com/juick/http/www/PM.java | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/java/com/juick/http/www/PM.java b/src/java/com/juick/http/www/PM.java index 2aa0e0f2..c587e5b1 100644 --- a/src/java/com/juick/http/www/PM.java +++ b/src/java/com/juick/http/www/PM.java @@ -56,11 +56,8 @@ public class PM { PrintWriter out = response.getWriter(); try { PageTemplates.pageHead(out, title, null); - - if (!Utils.isMobileRequest(request)) { - PageTemplates.pageNavigation(out, visitor, null); - PageTemplates.pageHomeColumn(out, sql, visitor); - } + PageTemplates.pageNavigation(out, visitor, null); + PageTemplates.pageHomeColumn(out, sql, visitor); out.println("<section id=\"content\">"); @@ -97,10 +94,7 @@ public class PM { 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(); @@ -132,7 +126,6 @@ public class PM { try { PageTemplates.pageHead(out, title, null); PageTemplates.pageNavigation(out, visitor, null); - PageTemplates.pageHomeColumn(out, sql, visitor); out.println("<section id=\"content\">"); |