function theme_system_date_time_settings


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/
cis7 theme_system_date_time_settings($variables)
cle7 theme_system_date_time_settings($variables)
elmsmedia7 theme_system_date_time_settings($variables)
icor7 theme_system_date_time_settings($variables)
meedjum_blog7 theme_system_date_time_settings($variables)
mooc7 theme_system_date_time_settings($variables)

Returns HTML for the date settings form.


$variables: An associative array containing:

  • form: A render element representing the form.

Related topics

3 string references to the theme hook from theme_system_date_time_settings()

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.

hook_theme in modules/system/system.api.php
Register a module (or theme's) theme implementations.
system_menu in modules/system/system.module
Implements hook_menu().
system_theme in modules/system/system.module
Implements hook_theme().


modules/system/, line 2072
Admin page callbacks for the system module.


function theme_system_date_time_settings($variables) {
  $form = $variables['form'];
  $header = array(
    t('Date type'),

  foreach (element_children($form['format']) as $key) {
    $delete_key = $key . '_delete';
    $row = array();
    $row[] = $form['format'][$key]['#title'];
    $form['format'][$key]['#title_display'] = 'invisible';
    $row[] = array('data' => drupal_render($form['format'][$key]));
    $row[] = array('data' => drupal_render($form['delete'][$delete_key]));
    $rows[] = $row;

  $output = theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => array('id' => 'system-date-types')));
  $output .= drupal_render_children($form);

  return $output;