diff options
Diffstat (limited to 'src/java/com/juick/http/www/Blogs.java')
-rw-r--r-- | src/java/com/juick/http/www/Blogs.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/java/com/juick/http/www/Blogs.java b/src/java/com/juick/http/www/Blogs.java index 756088e2..548231ae 100644 --- a/src/java/com/juick/http/www/Blogs.java +++ b/src/java/com/juick/http/www/Blogs.java @@ -74,6 +74,7 @@ public class Blogs { return; } } else if (requesturi.startsWith("/places/")) { + //TODO перенести сюда блок, который страницей ниже } int paramBefore = 0; @@ -164,7 +165,7 @@ public class Blogs { PrintWriter out = response.getWriter(); try { PageTemplates.pageHead(out, title, null); - PageTemplates.pageNavigation(out, locale, visitor); + PageTemplates.pageNavigation(out, locale, visitor, paramSearch); out.println("<div id=\"topwrapper\">"); out.println("<div id=\"wrapper\">"); @@ -185,6 +186,9 @@ public class Blogs { if (paramShow != null) { nextpage += "&show=" + paramShow; } + if (paramSearch != null) { + nextpage += "&search=" + URLEncoder.encode(paramSearch, "UTF-8"); + } out.println("<p class=\"page\"><a href=\"" + nextpage + "\">Older →</a></p>"); } |