summaryrefslogtreecommitdiff
path: root/modules/dashboard/dashboard.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-26 06:59:07 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-26 06:59:07 +0000
commita46e9b6fff43a101c6dff64e901df152d4994eca (patch)
tree28ef10112fccacc98c5bdb0d222dea69dd6f2dbe /modules/dashboard/dashboard.module
parent0541a67701d35b35278126dcc99cfacd253fbf6c (diff)
downloadbrdo-a46e9b6fff43a101c6dff64e901df152d4994eca.tar.gz
brdo-a46e9b6fff43a101c6dff64e901df152d4994eca.tar.bz2
#637710 by jhodgdon, heather, and arianek: Update Poll and Dashboard to new help standard.
Diffstat (limited to 'modules/dashboard/dashboard.module')
-rw-r--r--modules/dashboard/dashboard.module20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/dashboard/dashboard.module b/modules/dashboard/dashboard.module
index e7091fe4d..5fd5d6ac8 100644
--- a/modules/dashboard/dashboard.module
+++ b/modules/dashboard/dashboard.module
@@ -2,6 +2,26 @@
// $Id$
/**
+ * Implements hook_help().
+ */
+function dashboard_help($path, $arg) {
+ switch ($path) {
+ case 'admin/help#dashboard':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('The Dashboard module provides a <a href="@dashboard">Dashboard page</a> in the administrative interface for organizing administrative tasks and navigation, and tracking information within your site. The Dashboard page contains blocks, which you can add to and arrange using the drag and drop interface that appears when you click on the <em>Customize</em> link.', array('@dashboard' => url('admin/dashboard'))) . '</p>';
+ $output .= '<h3>' . t('Uses') . '</h3>';
+ $output .= '<dl>';
+ $output .= '<dt>' . t('Tracking user activity') . '</dt>';
+ $output .= '<dd>' . t("By enabling blocks such as <em>Who's online</em> and <em>Who's new</em>, site users can track who is logged in and new user signups at a centralized location.") . '</dd>';
+ $output .= '<dt>' . t('Tracking content activity') . '</dt>';
+ $output .= '<dd>' . t('By enabling blocks such as <em>Recent blog posts</em>, <em>New forum topics</em> and <em>Recent comments</em>, site users can view newly added site content at a glance.') . '</dd>';
+ $output .= '</dl>';
+ return $output;
+ }
+}
+
+/**
* Implement hook_menu().
*/
function dashboard_menu() {