From c25951ec334d94a9471ad0f2575b7c8ee4e7e21a Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Wed, 12 Feb 2014 10:11:27 +0700 Subject: Home page titles --- src/java/com/juick/http/www/Home.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/java/com/juick/http') 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 = "Моя лента"; -- cgit v1.2.3