diff options
author | 2012-12-25 14:13:19 +0700 | |
---|---|---|
committer | 2012-12-25 14:13:19 +0700 | |
commit | e7bb9f71fa5401c3f07e97f0ad1ea21b7b8897ac (patch) | |
tree | 81318a75579d753bbd6135a5a7d9c4959112b912 /src/java | |
parent | 14ad66efa9f692023ae6982e3fa1d67c3c0aad11 (diff) |
CSS optimization
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/com/juick/http/www/Blogs.java | 2 | ||||
-rw-r--r-- | src/java/com/juick/http/www/PageTemplates.java | 27 |
2 files changed, 15 insertions, 14 deletions
diff --git a/src/java/com/juick/http/www/Blogs.java b/src/java/com/juick/http/www/Blogs.java index 3260a2cb..0250a157 100644 --- a/src/java/com/juick/http/www/Blogs.java +++ b/src/java/com/juick/http/www/Blogs.java @@ -135,7 +135,7 @@ public class Blogs { out.println("<div id=\"wrapper\">"); out.println("<div id=\"content\">"); - PageTemplates.pageFilters(out, locale, visitor); + //PageTemplates.pageFilters(out, locale, visitor); if (mids.size() > 0) { /* diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index 10b372a0..e907efcb 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -89,21 +89,22 @@ public class PageTemplates { out.println("</div>"); out.println("</div>"); } - + /* public static void pageFilters(PrintWriter out, Locale loc, com.juick.User user) { - ResourceBundle rb = ResourceBundle.getBundle("Global", loc); - - out.println("<div id=\"filters\">"); - out.println("<ul>"); - out.println(" <li><a href=\"#\">Messages</a></li>"); - out.println(" <li><a href=\"#\">Photos</a></li>"); - out.println(" <li><a href=\"#\">Recommendations</a></li>"); - out.println(" <li><a href=\"#\">Private</a></li>"); - out.println(" <li><a href=\"#\">Tags</a></li>"); - out.println(" <li><a href=\"#\">Users</a></li>"); - out.println("</ul>"); - out.println("</div>"); + ResourceBundle rb = ResourceBundle.getBundle("Global", loc); + + out.println("<div id=\"filters\">"); + out.println("<ul>"); + out.println(" <li><a href=\"#\">Messages</a></li>"); + out.println(" <li><a href=\"#\">Photos</a></li>"); + out.println(" <li><a href=\"#\">Recommendations</a></li>"); + out.println(" <li><a href=\"#\">Private</a></li>"); + out.println(" <li><a href=\"#\">Tags</a></li>"); + out.println(" <li><a href=\"#\">Users</a></li>"); + out.println("</ul>"); + out.println("</div>"); } + */ public static void pageUserTitle(PrintWriter out, Connection sql, Locale loc, com.juick.User user, com.juick.User visitor) { ResourceBundle rb = ResourceBundle.getBundle("User", loc); |