diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-11 22:19:46 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-11 22:19:46 +0000 |
commit | e888f0061cb7ca2f07b38ad4ff09da99faa75580 (patch) | |
tree | b1ffa36ead61e0061e99fdb4c33a8ea823eb4af5 /modules/system/system.module | |
parent | f278da9e50815f279ce4c7bda993f5d21b43efa3 (diff) | |
download | brdo-e888f0061cb7ca2f07b38ad4ff09da99faa75580.tar.gz brdo-e888f0061cb7ca2f07b38ad4ff09da99faa75580.tar.bz2 |
#323112 by dmitrig01, kkaefer, quicksketch, frando and many many more: Now presenting... Vertical Tabs. Fantastic new UI improvement for node forms and hopefully more in the future.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 528d6c300..5a1297c1f 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -381,6 +381,7 @@ function system_elements() { '#theme' => 'file', '#theme_wrapper' => 'form_element', ); + $type['tableselect'] = array( '#input' => TRUE, '#js_select' => TRUE, @@ -419,10 +420,17 @@ function system_elements() { '#collapsible' => FALSE, '#collapsed' => FALSE, '#value' => NULL, - '#process' => array('form_process_ahah'), + '#process' => array('form_process_fieldset', 'form_process_ahah'), + '#pre_render' => array('form_pre_render_fieldset'), '#theme_wrapper' => 'fieldset', ); + $type['vertical_tabs'] = array( + '#theme_wrapper' => 'vertical_tabs', + '#default_tab' => '', + '#process' => array('form_process_vertical_tabs'), + ); + $type['token'] = array( '#input' => TRUE, '#theme' => array('hidden'), |