From 2254160642fe33ab2e05db6ad80e376489bd5e1e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 27 Dec 2002 14:21:53 +0000 Subject: - Added a "submit new content" link to the admin page. Suggested by Amy. (Temporary solution only - probably needs better integration?) --- modules/node.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index 9dd832fa3..c1a82d46e 100644 --- a/modules/node.module +++ b/modules/node.module @@ -436,6 +436,7 @@ function node_link($type, $node = 0, $main = 0) { $search = "On this page you can search for a post. For example, one may search for 'br' and Drupal might return 'bread brakers', 'our daily bread' and 'brenda'."; menu_add("content management", "admin.php?mod=node", "Content management.", NULL, NULL); + menu_add("submit new content", "module.php?mod=node&op=add", "Submit new content.", NULL, "content management", -1, 1); menu_add("new or updated posts", "admin.php?mod=node&op=nodes&query=0", "Display all new or updated posts.", NULL, "content management", 0, 1); menu_add("posts that await approval", "admin.php?mod=node&op=nodes&query=1", "Display posts that await approval.", NULL, "content management", 0, 1); menu_add("search content", "admin.php?mod=node&op=search", "Search a post.", $search, "content management", 5); -- cgit v1.2.3