aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/PM.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-01-27 05:59:17 +0700
committerGravatar Ugnich Anton2014-01-27 05:59:17 +0700
commit3b388f8b3add54e794bd37172a6973e69a55778d (patch)
tree557ad56c8544302dfb97ef6cb2dbfff0e3582430 /src/java/com/juick/http/www/PM.java
parenta5b5fe42c3ccef860ac56527dfcb79a3a0ecbfa4 (diff)
- discover, pageHomeColumn
Diffstat (limited to 'src/java/com/juick/http/www/PM.java')
-rw-r--r--src/java/com/juick/http/www/PM.java24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/java/com/juick/http/www/PM.java b/src/java/com/juick/http/www/PM.java
index bc43f1ee..b874c065 100644
--- a/src/java/com/juick/http/www/PM.java
+++ b/src/java/com/juick/http/www/PM.java
@@ -103,17 +103,7 @@ public class PM {
out.println("</div>");
out.println("</div>"); // wrapper
- out.println("<div id=\"column\" class=\"abs\">");
- out.println(" <ul>");
- out.println(" <li><a href=\"/\">" + rb.getString("My feed") + "</a></li>");
- out.println(" <li><a href=\"/?show=private\">" + rb.getString("Private") + "</a></li>");
- out.println(" <li><a href=\"/?show=discuss\">" + rb.getString("Discussions") + "</a></li>");
- out.println(" <li><a href=\"/?show=recommended\">" + rb.getString("Recommended") + "</a></li>");
- out.println(" <li class=\"margtop\"><a href=\"/?show=top\">" + rb.getString("Popular") + "</a></li>");
- out.println(" </ul>");
- out.println(" <hr/>");
- out.println(" <ul id=\"pmulist\"></ul>");
- out.println("</div>");
+ PageTemplates.pageHomeColumn(out, sql, locale);
out.println("</div>"); // topwrapper
@@ -196,17 +186,7 @@ public class PM {
out.println("</div>");
out.println("</div>"); // wrapper
- out.println("<div id=\"column\" class=\"abs\">");
- out.println(" <ul>");
- out.println(" <li><a href=\"/\">" + rb.getString("My feed") + "</a></li>");
- out.println(" <li><a href=\"/?show=private\">" + rb.getString("Private") + "</a></li>");
- out.println(" <li><a href=\"/?show=discuss\">" + rb.getString("Discussions") + "</a></li>");
- out.println(" <li><a href=\"/?show=recommended\">" + rb.getString("Recommended") + "</a></li>");
- out.println(" <li class=\"margtop\"><a href=\"/?show=top\">" + rb.getString("Popular") + "</a></li>");
- out.println(" </ul>");
- out.println(" <hr/>");
- out.println(" <ul id=\"pmulist\"></ul>");
- out.println("</div>");
+ PageTemplates.pageHomeColumn(out, sql, locale);
out.println("</div>"); // topwrapper