diff options
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.admin.inc | 9 | ||||
-rw-r--r-- | modules/node/node.module | 13 |
2 files changed, 0 insertions, 22 deletions
diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc index b2539b0ea..3db9033ec 100644 --- a/modules/node/node.admin.inc +++ b/modules/node/node.admin.inc @@ -97,15 +97,6 @@ function node_filters() { ) + node_type_get_names(), ); - // The taxonomy filter - if ($taxonomy = module_invoke('taxonomy', 'form_all', 1)) { - $filters['term'] = array( - 'title' => t('term'), - 'options' => array( - '[any]' => t('any'), - ) + $taxonomy, - ); - } // Language filter if there is a list of languages if ($languages = module_invoke('locale', 'language_list')) { $languages = array(LANGUAGE_NONE => t('Language neutral')) + $languages; diff --git a/modules/node/node.module b/modules/node/node.module index 971aeadf9..c454bd7fc 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2503,19 +2503,6 @@ function node_form_search_form_alter(&$form, $form_state) { '#maxlength' => 255, ); - // Taxonomy box: - if ($taxonomy = module_invoke('taxonomy', 'form_all', 1)) { - $form['advanced']['term'] = array( - '#type' => 'select', - '#title' => t('Only in the term(s)'), - '#prefix' => '<div class="criterion">', - '#size' => 10, - '#suffix' => '</div>', - '#options' => $taxonomy, - '#multiple' => TRUE, - ); - } - // Node types: $types = array_map('check_plain', node_type_get_names()); $form['advanced']['type'] = array( |