diff --git a/core/modules/system/lib/Drupal/system/Form/ModulesListForm.php b/core/modules/system/lib/Drupal/system/Form/ModulesListForm.php
index 98a5060..fcec672 100644
--- a/core/modules/system/lib/Drupal/system/Form/ModulesListForm.php
+++ b/core/modules/system/lib/Drupal/system/Form/ModulesListForm.php
@@ -117,18 +117,21 @@ public function buildForm(array $form, array &$form_state) {
// Add a wrapper around every package.
foreach (element_children($form['modules']) as $package) {
- $form['modules'][$package] += array(
- '#type' => 'details',
- '#title' => $this->t($package),
- '#theme' => 'system_modules_details',
+ $table = array(
+ '#type' => 'table',
'#header' => array(
array('data' => '' . $this->t('Installed') . '', 'class' => array('checkbox')),
array('data' => $this->t('Name'), 'class' => array('name')),
array('data' => $this->t('Description'), 'class' => array('description', RESPONSIVE_PRIORITY_LOW)),
),
- '#attributes' => array('class' => array('package-listing')),
+ ) + $form['modules'][$package];
+ $form['modules'][$package] = array(
+ '#type' => 'details',
+ '#title' => $this->t($package),
// Ensure that the "Core" package comes first.
'#weight' => $package == 'Core' ? -10 : NULL,
+ '#attributes' => array('class' => array('package-listing')),
+ 'table' => $table,
);
}
@@ -159,23 +162,19 @@ public function buildForm(array $form, array &$form_state) {
*/
protected function buildRow(array $modules, $module, $distribution) {
// Set the basic properties.
- $row['#required'] = array();
- $row['#requires'] = array();
- $row['#required_by'] = array();
-
- $row['name']['#markup'] = $module->info['name'];
- $row['description']['#markup'] = $this->t($module->info['description']);
- $row['version']['#markup'] = $module->info['version'];
+ $row['#version'] = $module->info['version'];
+ $row['#requires'] = isset($extra['#requires']) ? $extra['#requires'] : FALSE;
+ $row['#required_by'] = isset($extra['#required_by']) ? $extra['#required_by'] : FALSE;
// Add links for each module.
// Used when checking if a module implements a help page.
$help = $this->moduleHandler->moduleExists('help') ? drupal_help_arg() : FALSE;
// Generate link for module's help page, if there is one.
- $row['links']['help'] = array();
+ $extra['links']['help'] = array();
if ($help && $module->status && in_array($module->name, $this->moduleHandler->getImplementations('help'))) {
if ($this->moduleHandler->invoke($module->name, 'help', array("admin/help#$module->name", $help))) {
- $row['links']['help'] = array(
+ $extra['links']['help'] = array(
'#type' => 'link',
'#title' => $this->t('Help'),
'#href' => "admin/help/$module->name",
@@ -185,9 +184,9 @@ protected function buildRow(array $modules, $module, $distribution) {
}
// Generate link for module's permission, if the user has access to it.
- $row['links']['permissions'] = array();
+ $extra['links']['permissions'] = array();
if ($module->status && user_access('administer permissions') && in_array($module->name, $this->moduleHandler->getImplementations('permission'))) {
- $row['links']['permissions'] = array(
+ $extra['links']['permissions'] = array(
'#type' => 'link',
'#title' => $this->t('Permissions'),
'#href' => 'admin/people/permissions',
@@ -196,11 +195,11 @@ protected function buildRow(array $modules, $module, $distribution) {
}
// Generate link for module's configuration page, if it has one.
- $row['links']['configure'] = array();
+ $extra['links']['configure'] = array();
if ($module->status && isset($module->info['configure'])) {
if ($this->accessManager->checkNamedRoute($module->info['configure'])) {
$item = menu_get_item(trim($this->url($module->info['configure']), '/'));
- $row['links']['configure'] = array(
+ $extra['links']['configure'] = array(
'#type' => 'link',
'#title' => $this->t('Configure'),
'#route_name' => $module->info['configure'],
@@ -217,7 +216,7 @@ protected function buildRow(array $modules, $module, $distribution) {
// Present a checkbox for installing and indicating the status of a module.
$row['enable'] = array(
'#type' => 'checkbox',
- '#title' => $this->t('Install'),
+ //'#title' => $this->t('Install'),
'#default_value' => (bool) $module->status,
'#disabled' => (bool) $module->status,
);
@@ -226,7 +225,7 @@ protected function buildRow(array $modules, $module, $distribution) {
if (!empty($module->info['required'])) {
// Used when displaying modules that are required by the installation profile
$row['enable']['#disabled'] = TRUE;
- $row['#required_by'][] = $distribution . (!empty($module->info['explanation']) ? ' ('. $module->info['explanation'] .')' : '');
+ $extra['#required_by'][] = $distribution . (!empty($module->info['explanation']) ? ' ('. $module->info['explanation'] .')' : '');
}
// Check the compatibilities.
@@ -254,7 +253,7 @@ protected function buildRow(array $modules, $module, $distribution) {
// If this module is not compatible, disable the checkbox.
if (!$compatible) {
$row['enable']['#disabled'] = TRUE;
- $row['description'] = array(
+ $extra['description'] = array(
'#theme' => 'system_modules_incompatible',
'#message' => $status,
);
@@ -263,7 +262,7 @@ protected function buildRow(array $modules, $module, $distribution) {
// If this module requires other modules, add them to the array.
foreach ($module->requires as $dependency => $version) {
if (!isset($modules[$dependency])) {
- $row['#requires'][$dependency] = $this->t('@module (missing)', array('@module' => Unicode::ucfirst($dependency)));
+ $extra['#requires'][$dependency] = $this->t('@module (missing)', array('@module' => Unicode::ucfirst($dependency)));
$row['enable']['#disabled'] = TRUE;
}
// Only display visible modules.
@@ -272,7 +271,7 @@ protected function buildRow(array $modules, $module, $distribution) {
// Disable the module's checkbox if it is incompatible with the
// dependency's version.
if ($incompatible_version = drupal_check_incompatibility($version, str_replace(\Drupal::CORE_COMPATIBILITY . '-', '', $modules[$dependency]->info['version']))) {
- $row['#requires'][$dependency] = $this->t('@module (incompatible with version @version)', array(
+ $extra['#requires'][$dependency] = $this->t('@module (incompatible with version @version)', array(
'@module' => $name . $incompatible_version,
'@version' => $modules[$dependency]->info['version'],
));
@@ -281,16 +280,16 @@ protected function buildRow(array $modules, $module, $distribution) {
// Disable the checkbox if the dependency is incompatible with this
// version of Drupal core.
elseif ($modules[$dependency]->info['core'] != \Drupal::CORE_COMPATIBILITY) {
- $row['#requires'][$dependency] = $this->t('@module (incompatible with this version of Drupal core)', array(
+ $extra['#requires'][$dependency] = $this->t('@module (incompatible with this version of Drupal core)', array(
'@module' => $name,
));
$row['enable']['#disabled'] = TRUE;
}
elseif ($modules[$dependency]->status) {
- $row['#requires'][$dependency] = $this->t('@module', array('@module' => $name));
+ $extra['#requires'][$dependency] = $this->t('@module', array('@module' => $name));
}
else {
- $row['#requires'][$dependency] = $this->t('@module (disabled)', array('@module' => $name));
+ $extra['#requires'][$dependency] = $this->t('@module (disabled)', array('@module' => $name));
}
}
}
@@ -300,15 +299,73 @@ protected function buildRow(array $modules, $module, $distribution) {
foreach ($module->required_by as $dependent => $version) {
if (isset($modules[$dependent]) && empty($modules[$dependent]->info['hidden'])) {
if ($modules[$dependent]->status == 1 && $module->status == 1) {
- $row['#required_by'][$dependent] = $this->t('@module', array('@module' => $modules[$dependent]->info['name']));
+ $extra['#required_by'][$dependent] = $this->t('@module', array('@module' => $modules[$dependent]->info['name']));
$row['enable']['#disabled'] = TRUE;
}
else {
- $row['#required_by'][$dependent] = $this->t('@module (disabled)', array('@module' => $modules[$dependent]->info['name']));
+ $extra['#required_by'][$dependent] = $this->t('@module (disabled)', array('@module' => $modules[$dependent]->info['name']));
}
}
}
+ // Set id for checkbox here so module label can reference it.
+ $id = drupal_html_class('edit-modules-' . $module->info['package'] . '-' . $module->name . '-enable');
+
+ $row['name']['#markup'] = $module->info['name'];
+
+ $row['enable'] += array(
+ '#wrapper_attributes' => array(
+ 'class' => array('checkbox'),
+ ),
+ '#id' => $id,
+ '#parents' => array('modules', $module->info['package'], $module->name, 'enable'),
+ );
+
+ // Add the module label and expand/collapse functionalty.
+ $row['name'] = array(
+ '#prefix' => '',
+ '#wrapper_attributes' => array(
+ 'class' => array('module'),
+ ),
+ );
+
+ // Add the description, along with any modules it requires.
+ $description = '';
+ if ($module->info['version'] || $row['#requires'] || $row['#required_by']) {
+ $description .= '
';
+ if ($module->info['version']) {
+ $description .= '
' . t('Version: !module-version', array('!module-version' => $module->info['version'])) . '
';
+ }
+ if ($row['#requires']) {
+ $description .= '
' . t('Requires: !module-list', array('!module-list' => implode(', ', $extra['#requires']))) . '
';
+ }
+ if ($row['#required_by']) {
+ $description .= '
' . t('Required by: !module-list', array('!module-list' => implode(', ', $extra['#required_by']))) . '
';
+ }
+ $description .= '
';
+ }
+
+ $links = '';
+ foreach (array('help', 'permissions', 'configure') as $key) {
+ $links .= (isset($extra['links'][$key]) ? drupal_render($extra['links'][$key]) : '');
+ }
+
+ if ($links) {
+ $description .= ' ';
+ $description .= $links;
+ $description .= '
';
+ }
+
+ $row['description'] = array(
+ '#type' => 'details',
+ '#title' => ' ' . t($module->info['description']) . '',
+ '#attributes' => array('id' => $id . '-description'),
+ '#description' => $description,
+ '#collapsed' => TRUE,
+ );
+
return $row;
}
@@ -341,6 +398,7 @@ protected function buildModuleList(array $form_state) {
// First, build a list of all modules that were selected.
foreach ($packages as $items) {
+ unset($items['table']);
foreach ($items as $name => $checkbox) {
if ($checkbox['enable'] && !$this->moduleHandler->moduleExists($name)) {
$modules['install'][$name] = $data[$name]->info['name'];
diff --git a/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php b/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php
index ed92064..8859445 100644
--- a/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php
+++ b/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php
@@ -88,35 +88,51 @@ public function buildForm(array $form, array &$form_state) {
$this->moduleHandler->loadInclude('system', 'inc', 'system.admin');
uasort($uninstallable, 'system_sort_modules_by_info_name');
- $form['uninstall'] = array('#tree' => TRUE);
+ $form['uninstall'] = array(
+ '#type' => 'table',
+ '#header' => array(t('Uninstall'), t('Name'), t('Description')),
+ '#empty' => t('There are no items yet. Disable a module', array(
+ '@add-url' => url('admin/modules'),
+ )),
+ '#tableselect' => TRUE,
+ );
+
foreach ($uninstallable as $module) {
$name = $module->info['name'] ?: $module->name;
- $form['modules'][$module->name]['#module_name'] = $name;
- $form['modules'][$module->name]['name']['#markup'] = $name;
- $form['modules'][$module->name]['description']['#markup'] = $this->t($module->info['description']);
-
- $form['uninstall'][$module->name] = array(
- '#type' => 'checkbox',
- '#title' => $this->t('Uninstall @module module', array('@module' => $name)),
- '#title_display' => 'invisible',
- );
+ $form['uninstall'][$module->name]['name']['#markup'] = $name;
+ $form['uninstall'][$module->name]['description']['#markup'] = t($module->info['description']);
// All modules which depend on this one must be uninstalled first, before
// we can allow this module to be uninstalled. (The installation profile
// is excluded from this list.)
+ $required_modules = array();
foreach (array_keys($module->required_by) as $dependent) {
if ($dependent != $profile && drupal_get_installed_schema_version($dependent) != SCHEMA_UNINSTALLED) {
$name = isset($modules[$dependent]->info['name']) ? $modules[$dependent]->info['name'] : $dependent;
$form['modules'][$module->name]['#required_by'][] = $name;
$form['uninstall'][$module->name]['#disabled'] = TRUE;
+ $required_modules[] = $name;
}
}
+
+ if (!empty($required_modules)) {
+ $disabled_message = format_plural(count($required_modules),
+ 'To uninstall @module, the following module must be uninstalled first: @required_modules',
+ 'To uninstall @module, the following modules must be uninstalled first: @required_modules',
+ array('@module' => $module->name, '@required_modules' => implode(', ', $required_modules)));
+ $disabled_message = '' . $disabled_message . '
';
+ }
+ else {
+ $disabled_message = '';
+ }
+ $form['uninstall'][$module->name]['uninstall']['#markup'] = t($disabled_message);
}
$form['actions'] = array('#type' => 'actions');
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => $this->t('Uninstall'),
+ '#tableselect' => TRUE,
);
return $form;
diff --git a/core/modules/system/lib/Drupal/system/Tests/Module/RequiredTest.php b/core/modules/system/lib/Drupal/system/Tests/Module/RequiredTest.php
index 1de4535..d0e3242 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Module/RequiredTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Module/RequiredTest.php
@@ -29,7 +29,7 @@ function testDisableRequired() {
// Check to make sure the checkbox for each required module is disabled
// and checked (or absent from the page if the module is also hidden).
if (!empty($info['required'])) {
- $field_name = "modules[{$info['package']}][$module][enable]";
+ $field_name = "modules[{$info['package']}][_package_table][$module][enable]";
if (empty($info['hidden'])) {
$this->assertFieldByXPath("//input[@name='$field_name' and @disabled='disabled' and @checked='checked']", '', format_string('Field @name was disabled and checked.', array('@name' => $field_name)));
}
diff --git a/core/modules/system/lib/Drupal/system/Tests/Module/VersionTest.php b/core/modules/system/lib/Drupal/system/Tests/Module/VersionTest.php
index c48e8a2..620a8d2 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Module/VersionTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Module/VersionTest.php
@@ -59,7 +59,7 @@ function testModuleVersions() {
$n = count($dependencies);
for ($i = 0; $i < $n; $i++) {
$this->drupalGet('admin/modules');
- $checkbox = $this->xpath('//input[@id="edit-modules-testing-module-test-enable"]');
+ $checkbox = $this->xpath('//input[@id="edit-modules-testing-package-table-module-test-enable"]');
$this->assertEqual(!empty($checkbox[0]['disabled']), $i % 2, $dependencies[$i]);
}
}
diff --git a/core/modules/system/lib/Drupal/system/Tests/System/DateFormatsLanguageTest.php b/core/modules/system/lib/Drupal/system/Tests/System/DateFormatsLanguageTest.php
index 2b63cc9..adb100c 100644
--- a/core/modules/system/lib/Drupal/system/Tests/System/DateFormatsLanguageTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/System/DateFormatsLanguageTest.php
@@ -80,17 +80,17 @@ function testLocalizeDateFormats() {
$this->drupalGet('admin/config/regional/date-time/locale');
$this->assertText('French', 'Configured languages appear.');
$edit = array(
- 'date_format_long' => 'example_style_fr',
- 'date_format_medium' => 'example_style_fr',
- 'date_format_short' => 'example_style_fr',
+ 'date_formats[long][pattern]' => 'example_style_fr',
+ 'date_formats[medium][pattern]' => 'example_style_fr',
+ 'date_formats[short][pattern]' => 'example_style_fr',
);
$this->drupalPostForm('admin/config/regional/date-time/locale/fr/edit', $edit, t('Save configuration'));
$this->assertText(t('Configuration saved.'), 'French date formats updated.');
$edit = array(
- 'date_format_long' => 'example_style_en',
- 'date_format_medium' => 'example_style_en',
- 'date_format_short' => 'example_style_en',
+ 'date_formats[long][pattern]' => 'example_style_en',
+ 'date_formats[medium][pattern]' => 'example_style_en',
+ 'date_formats[short][pattern]' => 'example_style_en',
);
$this->drupalPostForm('admin/config/regional/date-time/locale/en/edit', $edit, t('Save configuration'));
$this->assertText(t('Configuration saved.'), 'English date formats updated.');
diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc
index f1a428f..2533d18 100644
--- a/core/modules/system/system.admin.inc
+++ b/core/modules/system/system.admin.inc
@@ -528,86 +528,6 @@ function theme_status_report($variables) {
}
/**
- * Returns HTML for the modules form.
- *
- * @param $variables
- * An associative array containing:
- * - form: A render element representing the form.
- *
- * @ingroup themeable
- */
-function theme_system_modules_details($variables) {
- $form = $variables['form'];
-
- // Individual table headers.
- $rows = array();
- // Iterate through all the modules, which are children of this element.
- foreach (element_children($form) as $key) {
- // Stick the key into $module for easier access.
- $module = $form[$key];
- // Create the row for the table.
- $row = array();
- // Add the checkbox into the first cell.
- unset($module['enable']['#title']);
- $module['#requires'] = array_filter($module['#requires']);
- $module['#required_by'] = array_filter($module['#required_by']);
-
- $requires = !empty($module['#requires']);
- $required_by = !empty($module['#required_by']);
- $version = !empty($module['version']['#markup']);
-
- $row[] = array('class' => array('checkbox'), 'data' => drupal_render($module['enable']));
-
- // Add the module label and expand/collapse functionalty.
- $col2 = '';
- $row[] = array('class' => array('module'), 'data' => $col2);
-
- // Add the description, along with any modules it requires.
- $description = '';
- if ($version || $requires || $required_by) {
- $description .= ' ';
- if ($version) {
- $description .= '
' . t('Version: !module-version', array('!module-version' => drupal_render($module['version']))) . '
';
- }
- if ($requires) {
- $description .= '
' . t('Requires: !module-list', array('!module-list' => implode(', ', $module['#requires']))) . '
';
- }
- if ($required_by) {
- $description .= '
' . t('Required by: !module-list', array('!module-list' => implode(', ', $module['#required_by']))) . '
';
- }
- $description .= '
';
- }
- $links = '';
- foreach (array('help', 'permissions', 'configure') as $key) {
- $links .= drupal_render($module['links'][$key]);
- }
- if ($links) {
- $description .= ' ';
- $description .= $links;
- $description .= '
';
- }
- $details = array(
- '#type' => 'details',
- '#title' => ' ' . drupal_render($module['description']) . '',
- '#attributes' => array('id' => $module['enable']['#id'] . '-description'),
- '#description' => $description,
- '#collapsed' => TRUE,
- );
- $col4 = drupal_render($details);
- $row[] = array('class' => array('description', 'expand'), 'data' => $col4);
-
- $rows[] = $row;
- }
-
- $table = array(
- '#theme' => 'table',
- '#header' => $form['#header'],
- '#rows' => $rows,
- );
- return drupal_render($table);
-}
-
-/**
* Returns HTML for a message about incompatible modules.
*
* @param $variables
@@ -621,61 +541,6 @@ function theme_system_modules_incompatible($variables) {
}
/**
- * Returns HTML for a table of currently disabled modules.
- *
- * @param $variables
- * An associative array containing:
- * - form: A render element representing the form.
- *
- * @ingroup themeable
- */
-function theme_system_modules_uninstall($variables) {
- $form = $variables['form'];
-
- // No theming for the confirm form.
- if (isset($form['confirm'])) {
- return drupal_render($form);
- }
-
- // Table headers.
- $header = array(t('Uninstall'),
- t('Name'),
- t('Description'),
- );
-
- // Display table.
- $rows = array();
- foreach (element_children($form['modules']) as $module) {
- if (!empty($form['modules'][$module]['#required_by'])) {
- $disabled_message = format_plural(count($form['modules'][$module]['#required_by']),
- 'To uninstall @module, the following module must be uninstalled first: @required_modules',
- 'To uninstall @module, the following modules must be uninstalled first: @required_modules',
- array('@module' => $form['modules'][$module]['#module_name'], '@required_modules' => implode(', ', $form['modules'][$module]['#required_by'])));
- $disabled_message = '' . $disabled_message . '
';
- }
- else {
- $disabled_message = '';
- }
- $rows[] = array(
- array('data' => drupal_render($form['uninstall'][$module]), 'align' => 'center'),
- '',
- array('data' => drupal_render($form['modules'][$module]['description']) . $disabled_message, 'class' => array('description')),
- );
- }
-
- $table = array(
- '#theme' => 'table',
- '#header' => $header,
- '#rows' => $rows,
- '#empty' => t('No modules are available to uninstall.'),
- );
- $output = drupal_render($table);
- $output .= drupal_render_children($form);
-
- return $output;
-}
-
-/**
* Returns HTML for the Appearance page.
*
* @param $variables
@@ -804,12 +669,23 @@ function system_date_format_localize_form($form, &$form_state, $langcode) {
$choices[$date_format_id] = $date_service->format(REQUEST_TIME, $date_format_id);
}
+ $form['date_formats'] = array(
+ '#type' => 'table',
+ '#header' => array(
+ 'machine_name' => t('Name'),
+ 'pattern' => t('Format'),
+ ),
+ );
+
// Display a form field for each format type.
foreach ($formats as $date_format_id => $format_info) {
+ $form['date_formats'][$date_format_id]['machine_name'] = array(
+ '#markup' => t($format_info->label) ,
+ );
+
// Show date format select list.
- $form['date_formats']['date_format_' . $date_format_id] = array(
+ $form['date_formats'][$date_format_id]['pattern'] = array(
'#type' => 'select',
- '#title' => check_plain($format_info->label()),
'#attributes' => array('class' => array('date-format')),
'#default_value' => isset($choices[$date_format_id]) ? $date_format_id : 'custom',
'#options' => $choices,
@@ -833,8 +709,8 @@ function system_date_format_localize_form_submit($form, &$form_state) {
$formats = entity_load_multiple('date_format');
foreach ($formats as $date_format_id => $format_info) {
- if (isset($form_state['values']['date_format_' . $date_format_id])) {
- $format = $form_state['values']['date_format_' . $date_format_id];
+ if (isset($form_state['values']['date_formats'][$date_format_id]['pattern'])) {
+ $format = $form_state['values']['date_formats'][$date_format_id]['pattern'];
system_date_format_localize_form_save($langcode, $date_format_id, $formats[$format]);
}
}
@@ -843,42 +719,6 @@ function system_date_format_localize_form_submit($form, &$form_state) {
}
/**
- * Returns HTML for a locale date format form.
- *
- * @param $variables
- * An associative array containing:
- * - form: A render element representing the form.
- *
- * @ingroup themeable
- */
-function theme_system_date_format_localize_form($variables) {
- $form = $variables['form'];
- $header = array(
- 'machine_name' => t('Machine Name'),
- 'pattern' => t('Format'),
- );
-
- foreach (element_children($form['date_formats']) as $key) {
- $row = array();
- $row[] = $form['date_formats'][$key]['#title'];
- unset($form['date_formats'][$key]['#title']);
- $row[] = array('data' => drupal_render($form['date_formats'][$key]));
- $rows[] = $row;
- }
-
- $table = array(
- '#theme' => 'table',
- '#header' => $header,
- '#rows' => $rows,
- );
- $output = drupal_render($form['language']);
- $output .= drupal_render($table);
- $output .= drupal_render_children($form);
-
- return $output;
-}
-
-/**
* Save locale specific date formats to the database.
*
* @param string $langcode
diff --git a/core/modules/system/system.module b/core/modules/system/system.module
index cdfddea..3b3d0b2 100644
--- a/core/modules/system/system.module
+++ b/core/modules/system/system.module
@@ -151,18 +151,10 @@ function system_theme() {
'confirm_form' => array(
'render element' => 'form',
),
- 'system_modules_details' => array(
- 'render element' => 'form',
- 'file' => 'system.admin.inc',
- ),
'system_modules_incompatible' => array(
'variables' => array('message' => NULL),
'file' => 'system.admin.inc',
),
- 'system_modules_uninstall' => array(
- 'render element' => 'form',
- 'file' => 'system.admin.inc',
- ),
'status_report' => array(
'variables' => array('requirements' => NULL),
'file' => 'system.admin.inc',
@@ -189,9 +181,6 @@ function system_theme() {
'system_compact_link' => array(
'variables' => array(),
),
- 'system_date_format_localize_form' => array(
- 'render element' => 'form',
- ),
));
}