You are here

ajax_facets.theme.inc in Ajax facets 7.3

Theme functions for the Ajax Facets module.

File

ajax_facets.theme.inc
View source
<?php

/**
 * @file
 * Theme functions for the Ajax Facets module.
 */

/**
 * Theme function to render the input field for ranges.
 */
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>";
}

Functions

Namesort descending Description
theme_ajax_facets_ranges_input Theme function to render the input field for ranges.