From 3ba6237fa51d77bd6da0557a19ca729e70d76d1c Mon Sep 17 00:00:00 2001
From: Ugnich Anton
Date: Tue, 17 Jun 2014 16:29:44 +0700
Subject: - isMobileRequest; - Dev * blockquote -> q
---
src/java/com/juick/http/www/PM.java | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
(limited to 'src/java/com/juick/http/www/PM.java')
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("");
@@ -97,10 +94,7 @@ public class PM {
out.println("");
- 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("