Mercurial > defr > drupal > core
diff modules/taxonomy/taxonomy.module @ 5:2427550111ae 6.2
Drupal 6.2
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:30:08 +0100 |
parents | c1f4ac30525a |
children | fff6d4c8c043 |
line wrap: on
line diff
--- a/modules/taxonomy/taxonomy.module Tue Dec 23 14:29:21 2008 +0100 +++ b/modules/taxonomy/taxonomy.module Tue Dec 23 14:30:08 2008 +0100 @@ -1,5 +1,5 @@ <?php -// $Id: taxonomy.module,v 1.414 2008/01/27 17:55:15 goba Exp $ +// $Id: taxonomy.module,v 1.414.2.1 2008/04/09 21:11:51 goba Exp $ /** * @file @@ -128,6 +128,7 @@ 'title' => 'Add vocabulary', 'page callback' => 'drupal_get_form', 'page arguments' => array('taxonomy_form_vocabulary'), + 'access arguments' => array('administer taxonomy'), 'type' => MENU_LOCAL_TASK, 'parent' => 'admin/content/taxonomy', 'file' => 'taxonomy.admin.inc', @@ -137,6 +138,7 @@ 'title' => 'Edit vocabulary', 'page callback' => 'taxonomy_admin_vocabulary_edit', 'page arguments' => array(5), + 'access arguments' => array('administer taxonomy'), 'type' => MENU_CALLBACK, 'file' => 'taxonomy.admin.inc', ); @@ -144,6 +146,7 @@ $items['admin/content/taxonomy/edit/term'] = array( 'title' => 'Edit term', 'page callback' => 'taxonomy_admin_term_edit', + 'access arguments' => array('administer taxonomy'), 'type' => MENU_CALLBACK, 'file' => 'taxonomy.admin.inc', ); @@ -183,6 +186,7 @@ 'title' => 'Add term', 'page callback' => 'taxonomy_add_term_page', 'page arguments' => array(3), + 'access arguments' => array('administer taxonomy'), 'type' => MENU_LOCAL_TASK, 'parent' => 'admin/content/taxonomy/%taxonomy_vocabulary', 'file' => 'taxonomy.admin.inc',