aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/Home.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-02-12 10:11:27 +0700
committerGravatar Ugnich Anton2014-02-12 10:11:27 +0700
commitc25951ec334d94a9471ad0f2575b7c8ee4e7e21a (patch)
tree83dcbb58a77df0872b24d94b564099c847b5451b /src/java/com/juick/http/www/Home.java
parent86872ed9bf88682538f98c4b47726ae297c5d7cb (diff)
Home page titles
Diffstat (limited to 'src/java/com/juick/http/www/Home.java')
-rw-r--r--src/java/com/juick/http/www/Home.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/com/juick/http/www/Home.java b/src/java/com/juick/http/www/Home.java
index eb40be61..1240e62e 100644
--- a/src/java/com/juick/http/www/Home.java
+++ b/src/java/com/juick/http/www/Home.java
@@ -57,7 +57,11 @@ public class Home {
title = "Поиск: " + Utils.encodeHTML(paramSearch);
mids = MessagesQueries.getSearch(sql, sqlSearch, Utils.encodeSphinx(paramSearch), paramBefore);
} else if (paramShow == null || paramShow.equals("top")) {
+ if(visitor!=null) {
title = "Популярные";
+ } else {
+ title="Микроблоги Juick: популярные записи";
+ }
mids = MessagesQueries.getPopular(sql, paramBefore);
} else if (paramShow.equals("my") && visitor != null) {
title = "Моя лента";