- // Load template for stopped surfbar
- LOAD_TEMPLATE("surfbar_stopped", false, $content);
+ // Load template for "stats" page
+ LOAD_TEMPLATE('surfbar_frame_textlinks', false, $content);
+ } else {
+ // Prepare content
+ $content = array(
+ 'restart' => getConfig('surfbar_restart_time'),
+ 'start' => str_repeat('X', strlen(getConfig('surfbar_restart_time'))),
+ 'autostart' => (getConfig('surfbar_autostart') == 'Y') ? 'true' : 'false'
+ );
+
+ // Load template for stopped surfbar
+ LOAD_TEMPLATE('surfbar_stopped', false, $content);