From d8e79061d69b7c1dc2c2b0e50e15e21948950ba2 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 23 Jul 2012 16:47:35 -0700 Subject: pass all network page vars to the client to build ajax queries, change timeago variable names so as not to conflict with item timers. --- js/main.js | 34 +++++++++++++++++----------------- mod/network.php | 20 ++++++++++++++++++-- version.inc | 2 +- view/head.tpl | 34 +++++++++++++++++----------------- 4 files changed, 53 insertions(+), 37 deletions(-) diff --git a/js/main.js b/js/main.js index 453b5920e..cea87f5ff 100644 --- a/js/main.js +++ b/js/main.js @@ -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 }; diff --git a/mod/network.php b/mod/network.php index a3121b3ad..6b92d9b85 100644 --- a/mod/network.php +++ b/mod/network.php @@ -501,6 +501,7 @@ function network_content(&$a, $update = 0) { $a->page['htmlhead'] .= " -- cgit v1.2.3