From a79fc75a2304a53e5418b25607ccabbecad929c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 8 Sep 2008 20:30:55 +0000 Subject: [PATCH] Textlink updated in surfbar --- surfbar.php | 9 +++++++++ templates/de/html/surfbar/surfbar_frame_textlinks.tpl | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/surfbar.php b/surfbar.php index 3655fd58ac..e17d81953b 100644 --- a/surfbar.php +++ b/surfbar.php @@ -95,6 +95,15 @@ if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_install // Load template for "stats" page LOAD_TEMPLATE("surfbar_frame_stats", false, $content); + } elseif ((isset($_GET['frame'])) && ($_GET['frame'] == "textlinks")) { + // Prepare content + $content = array( + 'online' => SURFBAR_DETERMINE_TOTAL_ONLINE(), + 'reload' => ($_CONFIG['surfbar_stats_reload'] * 1000) + ); + + // Load template for "stats" page + LOAD_TEMPLATE("surfbar_frame_textlinks", false, $content); } else { // Prepare content $content = array( diff --git a/templates/de/html/surfbar/surfbar_frame_textlinks.tpl b/templates/de/html/surfbar/surfbar_frame_textlinks.tpl index f6f8f72c3a..f54d30d444 100644 --- a/templates/de/html/surfbar/surfbar_frame_textlinks.tpl +++ b/templates/de/html/surfbar/surfbar_frame_textlinks.tpl @@ -1,7 +1,12 @@
- + »Jetzt Online: $content[online]« - Ihr Textlink + hier? - Ihr Textlink hier? - Ihr Textlink hier? +
-- 2.30.2