]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_surfbar.php
CSS class admin_footer now centered, a lot templates rewritten
[mailer.git] / inc / modules / admin / what-config_surfbar.php
index 6ad36f950fdfb078e02fbb9ca6a127ac99d36612..1cd75f1270cddb5414a29bdb80f1ac936e6c9085 100644 (file)
@@ -12,7 +12,7 @@
  * -------------------------------------------------------------------- *
  *                                                                      *
  * -------------------------------------------------------------------- *
- * Copyright (c) 2003, 2004, 2005, 2006, 2007 by Roland Haeder          *
+ * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -59,7 +59,9 @@ if (isset($_POST['ok'])) {
                'surfbar_restart_time'    => $_CONFIG['surfbar_restart_time'],
                'surfbar_static_lock'     => $_CONFIG['surfbar_static_lock'],
                'surfbar_dynamic_percent' => TRANSLATE_COMMA($_CONFIG['surfbar_dynamic_percent']),
-               'surfbar_max_order'       => $_CONFIG['surfbar_max_order']
+               'surfbar_max_order'       => $_CONFIG['surfbar_max_order'],
+               // @TODO Rewrite this to tiny selection boxes
+               'surfbar_stats_reload'    => $_CONFIG['surfbar_stats_reload']
        );
 
        // Prepare payment model for template
@@ -84,6 +86,17 @@ if (isset($_POST['ok'])) {
                define('__CONFIG_SURFBAR_NOTIFY_ADMIN_UNLOCK_N', " checked=\"checked\"");
        }
 
+       // Prepare auto-sart
+       if ($_CONFIG['surfbar_autostart'] == "Y") {
+               // Yes selected
+               define('__CONFIG_SURFBAR_AUTOSTART_Y' , " checked=\"checked\"");
+               define('__CONFIG_SURFBAR_AUTOSTART_N', "");
+       } else {
+               // No selected
+               define('__CONFIG_SURFBAR_AUTOSTART_Y' , "");
+               define('__CONFIG_SURFBAR_AUTOSTART_N', " checked=\"checked\"");
+       }
+
        // Load template
        LOAD_TEMPLATE("admin_config_surfbar", false, $content);
 }