diff options
-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 = "Моя лента"; |