From 80dc112383a88def23eb95e34e3d7f739994bd3b Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Fri, 31 Jan 2014 01:01:48 +0700 Subject: New header design --- src/java/com/juick/http/www/Discover.java | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/java/com/juick/http/www/Discover.java') diff --git a/src/java/com/juick/http/www/Discover.java b/src/java/com/juick/http/www/Discover.java index 98f46656..ca6415ff 100644 --- a/src/java/com/juick/http/www/Discover.java +++ b/src/java/com/juick/http/www/Discover.java @@ -74,9 +74,9 @@ public class Discover { PageTemplates.pageHead(out, title, null); PageTemplates.pageNavigation(out, locale, visitor, null); - out.println("
"); - out.println("
"); - out.println("
"); + PageTemplates.pageHomeColumn(out, sql, visitor, locale); + + out.println("
"); if (mids.size() > 0) { out.println("
    "); @@ -88,14 +88,10 @@ public class Discover { String nextpage = "?before=" + mids.get(mids.size() - 1); out.println("

    Older →

    "); } - PageTemplates.pageFooter(request, out, locale, visitor, true); - out.println("
"); - out.println("
"); // wrapper - PageTemplates.pageHomeColumn(out, sql, visitor, locale); - - out.println("
"); // topwrapper + out.println(""); + PageTemplates.pageFooter(request, out, locale, visitor, true); PageTemplates.pageDialogTemplate(out, locale); PageTemplates.pageEnd(out); } finally { -- cgit v1.2.3