summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-26 06:49:28 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-26 06:49:28 +0000
commit0541a67701d35b35278126dcc99cfacd253fbf6c (patch)
tree7ba16c24396855ae872eab089cc2b9e7e38f3f5f /modules/blog
parentb77dd5349cb2774b94f20d8613c94b706fe1642f (diff)
downloadbrdo-0541a67701d35b35278126dcc99cfacd253fbf6c.tar.gz
brdo-0541a67701d35b35278126dcc99cfacd253fbf6c.tar.bz2
#633064 by arianek and jhodgdon: Updated Blog Module to new documentation standard.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module17
1 files changed, 13 insertions, 4 deletions
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 = '<p>' . t('The blog module allows registered users to maintain an online journal, or <em>blog</em>. Blogs are made up of individual <em>blog entries</em>, and the blog entries are most often displayed in descending order by creation time.') . '</p>';
- $output .= '<p>' . t("There is an (optional) <em>Blogs</em> menu item added to the Navigation menu, which displays all blogs available on your site, and a <em>My blog</em> item displaying the current user's blog entries. The <em>Blog entry</em> menu item under <em>Add new content</em> allows new blog entries to be created.") . '</p>';
- $output .= '<p>' . 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 <em>Recent blog posts</em> block that may be enabled at the <a href="@blocks">blocks administration page</a>.', array('@blocks' => url('admin/structure/block'))) . '</p>';
- $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@blog">Blog module</a>.', array('@blog' => 'http://drupal.org/handbook/modules/blog/')) . '</p>';
+ $output = '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t("The Blog module allows registered users to maintain an online journal, or <em>blog</em>. Blogs are made up of individual <em>blog entries</em>. 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 <a href='@blog''>Blog module</a>.", array('@blog' => 'http://drupal.org/handbook/modules/blog/')) . '</p>';
+ $output .= '<h3>' . t('Uses') . '</h3>';
+ $output .= '<dl>';
+ $output .= '<dt>' . t('Single-user blogs') . '</dt>';
+ $output .= '<dd>' . 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.") . '</dd>';
+ $output .= '<dt>' . t('Multi-user blogs') . '</dt>';
+ $output .= '<dd>' . 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.") . '</dd>';
+ $output .= '<dt>' . t('Navigation') . '</dt>';
+ $output .= '<dd>' . t("There is an optional <em>Blogs</em> menu item added to the Navigation menu, which displays all blogs available on your site, and a <em>My blog</em> item displaying the current user's blog entries.") . '</dd>';
+ $output .= '<dt>' . t('Blocks') . '</dt>';
+ $output .= '<dd>' . t('The Blog module also creates a default <em>Recent blog posts</em> block that may be enabled at the <a href="@blocks">blocks administration page</a>.', array('@blocks' => url('admin/structure/block'))) . '</dd>';
+ $output .= '</dl>';
return $output;
}
}