Index: cck.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cck/cck.info,v
retrieving revision 1.5
diff -u -p -r1.5 cck.info
--- cck.info	3 Feb 2009 19:53:47 -0000	1.5
+++ cck.info	6 Jul 2009 06:48:18 -0000
@@ -9,4 +9,5 @@ files[] = includes/cck.admin.inc
 files[] = includes/cck.text.inc
 files[] = includes/cck.number.inc
 files[] = includes/cck.list.inc
+files[] = includes/cck.term.inc
 files[] = theme/theme.inc
\ No newline at end of file
Index: includes/cck.term.inc
===================================================================
RCS file: includes/cck.term.inc
diff -N includes/cck.term.inc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ includes/cck.term.inc	6 Jul 2009 06:48:19 -0000
@@ -0,0 +1,35 @@
+<?php
+// $Id$
+
+/**
+Ê* Implementation of hook_field_settings_form()
+Ê* on behalf of core List module.
+ */
+
+function taxonomy_field_settings_form($field, $instance) {
+  // Alter the description for allowed values slightly depending
+  // on the type of widget.
+  $widget_type = $instance['widget']['type'];
+  $field_type = $field['type'];
+  $label = $instance['label'];
+
+  // Get the right values for allowed_values_function, which is a core setting.
+  $defaults = field_info_field_settings($field['type']);
+  $settings = array_merge($defaults, $field['settings']);
+  $options = array();
+  $vocabularies = taxonomy_get_vocabularies();
+  foreach ($vocabularies as $vocabulary) {
+    $options[$vocabulary->vid] = $vocabulary->name;
+  }
+  $form['vid'] = array(
+    '#type' => 'select',
+    '#title' => t('Vocabulary'),
+    '#default_value' => $settings['vid'],
+    '#options' => $options,
+    '#required' => TRUE,
+    '#multiple' => TRUE,
+    '#description' => t('The vocabulary which supplies the options for this field.'),
+  );
+
+  return $form;
+}
