function theme_date_combo

×

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 date.theme theme_date_combo($variables)
cle7 date.theme theme_date_combo($variables)
elmsmedia7 date.theme theme_date_combo($variables)
icor7 date.theme theme_date_combo($variables)
meedjum_blog7 date.theme theme_date_combo($variables)
mooc7 date.theme theme_date_combo($variables)

Returns HTML for a start/end date combination on form.

Related topics

3 string references to the theme hook from theme_date_combo()

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.

date_element_info in sites/all/modules/ulmus/date/date.module
Implements hook_element_info().
date_field_widget_form in sites/all/modules/ulmus/date/date_elements.inc
Private implementation of hook_widget().
date_theme in sites/all/modules/ulmus/date/date.module
Implements hook_theme().

File

sites/all/modules/ulmus/date/date.theme, line 368
Theme functions.

Code

function theme_date_combo($variables) {
  $element = $variables['element'];
  $field = field_info_field($element['#field_name']);
  $instance = field_info_instance($element['#entity_type'], $element['#field_name'], $element['#bundle']);

  // Group start/end items together in fieldset.
  $fieldset = array(
    '#title' => t($element['#title']) . ' ' . ($element['#delta'] > 0 ? intval($element['#delta'] + 1) : ''),
    '#value' => '',
    '#description' => !empty($element['#fieldset_description']) ? $element['#fieldset_description'] : '',
    '#attributes' => array(),
    '#children' => $element['#children'],
  );
  // Add marker to required date fields.
  if ($element['#required']) {
    $fieldset['#title'] .= " " . theme('form_required_marker');
  }
  return theme('fieldset', array('element' => $fieldset));
}
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.