function theme_date

×

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

Returns HTML for a date selection form element.

Parameters

$variables: An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #title, #value, #options, #description, #required, #attributes.

Related topics

2 theme calls to theme_date()
date_popup_process_date_part in sites/all/modules/ulmus/date/date_popup/date_popup.module
Process the date portion of the element.
theme_date_display_combination in sites/all/modules/ulmus/date/date.theme
Returns HTML for a date element formatted as a Start/End combination.
175 string references to the theme hook from theme_date()

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.

adaptivetheme_preprocess_node in sites/all/themes/ulmus/adaptivetheme/at_core/inc/preprocess.inc
Preprocess variables for node.tpl.php
advagg_validator_parse_soap_response_w3c in sites/all/modules/ulmus/advagg/advagg_validator/advagg_validator.inc
Parse an XML response from the validator.
bef_test_content_field_default_field_bases in sites/all/modules/ulmus/better_exposed_filters/tests/bef_test_content/bef_test_content.features.field_base.inc
Implements hook_field_default_field_bases().
bef_test_content_field_default_field_instances in sites/all/modules/ulmus/better_exposed_filters/tests/bef_test_content/bef_test_content.features.field_instance.inc
Implements hook_field_default_field_instances().
cis_connector_views_views_default_views in sites/all/modules/elmsln_contrib/cis_connector/features/cis_connector_views/cis_connector_views.views_default.inc
Implements hook_views_default_views().

... See full list

File

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

Code

function theme_date($variables) {
  $element = $variables['element'];

  $attributes = array();
  if (isset($element['#id'])) {
    $attributes['id'] = $element['#id'];
  }
  if (!empty($element['#attributes']['class'])) {
    $attributes['class'] = (array) $element['#attributes']['class'];
  }
  $attributes['class'][] = 'container-inline';

  return '<div' . drupal_attributes($attributes) . '>' . drupal_render_children($element) . '</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.