From ade66d36ff43112c06b13e484d029724354f7ae4 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Mon, 27 Jan 2014 06:04:15 +0700 Subject: pageHomeColumn anonymous fix --- src/java/com/juick/http/www/Discover.java | 2 +- src/java/com/juick/http/www/Home.java | 2 +- src/java/com/juick/http/www/PM.java | 4 ++-- src/java/com/juick/http/www/PageTemplates.java | 12 +++++++----- 4 files changed, 11 insertions(+), 9 deletions(-) (limited to 'src/java/com/juick') diff --git a/src/java/com/juick/http/www/Discover.java b/src/java/com/juick/http/www/Discover.java index 5e24889b..98f46656 100644 --- a/src/java/com/juick/http/www/Discover.java +++ b/src/java/com/juick/http/www/Discover.java @@ -92,7 +92,7 @@ public class Discover { out.println(""); out.println(""); // wrapper - PageTemplates.pageHomeColumn(out, sql, locale); + PageTemplates.pageHomeColumn(out, sql, visitor, locale); out.println(""); // topwrapper diff --git a/src/java/com/juick/http/www/Home.java b/src/java/com/juick/http/www/Home.java index 8bf30af5..6833aebb 100644 --- a/src/java/com/juick/http/www/Home.java +++ b/src/java/com/juick/http/www/Home.java @@ -139,7 +139,7 @@ public class Home { out.println(""); out.println(""); // wrapper - PageTemplates.pageHomeColumn(out, sql, locale); + PageTemplates.pageHomeColumn(out, sql, visitor, locale); out.println(""); // topwrapper diff --git a/src/java/com/juick/http/www/PM.java b/src/java/com/juick/http/www/PM.java index b874c065..5c0f67f9 100644 --- a/src/java/com/juick/http/www/PM.java +++ b/src/java/com/juick/http/www/PM.java @@ -103,7 +103,7 @@ public class PM { out.println(""); out.println(""); // wrapper - PageTemplates.pageHomeColumn(out, sql, locale); + PageTemplates.pageHomeColumn(out, sql, visitor, locale); out.println(""); // topwrapper @@ -186,7 +186,7 @@ public class PM { out.println(""); out.println(""); // wrapper - PageTemplates.pageHomeColumn(out, sql, locale); + PageTemplates.pageHomeColumn(out, sql, visitor, locale); out.println(""); // topwrapper diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index f1a1b29d..73910321 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -170,7 +170,7 @@ public class PageTemplates { out.println(""); } - public static void pageHomeColumn(PrintWriter out, Connection sql, Locale locale) { + public static void pageHomeColumn(PrintWriter out, Connection sql, com.juick.User visitor, Locale locale) { ResourceBundle rb = ResourceBundle.getBundle("Blogs", locale); if (tagsHTML == null) { @@ -179,10 +179,12 @@ public class PageTemplates { out.println("
"); out.println(" "); -- cgit v1.2.3