diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-12-27 14:21:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-12-27 14:21:53 +0000 |
commit | 2254160642fe33ab2e05db6ad80e376489bd5e1e (patch) | |
tree | 73978e466622f436f2d3ea8a844b09287daa100d | |
parent | a4a8535a9e4e955603b3c651d2375a361b600c78 (diff) | |
download | brdo-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?)
-rw-r--r-- | modules/node.module | 1 | ||||
-rw-r--r-- | modules/node/node.module | 1 |
2 files changed, 2 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); diff --git a/modules/node/node.module b/modules/node/node.module index 9dd832fa3..c1a82d46e 100644 --- a/modules/node/node.module +++ b/modules/node/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); |