pass all network page vars to the client to build ajax queries, change timeago variable names so as not to conflict with item timers.

This commit is contained in:
friendica
2012-07-23 16:47:35 -07:00
parent d4ee086806
commit d8e79061d6
4 changed files with 53 additions and 37 deletions

View File

@@ -698,23 +698,23 @@ function previewTheme(elm) {
$(document).ready(function() {
jQuery.timeago.settings.strings = {
prefixAgo: t01,
prefixFromNow: t02,
suffixAgo: t03,
suffixFromNow: t04,
seconds: t05,
minute: t06,
minutes: t07,
hour: t08,
hours: t09,
day: t10,
days: t11,
month: t12,
months: t13,
year: t14,
years: t15,
wordSeparator: t16,
numbers: t17
prefixAgo: tago01,
prefixFromNow: tago02,
suffixAgo: tago03,
suffixFromNow: tago04,
seconds: tago05,
minute: tago06,
minutes: tago07,
hour: tago08,
hours: tago09,
day: tago10,
days: tago11,
month: tago12,
months: tago13,
year: tago14,
years: tago15,
wordSeparator: tago16,
numbers: tago17
};