diff options
author | 2014-02-12 10:11:27 +0700 | |
---|---|---|
committer | 2014-02-12 10:11:27 +0700 | |
commit | c25951ec334d94a9471ad0f2575b7c8ee4e7e21a (patch) | |
tree | 83dcbb58a77df0872b24d94b564099c847b5451b /src/java/com | |
parent | 86872ed9bf88682538f98c4b47726ae297c5d7cb (diff) |
Home page titles
Diffstat (limited to 'src/java/com')
-rw-r--r-- | src/java/com/juick/http/www/Home.java | 4 |
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 = "Моя лента"; |