Textlink updated in surfbar
authorRoland Häder <roland@mxchange.org>
Mon, 8 Sep 2008 20:30:55 +0000 (20:30 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 8 Sep 2008 20:30:55 +0000 (20:30 +0000)
surfbar.php
templates/de/html/surfbar/surfbar_frame_textlinks.tpl

index 3655fd5..e17d819 100644 (file)
@@ -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(
index f6f8f72..f54d30d 100644 (file)
@@ -1,7 +1,12 @@
 <table border="0" cellspacing="0" cellpadding="0" width="100%" class="surfbar_table">
 <tr>
        <td class="surfbar_td">
-               <!-- Maximal 18 Pixel Hoehe, gut geeignet fuer Textlinks! //-->
+               &raquo;Jetzt Online: <span class="surfbar_counter">$content[online]</span>&laquo;&nbsp;-&nbsp;<a
+                href="{!URL!}/modules.php?module=index&amp;what=impressum" target="_blank">Ihr Textlink
+                hier?</a>&nbsp;-&nbsp;<a href="{!URL!}/modules.php?module=index&amp;what=impressum"
+                target="_blank">Ihr Textlink hier?</a>&nbsp;-&nbsp;<a
+                href="{!URL!}/modules.php?module=index&amp;what=impressum" target="_blank">Ihr Textlink hier?</a>
+                       <!-- Maximal 18 Pixel Hoehe, gut geeignet fuer Textlinks! //-->
        </td>
 </tr>
 </table>