Commit 5f7b5556 authored by Dries's avatar Dries
Browse files

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

parent 2f8262e9
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment