summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-09-25 11:49:37 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-09-25 11:49:37 +0000
commita8d2453b178fd2a29edb41a4a0e936bc08bb999a (patch)
tree1255baef359f193d8fc80086b5a84876373ef2b6 /modules/system/system.module
parent1ccd9a75feb283dfa4ea96410fb8d7b1cf75d10a (diff)
downloadbrdo-a8d2453b178fd2a29edb41a4a0e936bc08bb999a.tar.gz
brdo-a8d2453b178fd2a29edb41a4a0e936bc08bb999a.tar.bz2
#177654 by chx: admin/content has items with comment, feed, etc management, so a node admin permission should not be required to visit it
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index b2993353d..3cfdb3eb1 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -184,6 +184,16 @@ function system_menu() {
'type' => MENU_LOCAL_TASK,
'weight' => 2,
);
+ $items['admin/content'] = array(
+ 'title' => 'Content management',
+ 'description' => "Manage your site's content.",
+ 'position' => 'left',
+ 'weight' => -10,
+ 'page callback' => 'system_admin_menu_block_page',
+ 'access arguments' => array('access administration pages'),
+ 'file' => 'system.admin.inc',
+ );
+
// menu items that are basically just menu blocks
$items['admin/settings'] = array(
'title' => 'Site configuration',