- Bugfix: admin/forum tabs should not appear on edit forum/container pages.
parent
c1d9fffb57
commit
84b7defc07
|
@ -422,6 +422,13 @@ function forum_menu($may_cache) {
|
|||
'callback' => 'forum_admin_configure',
|
||||
'access' => user_access('administer forums'),
|
||||
'type' => MENU_LOCAL_TASK);
|
||||
|
||||
$items[] = array('path' => 'admin/forum/edit/container', 'title' => t('edit container'),
|
||||
'access' => user_access('administer forums'),
|
||||
'type' => MENU_CALLBACK);
|
||||
$items[] = array('path' => 'admin/forum/edit/forum', 'title' => t('edit forum'),
|
||||
'access' => user_access('administer forums'),
|
||||
'type' => MENU_CALLBACK);
|
||||
}
|
||||
|
||||
return $items;
|
||||
|
|
|
@ -422,6 +422,13 @@ function forum_menu($may_cache) {
|
|||
'callback' => 'forum_admin_configure',
|
||||
'access' => user_access('administer forums'),
|
||||
'type' => MENU_LOCAL_TASK);
|
||||
|
||||
$items[] = array('path' => 'admin/forum/edit/container', 'title' => t('edit container'),
|
||||
'access' => user_access('administer forums'),
|
||||
'type' => MENU_CALLBACK);
|
||||
$items[] = array('path' => 'admin/forum/edit/forum', 'title' => t('edit forum'),
|
||||
'access' => user_access('administer forums'),
|
||||
'type' => MENU_CALLBACK);
|
||||
}
|
||||
|
||||
return $items;
|
||||
|
|
Loading…
Reference in New Issue