taxonomy_add_term_page
modules/taxonomy/taxonomy.admin.inc, строка 622
- Версии
- 6
taxonomy_add_term_page($vocabulary)
Menu callback; return the edit form for a new term after setting the title.
Код
<?php
function taxonomy_add_term_page($vocabulary) {
drupal_set_title(t('Add term to %vocabulary', array('%vocabulary' => $vocabulary->name)));
return drupal_get_form('taxonomy_form_term' , $vocabulary);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии