You are here

function theme_ajax_facets_ranges_input in Ajax facets 7.3

Theme function to render the input field for ranges.

1 theme call to theme_ajax_facets_ranges_input()
FacetapiAjaxWidgetRanges::execute in plugins/facetapi/ajax_widget_ranges.inc
Implements FacetapiWidget::execute().

File

./ajax_facets.theme.inc, line 11
Theme functions for the Ajax Facets module.

Code

function theme_ajax_facets_ranges_input($variables) {
  $output = !empty($variables['title']) ? '<label>' . $variables['title'] . '</label>' : '';
  $output .= '<input type="text" ' . drupal_attributes($variables['attributes']) . ' value="' . $variables['value'] . '" />';
  return "<p>{$output}</p>";
}