$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_static_time' => CREATE_TIME_SELECTIONS($_CONFIG['surfbar_static_time'] , "surfbar_static_time" , "ms"),
+ 'surfbar_static_lock' => CREATE_TIME_SELECTIONS($_CONFIG['surfbar_static_lock'] , "surfbar_static_lock" , "hm"),
+ 'surfbar_restart_time' => CREATE_TIME_SELECTIONS($_CONFIG['surfbar_restart_time'] , "surfbar_restart_time" , "ms"),
'surfbar_dynamic_percent' => TRANSLATE_COMMA($_CONFIG['surfbar_dynamic_percent']),
'surfbar_max_order' => $_CONFIG['surfbar_max_order'],
- // @TODO Rewrite this to tiny selection boxes
- 'surfbar_stats_reload' => $_CONFIG['surfbar_stats_reload'],
- // @TODO Rewrite this to tiny selection boxes
- 'surfbar_purge_deleted' => $_CONFIG['surfbar_purge_deleted'],
- // @TODO Rewrite this to tiny selection boxes
- 'surfbar_purge_migrated' => $_CONFIG['surfbar_purge_migrated'],
+ 'surfbar_stats_reload' => CREATE_TIME_SELECTIONS($_CONFIG['surfbar_stats_reload'] , "surfbar_stats_reload" , "ms"),
+ 'surfbar_purge_deleted' => CREATE_TIME_SELECTIONS($_CONFIG['surfbar_purge_deleted'] , "surfbar_purge_deleted" , "WDh"),
+ 'surfbar_purge_migrated' => CREATE_TIME_SELECTIONS($_CONFIG['surfbar_purge_migrated'], "surfbar_purge_migrated", "WDh"),
'surfbar_pause_url' => $_CONFIG['surfbar_pause_url'],
'surfbar_warn_low_points' => $_CONFIG['surfbar_warn_low_points'],
- // @TODO Rewrite this to tiny selection boxes
- 'surfbar_low_interval' => $_CONFIG['surfbar_low_interval'],
+ 'surfbar_low_interval' => CREATE_TIME_SELECTIONS($_CONFIG['surfbar_low_interval'] , "surfbar_low_interval" , "WDh"),
);
// Prepare payment model for template