diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-09 18:53:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-09 18:53:22 +0000 |
commit | 1a5fcacdd9d6831a01d8eab8f49674c59c25cb80 (patch) | |
tree | 058d3837d5609f0e26442f38b3e35fe7305d1d36 /modules/blog/blog.module | |
parent | 928527538757cffbaaee811d06ae7b6a99f2afe4 (diff) | |
download | brdo-1a5fcacdd9d6831a01d8eab8f49674c59c25cb80.tar.gz brdo-1a5fcacdd9d6831a01d8eab8f49674c59c25cb80.tar.bz2 |
- Committed part 3 of Michael's help system improvements: removed the $help
parameter from the menu() function.
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r-- | modules/blog/blog.module | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index ba27e1f41..b72bb7719 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -69,8 +69,7 @@ function blog_help($section) { $output =""; switch ($section) { - case 'admin/blog/help': - case 'admin/help': + case 'admin/help#blog': $output .= "<p>Drupal's blog module allows registered users to maintain an online weblog (commonly known as a blog), often referred to as an online journal or diary. These can be filled with daily thoughts, poetry, boneless blabber, spiritual theories, intimate details, valuable experiences, cynical rants, semi-coherent comments, writing experiments, artistic babblings, critics on current facts, fresh insights, diverse dreams, chronicles and mumbling madness available for public consumption.</p>"; $output .= "<p>Blogs are made up of individual entries (nodes) that are timestamped and are typically viewed by day as you would a diary. Blogs often contain links to things you've seen and/or agree/disagree with. A typical example of a long term blog can be seen at %scripting-com.</p>"; $output .= "<p>The blog module adds a \"user blogs\" navigation link to the site, which takes any visitor to a page that displays the most recent blog entries from all the users on the site. Personal user menus gain a \"create a blog entry\" link (which takes you to a submission form) and a \"view personal blog\" link (which displays your blog entries as other people will see them). On the bottom of each of your own blog entries, there is an \"edit this blog entry\" link that lets you edit or delete that entry.</p>"; @@ -253,10 +252,10 @@ function blog_link($type, $node = 0, $main) { if ($type == "system") { if (user_access("maintain personal blog")) { - menu("node/add/blog", t("blog entry"), "blog_page", NULL, 0); + menu("node/add/blog", t("blog entry"), "blog_page", 0); } if (user_access("maintain personal blog")) { - menu("blog/" . $user->uid, t("my blog"), "user_page", NULL, 1); + menu("blog/" . $user->uid, t("my blog"), "user_page", 1); } } |