diff options
-rw-r--r-- | modules/dashboard/dashboard.info | 2 | ||||
-rw-r--r-- | modules/dashboard/dashboard.module | 20 | ||||
-rw-r--r-- | modules/poll/poll.module | 13 |
3 files changed, 31 insertions, 4 deletions
diff --git a/modules/dashboard/dashboard.info b/modules/dashboard/dashboard.info index 876b8a9ea..71004b415 100644 --- a/modules/dashboard/dashboard.info +++ b/modules/dashboard/dashboard.info @@ -1,6 +1,6 @@ ; $Id$ name = Dashboard -description = A module that provides a dashboard interface for organizing and tracking various information within your site. +description = Provides a dashboard page in the administrative interface for organizing administrative tasks and tracking information within your site. core = 7.x package = Core version = VERSION 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() { diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 18be700f2..be9d94522 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -13,9 +13,16 @@ function poll_help($path, $arg) { switch ($path) { case 'admin/help#poll': - $output = '<p>' . t('The poll module can be used to create simple polls for site users. A poll is a simple, multiple choice questionnaire which displays the cumulative results of the answers to the poll. Having polls on the site is a good way to receive feedback from community members.') . '</p>'; - $output .= '<p>' . t('When creating a poll, enter the question being posed, as well as the potential choices (and beginning vote counts for each choice). The status and duration (length of time the poll remains active for new votes) can also be specified. Use the <a href="@poll">poll</a> menu item to view all current polls. To vote in or view the results of a specific poll, click on the poll itself.', array('@poll' => url('poll'))) . '</p>'; - $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@poll">Poll module</a>.', array('@poll' => 'http://drupal.org/handbook/modules/poll/')) . '</p>'; + $output = ''; + $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<p>' . t('The Poll module can be used to create simple surveys or questionnaires which display the cumulative results. A poll is a good way to receive feedback from site users and community members. For more information, see the online handbook entry for the <a href="@poll">Poll module</a>.', array('@poll' => 'http://drupal.org/handbook/modules/poll/')) . '</p>'; + $output .= '<h3>' . t('Uses') . '</h3>'; + $output .= '<dl>'; + $output .= '<dt>' . t('Creating a poll') . '</dt>'; + $output .= '<dd>' . t('Users can create a poll by clicking on Poll on the <a href="@add-content">Add content</a> page, and entering the question being posed, as well as the potential choices (and beginning vote counts for each choice). The status (closed or active) and duration (length of time the poll remains active for new votes) can also be specified.', array('@add-content' => url('node/add'))) . '</dd>'; + $output .= '<dt>' . t('Viewing polls') . '</dt>'; + $output .= '<dd>' . t('You can visit the <a href="@poll">Polls</a> page to view all current polls, or alternately enable the <em>Most recent poll</em> block on the <a href="@blocks">Blocks administration page</a>. To vote in, or view the results of a specific poll, you can click on the poll itself.', array('@poll' => url('poll'), '@blocks' => url('admin/structure/block'))) . '</dd>'; + $output .= '</dl>'; return $output; } } |