diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-09 12:54:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-09 12:54:51 +0000 |
commit | 592373add47af38eed502ab7a654720c563f7190 (patch) | |
tree | f9d1a358ddef485f689624eef7509b685bff7191 /modules/taxonomy/taxonomy.admin.inc | |
parent | 578e363bf28a410e15742488244c0dca30fdf991 (diff) | |
download | brdo-592373add47af38eed502ab7a654720c563f7190.tar.gz brdo-592373add47af38eed502ab7a654720c563f7190.tar.bz2 |
- Patch #394544 by berenddeboer, Xano, chrisshattuck, karschsp, asimmonds: more cllean up for the term form UI.
Diffstat (limited to 'modules/taxonomy/taxonomy.admin.inc')
-rw-r--r-- | modules/taxonomy/taxonomy.admin.inc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index b045d8e5b..57f77ca78 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -640,7 +640,7 @@ function taxonomy_form_term($form, &$form_state, $edit = array(), $vocabulary = $form['name'] = array( '#type' => 'textfield', - '#title' => t('Term name'), + '#title' => t('Name'), '#default_value' => $edit['name'], '#maxlength' => 255, '#required' => TRUE); @@ -648,7 +648,6 @@ function taxonomy_form_term($form, &$form_state, $edit = array(), $vocabulary = '#type' => 'textarea', '#title' => t('Description'), '#default_value' => $edit['description'], - '#description' => t('A description of the term. To be displayed on taxonomy/term pages and RSS feeds.'), '#text_format' => $edit['format'], ); @@ -660,9 +659,9 @@ function taxonomy_form_term($form, &$form_state, $edit = array(), $vocabulary = field_attach_form('taxonomy_term', (object) $edit, $form, $form_state); - $form['advanced'] = array( + $form['relations'] = array( '#type' => 'fieldset', - '#title' => t('Advanced options'), + '#title' => t('Relations'), '#collapsible' => TRUE, '#collapsed' => $vocabulary->hierarchy < 2, ); @@ -688,7 +687,7 @@ function taxonomy_form_term($form, &$form_state, $edit = array(), $vocabulary = $options[$term->tid] = str_repeat('-', $term->depth) . $term->name; } } - $form['advanced']['parent'] = array( + $form['relations']['parent'] = array( '#type' => 'select', '#title' => t('Parent terms'), '#options' => $options, @@ -697,7 +696,7 @@ function taxonomy_form_term($form, &$form_state, $edit = array(), $vocabulary = ); } - $form['advanced']['weight'] = array( + $form['relations']['weight'] = array( '#type' => 'textfield', '#title' => t('Weight'), '#size' => 6, |