You are here

function theme_translation_table_filter in Translation table 6

Same name and namespace in other branches
  1. 7 includes/theme.inc \theme_translation_table_filter()

Theme function for the basic filter form.

File

includes/theme.inc, line 75
The functions.

Code

function theme_translation_table_filter($form) {
  $output = '<div id="translation-table-filter">';
  foreach (element_children($form) as $key) {
    $attributes = drupal_attributes(array(
      'id' => 'translation-table-' . str_replace('_', '-', $key) . '-filter',
      'class' => 'translation-table-filter',
    ));
    $output .= "<div {$attributes}>";
    $output .= drupal_render($form[$key]);
    $output .= '</div>';
  }
  $output .= '</div>';
  return $output;
}