public static function settings_field_type()
{
$current = Falcon::get_option('bbsub_handler_type', false);
$available = Falcon::get_handlers();
if (empty($available)) {
echo '<p class="error">' . __('No handlers are available!', 'falcon') . '</p>';
}
echo '<select name="bbsub_handler_type" id="bbsub_options_global_type">';
echo '<option>' . _x('None', 'handler', 'falcon') . '</option>';
foreach ($available as $type => $class) {
echo '<option value="' . esc_attr($type) . '"' . selected($current, $type) . '>' . esc_html($class::get_name()) . '</option>';
}
echo '</select>';
}