diff options
Diffstat (limited to 'src/java/com/juick/http/www/PM.java')
-rw-r--r-- | src/java/com/juick/http/www/PM.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/java/com/juick/http/www/PM.java b/src/java/com/juick/http/www/PM.java index 6d8e04ba..8dbe1036 100644 --- a/src/java/com/juick/http/www/PM.java +++ b/src/java/com/juick/http/www/PM.java @@ -56,9 +56,11 @@ public class PM { PrintWriter out = response.getWriter(); try { PageTemplates.pageHead(out, title, null); - PageTemplates.pageNavigation(out, visitor, null); - PageTemplates.pageHomeColumn(out, sql, visitor); + if (!Utils.isMobileRequest(request)) { + PageTemplates.pageNavigation(out, visitor, null); + PageTemplates.pageHomeColumn(out, sql, visitor); + } out.println("<section id=\"content\">"); @@ -95,7 +97,10 @@ public class PM { 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 { |