summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-12-27 14:21:53 +0000
committerDries Buytaert <dries@buytaert.net>2002-12-27 14:21:53 +0000
commit2254160642fe33ab2e05db6ad80e376489bd5e1e (patch)
tree73978e466622f436f2d3ea8a844b09287daa100d /modules/node.module
parenta4a8535a9e4e955603b3c651d2375a361b600c78 (diff)
downloadbrdo-2254160642fe33ab2e05db6ad80e376489bd5e1e.tar.gz
brdo-2254160642fe33ab2e05db6ad80e376489bd5e1e.tar.bz2
- Added a "submit new content" link to the admin page. Suggested by Amy.
(Temporary solution only - probably needs better integration?)
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module1
1 files changed, 1 insertions, 0 deletions
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);