// 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);
<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]);