diff --git a/includes/theme.inc b/includes/theme.inc index 430df08..15e19c3 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -391,47 +391,6 @@ function theme_radix_icon($variables) { } /** - * Implements theme_input_group(). - */ -function theme_radix_input_group($variables) { - $element = $variables['element']; - - $output = '' . "\n"; - - if (in_array($element['#title_display'], array('invisible', 'before'))) { - $output .= theme('form_element_label', $variables); - } - elseif ($element['#title_display'] == 'input-group-before') { - if (empty($element['#field_prefix'])) { - $element['#field_prefix'] = ''; - } - $element['#field_prefix'] = theme('form_element_label', $variables) . $element['#field_prefix']; - } - elseif ($element['#title_display'] == 'input-group-after') { - if (empty($element['#field_suffix'])) { - $element['#field_suffix'] = ''; - } - $element['#field_suffix'] .= theme('form_element_label', $variables); - } - - $output .= empty($element['#field_prefix']) ? '' : theme('radix_input_group_addon', array('content' => $element['#field_prefix'])); - $output .= $element['#children']; - $output .= empty($element['#field_suffix']) ? '' : theme('radix_input_group_addon', array('content' => $element['#field_suffix'])); - - if ($element['#title_display'] == 'after') { - $output .= theme('form_element_label', $variables); - } - - if (!empty($element['#description'])) { - $output .= '' . $element['#description'] . "\n"; - } - - $output .= "\n"; - - return $output; -} - -/** * Implements theme_input_group_addon(). */ function theme_radix_input_group_addon($variables) {