aboutsummaryrefslogtreecommitdiff
path: root/src/java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-10-24 21:10:51 +0700
committerGravatar Ugnich Anton2013-10-24 21:10:51 +0700
commitd91993206614320bfea5b72b0a486b0adb9b965a (patch)
tree2c71e292f7e4c7ad01ffcb1221fa6cebb9d43b1a /src/java
parent23ed8e10c1ced621413f116d3a324a2758949ec8 (diff)
PM reply form; bugfixes.
Diffstat (limited to 'src/java')
-rw-r--r--src/java/Blogs.properties1
-rw-r--r--src/java/Blogs_ru.properties1
-rw-r--r--src/java/Global.properties3
-rw-r--r--src/java/Global_ru.properties3
-rw-r--r--src/java/com/juick/http/www/Home.java5
-rw-r--r--src/java/com/juick/http/www/PageTemplates.java4
6 files changed, 9 insertions, 8 deletions
diff --git a/src/java/Blogs.properties b/src/java/Blogs.properties
index d5c6fd26..22ce41d5 100644
--- a/src/java/Blogs.properties
+++ b/src/java/Blogs.properties
@@ -12,3 +12,4 @@ Recommended=Recommended
All\ messages=All messages
Popular=Popular
With\ photos=With photos
+LoginToReadMore=Sign in to read more
diff --git a/src/java/Blogs_ru.properties b/src/java/Blogs_ru.properties
index b42f32f5..afcea809 100644
--- a/src/java/Blogs_ru.properties
+++ b/src/java/Blogs_ru.properties
@@ -12,3 +12,4 @@ Recommended=\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u
All\ messages=\u0412\u0441\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f
Popular=\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435
With\ photos=\u0421 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f\u043c\u0438
+LoginToReadMore=\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0443\u0439\u0442\u0435\u0441\u044c, \u0447\u0442\u043e\u0431\u044b \u0447\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435
diff --git a/src/java/Global.properties b/src/java/Global.properties
index afb765df..dfc159c2 100644
--- a/src/java/Global.properties
+++ b/src/java/Global.properties
@@ -28,5 +28,4 @@ Recommend\ message=Recommend message
in\ reply\ to=in reply to
(Dialog)\ Link\ to\ message=Permanent link to this message
(Dialog)\ Message\ number=Message number
-(Dialog)\ Share=Share in social networks
-LoginToReadMore=Sign in to read more
+(Dialog)\ Share=Share in social networks \ No newline at end of file
diff --git a/src/java/Global_ru.properties b/src/java/Global_ru.properties
index 84b12e5c..cae0a5e6 100644
--- a/src/java/Global_ru.properties
+++ b/src/java/Global_ru.properties
@@ -28,5 +28,4 @@ Recommend\ message=\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\
in\ reply\ to=\u0432 \u043e\u0442\u0432\u0435\u0442 \u043d\u0430
(Dialog)\ Link\ to\ message=\u041f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u044d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435
(Dialog)\ Message\ number=\u041d\u043e\u043c\u0435\u0440 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f
-(Dialog)\ Share=\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0432 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u044f\u0445
-LoginToReadMore=\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0443\u0439\u0442\u0435\u0441\u044c, \u0447\u0442\u043e\u0431\u044b \u0447\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435
+(Dialog)\ Share=\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0432 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u044f\u0445 \ No newline at end of file
diff --git a/src/java/com/juick/http/www/Home.java b/src/java/com/juick/http/www/Home.java
index dae573ca..d2500993 100644
--- a/src/java/com/juick/http/www/Home.java
+++ b/src/java/com/juick/http/www/Home.java
@@ -85,9 +85,10 @@ public class Home {
out.println("<script type=\"text/javascript\">");
out.println("var hash='" + Utils.getCookie(request, "hash") + "';");
out.println("var user_id=" + visitor.UID + ";");
+ out.println("var user_name='" + visitor.UName + "';");
out.println("var lastConversations=" + lastConvJSON + ";");
- out.println("</script>");
-
+ out.println("</script>");
+
out.println("<div id=\"topwrapper\">");
out.println("<div id=\"wrapper\">");
out.println("<div id=\"content\">");
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java
index 3e08cd97..93eda04d 100644
--- a/src/java/com/juick/http/www/PageTemplates.java
+++ b/src/java/com/juick/http/www/PageTemplates.java
@@ -50,10 +50,10 @@ public class PageTemplates {
out.println("<!DOCTYPE html>");
out.print("<html>");
out.print("<head>");
- out.print("<link rel=\"stylesheet\" href=\"/style.2013102403.css\"/>");
+ out.print("<link rel=\"stylesheet\" href=\"/style.2013102404.css\"/>");
out.print("<script type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js\" defer=\"defer\"></script>");
out.print("<script type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js\" defer=\"defer\" async=\"async\"></script>");
- out.print("<script type=\"text/javascript\" src=\"/scripts.2013102401.js\" defer=\"defer\"></script>");
+ out.print("<script type=\"text/javascript\" src=\"/scripts.2013102404.js\" defer=\"defer\"></script>");
if (headers != null) {
out.print(headers);
}