Naming-inconsistency fixed
authorRoland Häder <roland@mxchange.org>
Wed, 16 Dec 2009 01:19:25 +0000 (01:19 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 16 Dec 2009 01:19:25 +0000 (01:19 +0000)
index.php
templates/de/html/index_forward.tpl

index df23da6..9082484 100644 (file)
--- a/index.php
+++ b/index.php
@@ -79,8 +79,8 @@ if ((isSessionVariableSet('visited')) || (getConfig('index_delay') > -1)) {
        // Shall I insert an automated forward?
        if (getConfig('index_delay') > 0) {
                // This will be a JavaScript-redirect!
-               $content['delay'] = (getConfig('index_delay') * 1000 + 500);
-               $content['mod']   = 'index';
+               $content['delay']  = (getConfig('index_delay') * 1000 + 500);
+               $content['module'] = 'index';
 
                // Load template
                loadTemplate('index_forward', false, $content);
index dde18d7..3c58945 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript">
 <!--
 function Load () {
-       document.location.href = '{%url,js=modules.ph?module=$content[mode]%}';
+       document.location.href = '{%url,js=modules.ph?module=$content[module]%}';
 }
 
 window.setTimeout("Load()", $content[delay]);