diff options
author | 2013-12-14 00:16:21 +0700 | |
---|---|---|
committer | 2013-12-14 00:16:21 +0700 | |
commit | 174f7d40d76ad138dbe2ffa81dd0e2d7cdaccd24 (patch) | |
tree | 564ab0a7edb140d4055af8a25b692e6fbc0a76fe /src/java/com/juick | |
parent | 522dc220a02c36e208935e9f6789c547616269e4 (diff) |
Link to advertising page
Diffstat (limited to 'src/java/com/juick')
-rw-r--r-- | src/java/com/juick/http/www/PageTemplates.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index 768406d9..3718bc9e 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -186,7 +186,7 @@ public class PageTemplates { public static void pageFooter(HttpServletRequest request, PrintWriter out, Locale loc, com.juick.User visitor, boolean sapeon) { ResourceBundle rb = ResourceBundle.getBundle("Global", loc); out.println("<div id=\"fwrapper\"><div id=\"footer\">"); - out.println(" <div id=\"footer-right\"><a href=\"/help/ru/contacts\" rel=\"nofollow\">" + rb.getString("Contacts") + "</a> · <a href=\"/help/\" rel=\"nofollow\">" + rb.getString("Help") + "</a></div>"); + out.println(" <div id=\"footer-right\"><a href=\"/help/ru/contacts\" rel=\"nofollow\">" + rb.getString("Contacts") + "</a> · <a href=\"/help/\" rel=\"nofollow\">" + rb.getString("Help") + "</a> · <a href=\"/help/ru/adv\" rel=\"nofollow\">" + rb.getString("Advertising") + "</a></div>"); out.print(" <div id=\"footer-left\">juick.com © 2008-2013"); if (sapeon && sape != null && (visitor == null || visitor.UID == 1) && request.getQueryString() == null) { String links = sape.getPageLinks(request.getRequestURI(), request.getCookies()).render(); @@ -450,7 +450,7 @@ public class PageTemplates { out.println(" <div class=\"msg-header\"><a href=\"/" + msg.User.UName + "/\">@" + msg.User.UName + "</a>:" + tags + "</div>"); out.print(" <div class=\"msg-ts\"><a href=\"/" + msg.User.UName + "/" + msg.MID + "\" title=\"" + msg.TimestampString + " GMT\">" + formatDate(msg.TimeAgo, msg.TimestampString, locale) + "</a>"); if (msg.MID == ad_mid) { - out.print(" · " + rb.getString("Sponsored")); + out.print(" · <a href=\"/help/ru/adv\">" + rb.getString("Sponsored") + "</a>"); } out.println("</div>"); |