You are here

function taxonomy_admin_term_edit in Drupal 4

Same name and namespace in other branches
  1. 5 modules/taxonomy/taxonomy.module \taxonomy_admin_term_edit()
  2. 6 modules/taxonomy/taxonomy.admin.inc \taxonomy_admin_term_edit()

Page to list terms for a vocabulary

1 string reference to 'taxonomy_admin_term_edit'
taxonomy_menu in modules/taxonomy.module
Implementation of hook_menu().

File

modules/taxonomy.module, line 1280
Enables the organization of content into categories.

Code

function taxonomy_admin_term_edit($tid = NULL) {
  if ($_POST['op'] == t('Delete') || $_POST['edit']['confirm']) {
    return _taxonomy_confirm_del_term($tid);
  }
  elseif ($tid) {
    $term = (array) taxonomy_get_term($tid);
  }
  return taxonomy_form_term($term);
}