Skip to content
Snippets Groups Projects
Commit 5f7b5556 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #82441 by chx: usability: moving checkboxes to the left.

parent 2f8262e9
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1257,20 +1257,22 @@ function system_modules() {
function theme_system_modules($form) {
foreach (element_children($form['name']) as $key) {
$row = array();
$row[] = drupal_render($form['name'][$key]);
$row[] = drupal_render($form['description'][$key]);
$row[] = array('data' => drupal_render($form['status'][$key]), 'align' => 'center');
if (module_exists('throttle')) {
$row[] = array('data' => drupal_render($form['throttle'][$key]), 'align' => 'center');
}
$row[] = drupal_render($form['name'][$key]);
$row[] = drupal_render($form['description'][$key]);
$rows[] = $row;
}
$header = array(t('Name'), t('Description'), t('Enabled'));
$header = array(t('Enabled'));
if (module_exists('throttle')) {
$header[] = t('Throttle');
}
$header[] = t('Name');
$header[] = t('Description');
$output = theme('table', $header, $rows);
$output .= drupal_render($form);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment