diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-11-12 20:18:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-11-12 20:18:57 +0000 |
commit | eaf70c0e618fde9f03cc3c4ce0ea38aa00a3e863 (patch) | |
tree | b4b5d20d354f5fefbbf814ddcce9899e83b6026e /modules/system/system.module | |
parent | e97d405a4899ceb290c6d7e956d953e9d605a306 (diff) | |
download | brdo-eaf70c0e618fde9f03cc3c4ce0ea38aa00a3e863.tar.gz brdo-eaf70c0e618fde9f03cc3c4ce0ea38aa00a3e863.tar.bz2 |
- Patch #87639 by yched, nickl and profix: use fieldsets.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index a926e765d..711c919f3 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1527,8 +1527,13 @@ function theme_system_modules($form) { $row[] = array('data' => drupal_render($form['description'][$key]), 'class' => 'description'); $rows[] = $row; } - $output .= '<h2>'. t($package) .'</h2>'; - $output .= theme('table', $header, $rows, array('class' => 'package')); + $fieldset = array ( + '#title' => t($package), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + '#value' => theme('table', $header, $rows, array('class' => 'package')) + ); + $output .= theme('fieldset', $fieldset); } $output .= drupal_render($form); |