From 0541a67701d35b35278126dcc99cfacd253fbf6c Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 26 Nov 2009 06:49:28 +0000 Subject: #633064 by arianek and jhodgdon: Updated Blog Module to new documentation standard. --- modules/blog/blog.module | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index a51a238b1..294dfb17f 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -39,10 +39,19 @@ function blog_user_view($account) { function blog_help($path, $arg) { switch ($path) { case 'admin/help#blog': - $output = '

' . t('The blog module allows registered users to maintain an online journal, or blog. Blogs are made up of individual blog entries, and the blog entries are most often displayed in descending order by creation time.') . '

'; - $output .= '

' . t("There is an (optional) Blogs menu item added to the Navigation menu, which displays all blogs available on your site, and a My blog item displaying the current user's blog entries. The Blog entry menu item under Add new content allows new blog entries to be created.") . '

'; - $output .= '

' . t('Each blog entry is displayed with an automatic link to other blogs created by the same user. By default, blog entries have comments enabled and are automatically promoted to the site front page. The blog module also creates a Recent blog posts block that may be enabled at the blocks administration page.', array('@blocks' => url('admin/structure/block'))) . '

'; - $output .= '

' . t('For more information, see the online handbook entry for Blog module.', array('@blog' => 'http://drupal.org/handbook/modules/blog/')) . '

'; + $output = '

' . t('About') . '

'; + $output .= '

' . t("The Blog module allows registered users to maintain an online journal, or blog. Blogs are made up of individual blog entries. By default, the blog entries are displayed by creation time in descending order, with comments enabled, and are promoted to the site's front page. For more information, see the online handbook entry for Blog module.", array('@blog' => 'http://drupal.org/handbook/modules/blog/')) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Single-user blogs') . '
'; + $output .= '
' . t("Each user's blog entries are automatically displayed with a link to the user's main blog page. You can create as many single-user blogs as you have site users with permission to create blog content.") . '
'; + $output .= '
' . t('Multi-user blogs') . '
'; + $output .= '
' . t("Blog entries from each single-user blog are also aggregated into one central multi-user blog, which displays the blog content of all users in a single listing.") . '
'; + $output .= '
' . t('Navigation') . '
'; + $output .= '
' . t("There is an optional Blogs menu item added to the Navigation menu, which displays all blogs available on your site, and a My blog item displaying the current user's blog entries.") . '
'; + $output .= '
' . t('Blocks') . '
'; + $output .= '
' . t('The Blog module also creates a default Recent blog posts block that may be enabled at the blocks administration page.', array('@blocks' => url('admin/structure/block'))) . '
'; + $output .= '
'; return $output; } } -- cgit v1.2.3