aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/PageTemplates.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-01-27 06:21:29 +0700
committerGravatar Ugnich Anton2014-01-27 06:21:29 +0700
commit36c8ec33c09fbfd0f82a5a4121ef63ed1ec77457 (patch)
treeb6f33bc1a14a2ab8dbde89a2908a1243d741cc76 /src/java/com/juick/http/www/PageTemplates.java
parentf1e3d22f610640c9096ad182503ebb3a9f850f2b (diff)
Popular on the main page
Diffstat (limited to 'src/java/com/juick/http/www/PageTemplates.java')
-rw-r--r--src/java/com/juick/http/www/PageTemplates.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java
index 73910321..16a00d24 100644
--- a/src/java/com/juick/http/www/PageTemplates.java
+++ b/src/java/com/juick/http/www/PageTemplates.java
@@ -74,7 +74,7 @@ public class PageTemplates {
out.println("<div id=\"hwrapper\">");
out.println("<ul id=\"header\">");
if (user != null) {
- out.println(" <li><a href=\"/\"><div class=\"head-ico\" id=\"hi-home\"></div><label>" + rb.getString("Home") + "</label></a></li>");
+ out.println(" <li><a href=\"/?show=my\"><div class=\"head-ico\" id=\"hi-home\"></div><label>" + rb.getString("Home") + "</label></a></li>");
} else {
out.println(" <li><a href=\"/\"><div class=\"head-ico\" id=\"hi-logo\"></div></a></li>");
}
@@ -91,7 +91,7 @@ public class PageTemplates {
out.println(" <li class=\"right\"><a href=\"/" + user.UName + "\" class=\"wide\"><img src=\"//i.juick.com/as/" + user.UID + ".png\" alt=\"" + user.UName + "\"/><label>" + user.UName + "</label></a></li>");
out.println(" <li class=\"right\"><a href=\"/post\" class=\"wide\"><div class=\"head-ico\" id=\"hi-post\"></div><label>" + rb.getString("Post") + "</label></a></li>");
} else {
- out.println(" <li class=\"right\"><a href=\"/\" class=\"wide\" rel=\"nofollow\">" + rb.getString("Login") + "</a></li>");
+ out.println(" <li class=\"right\"><a href=\"/login\" class=\"wide\" rel=\"nofollow\">" + rb.getString("Login") + "</a></li>");
}
out.println("</ul>");
out.println("</div>");
@@ -180,12 +180,12 @@ public class PageTemplates {
out.println("<div id=\"column\" class=\"abs\">");
out.println(" <ul>");
if (visitor != null) {
- out.println(" <li><a href=\"/\">" + rb.getString("My feed") + "</a></li>");
+ out.println(" <li><a href=\"/?show=my\">" + rb.getString("My feed") + "</a></li>");
out.println(" <li><a href=\"/pm/inbox\">" + rb.getString("Private") + "</a> ยท <a href=\"/pm/sent\">" + rb.getString("Private sent") + "</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(" <li class=\"margtop\"><a href=\"/\">" + rb.getString("Popular") + "</a></li>");
out.println(" <li><a href=\"/?show=all\">" + rb.getString("All messages") + "</a></li>");
out.println(" </ul>");
out.println(" <hr/>");