summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 5097da288..edfa7d42f 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -299,6 +299,8 @@ function taxonomy_menu() {
'page arguments' => array('taxonomy_form_term', 2),
'access callback' => 'taxonomy_term_edit_access',
'access arguments' => array(2),
+ 'theme callback' => 'variable_get',
+ 'theme arguments' => array('admin_theme'),
'type' => MENU_LOCAL_TASK,
'weight' => 10,
'file' => 'taxonomy.admin.inc',
@@ -357,6 +359,16 @@ function taxonomy_menu() {
}
/**
+ * Implements hook_admin_paths().
+ */
+function taxonomy_admin_paths() {
+ $paths = array(
+ 'taxonomy/term/*/edit' => TRUE,
+ );
+ return $paths;
+}
+
+/**
* Return edit access for a given term.
*/
function taxonomy_term_edit_access($term) {