diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 483724bbbdb..8f3fe3f8048 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -528,7 +528,15 @@ function taxonomy_form_alter($form_id, &$form) { else { $help = t('A comma-separated list of terms describing this content. Example: funny, bungie jumping, "Company, Inc.".'); } - $form['taxonomy']['tags'][$vocabulary->vid] = array('#type' => 'textfield', '#default_value' => $typed_string, '#maxlength' => 100, '#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid, '#required' => $vocabulary->required, '#title' => $vocabulary->name, '#description' => $help); + $form['taxonomy']['tags'][$vocabulary->vid] = array('#type' => 'textfield', + '#title' => $vocabulary->name, + '#description' => $help, + '#required' => $vocabulary->required, + '#default_value' => $typed_string, + '#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid, + '#weight' => $vocabulary->weight, + '#maxlength' => 100, + ); } else { $form['taxonomy'][$vocabulary->vid] = taxonomy_form($vocabulary->vid, array_keys($terms), $help); diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 483724bbbdb..8f3fe3f8048 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -528,7 +528,15 @@ function taxonomy_form_alter($form_id, &$form) { else { $help = t('A comma-separated list of terms describing this content. Example: funny, bungie jumping, "Company, Inc.".'); } - $form['taxonomy']['tags'][$vocabulary->vid] = array('#type' => 'textfield', '#default_value' => $typed_string, '#maxlength' => 100, '#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid, '#required' => $vocabulary->required, '#title' => $vocabulary->name, '#description' => $help); + $form['taxonomy']['tags'][$vocabulary->vid] = array('#type' => 'textfield', + '#title' => $vocabulary->name, + '#description' => $help, + '#required' => $vocabulary->required, + '#default_value' => $typed_string, + '#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid, + '#weight' => $vocabulary->weight, + '#maxlength' => 100, + ); } else { $form['taxonomy'][$vocabulary->vid] = taxonomy_form($vocabulary->vid, array_keys($terms), $help);