function theme_checkboxes

×

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_checkboxes($variables)
cle7 form.inc theme_checkboxes($variables)
elmsmedia7 form.inc theme_checkboxes($variables)
icor7 form.inc theme_checkboxes($variables)
meedjum_blog7 form.inc theme_checkboxes($variables)
mooc7 form.inc theme_checkboxes($variables)

Returns HTML for a set of checkbox form elements.

Parameters

$variables: An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #children, #attributes.

Related topics

131 string references to the theme hook from theme_checkboxes()

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_form_field_ui_field_edit_form_alter in sites/all/modules/ulmus/accessibility/modules/accessibility_content/accessibility_content.module
Implements hook_form_FORM_ID_alter().
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
admin_menu_theme_settings in sites/all/modules/ulmus/admin_menu/admin_menu.inc
Form builder function for module settings.
aggregator_admin_form in modules/aggregator/aggregator.admin.inc
Form constructor for the aggregator system settings.

... See full list

File

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

Code

function theme_checkboxes($variables) {
  $element = $variables['element'];
  $attributes = array();
  if (isset($element['#id'])) {
    $attributes['id'] = $element['#id'];
  }
  $attributes['class'][] = 'form-checkboxes';
  if (!empty($element['#attributes']['class'])) {
    $attributes['class'] = array_merge($attributes['class'], $element['#attributes']['class']);
  }
  if (isset($element['#attributes']['title'])) {
    $attributes['title'] = $element['#attributes']['title'];
  }
  return '<div' . drupal_attributes($attributes) . '>' . (!empty($element['#children']) ? $element['#children'] : '') . '</div>';
}
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.