- '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'],
- // @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_pause_url' => $_CONFIG['surfbar_pause_url'],
- 'surfbar_warn_low_points' => $_CONFIG['surfbar_warn_low_points']
+ 'surfbar_static_reward' => translateComma(getConfig('surfbar_static_reward')),
+ 'surfbar_static_costs' => translateComma(getConfig('surfbar_static_costs')),
+ 'surfbar_static_time' => createTimeSelections(getConfig('surfbar_static_time') , 'surfbar_static_time' , 'ms' , 'left'),
+ 'surfbar_static_lock' => createTimeSelections(getConfig('surfbar_static_lock') , 'surfbar_static_lock' , 'hm' , 'left'),
+ 'surfbar_restart_time' => createTimeSelections(getConfig('surfbar_restart_time') , 'surfbar_restart_time' , 'ms' , 'left'),
+ 'surfbar_dynamic_percent' => translateComma(getConfig('surfbar_dynamic_percent')),
+ 'surfbar_max_order' => getConfig('surfbar_max_order'),
+ 'surfbar_stats_reload' => createTimeSelections(getConfig('surfbar_stats_reload') , 'surfbar_stats_reload' , 'ms' , 'left'),
+ 'surfbar_purge_deleted' => createTimeSelections(getConfig('surfbar_purge_deleted') , 'surfbar_purge_deleted' , 'WDh', 'left'),
+ 'surfbar_purge_migrated' => createTimeSelections(getConfig('surfbar_purge_migrated'), 'surfbar_purge_migrated', 'WDh', 'left'),
+ 'surfbar_pause_url' => getConfig('surfbar_pause_url'),
+ 'surfbar_warn_low_points' => getConfig('surfbar_warn_low_points'),
+ 'surfbar_low_interval' => createTimeSelections(getConfig('surfbar_low_interval') , 'surfbar_low_interval' , 'WDh', 'left'),