From 7220b23f615acf5611c08cefed4fb453f4203177 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 30 Oct 2009 05:07:56 +0000 Subject: [PATCH] Fix --- inc/js/js-uberwach.php | 5 ++++- templates/de/html/uberwach/uberwach_snippet.tpl | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/inc/js/js-uberwach.php b/inc/js/js-uberwach.php index e85f11e284..70ba75ba3e 100644 --- a/inc/js/js-uberwach.php +++ b/inc/js/js-uberwach.php @@ -43,8 +43,11 @@ if (!defined('__SECURITY')) { return; } +// Detect remote address +$content['REMOTE_ADDR'] = detectRemoteAddr(); + // Simply load the JavaScript here -loadTemplate('js_uberwach'); +loadTemplate('js_uberwach', false, $content); // [EOF] ?> diff --git a/templates/de/html/uberwach/uberwach_snippet.tpl b/templates/de/html/uberwach/uberwach_snippet.tpl index fc08e3a29e..a0d348c573 100644 --- a/templates/de/html/uberwach/uberwach_snippet.tpl +++ b/templates/de/html/uberwach/uberwach_snippet.tpl @@ -1,7 +1,7 @@ -- 2.39.5