diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-01-17 18:56:11 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-01-17 18:56:11 +0000 |
commit | a1579a3aee36faee9bd78111a3de0997e59b8f2e (patch) | |
tree | 778a73110524d4b3b67f05ff97a67024c5bc8f84 /modules/taxonomy | |
parent | b45bd13d444109244826c59f4900874bc31534c3 (diff) | |
download | brdo-a1579a3aee36faee9bd78111a3de0997e59b8f2e.tar.gz brdo-a1579a3aee36faee9bd78111a3de0997e59b8f2e.tar.bz2 |
- Reversing bad commit, sorry everyone.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index c30032355..caa3fa1fe 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -389,25 +389,6 @@ function taxonomy_form($vid, $value = 0, $help = NULL, $name = 'taxonomy') { } /** -* Generate a set of options for selecting a term from all vocabularies. Can be -* passed to form_select. -*/ -function taxonomy_form_all($value = 0, $help = NULL, $name = 'taxonomy') { - $vocabularies = taxonomy_get_vocabularies(); - $options = array(); - foreach ($vocabularies as $vid => $vocabulary) { - $tree = taxonomy_get_tree($vid); - $options[$vocabulary->name] = array(); - if ($tree) { - foreach ($tree as $term) { - $options[$vocabulary->name][$term->tid] = _taxonomy_depth($term->depth, '-') . $term->name; - } - } - } - return $options; -} - -/** * Return an array of all vocabulary objects. * * @param $type |