function theme_fieldset

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 form.inc theme_fieldset($variables)
cle7 form.inc theme_fieldset($variables)
elmsmedia7 form.inc theme_fieldset($variables)
icor7 form.inc theme_fieldset($variables)
meedjum_blog7 form.inc theme_fieldset($variables)
mooc7 form.inc theme_fieldset($variables)

Returns HTML for a fieldset form element and its children.

Parameters

$variables: An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #attributes, #children, #collapsed, #collapsible, #description, #id, #title, #value.

Related topics

4 theme calls to theme_fieldset()
theme_date_combo in sites/all/modules/ulmus/date/date.theme
Returns HTML for a start/end date combination on form.
theme_options in sites/all/modules/ulmus/options_element/options_element.inc
Theme an options element.
theme_select_as_checkboxes_fieldset in sites/all/modules/ulmus/better_exposed_filters/better_exposed_filters.theme
Themes a select element as checkboxes enclosed in a collapsible fieldset.
theme_select_as_radios_fieldset in sites/all/modules/ulmus/better_exposed_filters/better_exposed_filters.theme
Themes a select element as radio buttons enclosed in a collapsible fieldset.
352 string references to the theme hook from theme_fieldset()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

accessibility_admin_filter_form in sites/all/modules/ulmus/accessibility/accessibility.admin.inc
Form to filter accessibility tests.
accessibility_content_admin_form in sites/all/modules/ulmus/accessibility/modules/accessibility_content/accessibility_content.admin.inc
accessibility_tests_list in sites/all/modules/ulmus/accessibility/accessibility.admin.inc
Form for importing tests.
adaptivetheme_form_search_form_alter in sites/all/themes/ulmus/adaptivetheme/at_core/inc/alter.inc
hook_form_FORM_ID_alter() Modify the Advanced Search Form
addanother_form_node_type_form_alter in sites/all/modules/ulmus/addanother/addanother.module
Alter content type settings to add our options.

... See full list

File

includes/form.inc, line 2808
Functions for form and batch generation and processing.

Code

function theme_fieldset($variables) {
  $element = $variables['element'];
  element_set_attributes($element, array('id'));
  _form_set_class($element, array('form-wrapper'));

  $output = '<fieldset' . drupal_attributes($element['#attributes']) . '>';
  if (!empty($element['#title'])) {
    // Always wrap fieldset legends in a SPAN for CSS positioning.
    $output .= '<legend><span class="fieldset-legend">' . $element['#title'] . '</span></legend>';
  }
  $output .= '<div class="fieldset-wrapper">';
  if (!empty($element['#description'])) {
    $output .= '<div class="fieldset-description">' . $element['#description'] . '</div>';
  }
  $output .= $element['#children'];
  if (isset($element['#value'])) {
    $output .= $element['#value'];
  }
  $output .= '</div>';
  $output .= "</fieldset>\n";
  return $output;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.