X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_surfbar.php;h=e4a40f8023c71ffbb8a2f2299b78c40f32d750cf;hb=df8cb42d2d579310d1ccfb562b8f30eafdb2618e;hp=e82ababe57c41d23935cdf23cf3375132ceea986;hpb=fb54237bf1d0c0a7435ad4322a4ac40f3bd72eba;p=mailer.git diff --git a/inc/modules/admin/what-config_surfbar.php b/inc/modules/admin/what-config_surfbar.php index e82ababe57..e4a40f8023 100644 --- a/inc/modules/admin/what-config_surfbar.php +++ b/inc/modules/admin/what-config_surfbar.php @@ -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 * @@ -53,10 +53,15 @@ if (isset($_POST['ok'])) { $content = array( 'surfbar_static_reward' => TRANSLATE_COMMA($_CONFIG['surfbar_static_reward']), 'surfbar_static_costs' => TRANSLATE_COMMA($_CONFIG['surfbar_static_costs']), + // @TODO Rewrite this to tiny selection boxes 'surfbar_static_time' => $_CONFIG['surfbar_static_time'], + // @TODO Rewrite this to tiny selection boxes + '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 @@ -70,15 +75,15 @@ if (isset($_POST['ok'])) { define('__CONFIG_SURFBAR_PAY_MODEL_DYNAMIC', " checked=\"checked\""); } - // Prepare admin notify - if ($_CONFIG['surfbar_notify_admin_unlock'] == "Y") { + // Prepare auto-sart + if ($_CONFIG['surfbar_autostart'] == "Y") { // Yes selected - define('__CONFIG_SURFBAR_NOTIFY_ADMIN_UNLOCK_Y' , " checked=\"checked\""); - define('__CONFIG_SURFBAR_NOTIFY_ADMIN_UNLOCK_N', ""); + define('__CONFIG_SURFBAR_AUTOSTART_Y' , " checked=\"checked\""); + define('__CONFIG_SURFBAR_AUTOSTART_N', ""); } else { // No selected - define('__CONFIG_SURFBAR_NOTIFY_ADMIN_UNLOCK_Y' , ""); - define('__CONFIG_SURFBAR_NOTIFY_ADMIN_UNLOCK_N', " checked=\"checked\""); + define('__CONFIG_SURFBAR_AUTOSTART_Y' , ""); + define('__CONFIG_SURFBAR_AUTOSTART_N', " checked=\"checked\""); } // Load template