You are here

function privatemsg_help in Privatemsg 5.3

Same name and namespace in other branches
  1. 5 privatemsg.module \privatemsg_help()
  2. 7.2 privatemsg.module \privatemsg_help()
  3. 7 privatemsg.module \privatemsg_help()

Implementation of hook_help().

File

./privatemsg.module, line 10

Code

function privatemsg_help($section) {
  switch ($section) {
    case 'admin/help#privatemsg':
      $output = '<p>' . t('The private messaging module allows users to send messages to each other without having to share email addresses. An inbox link will appear in the navigation menu. The "write to author" links are included in posts, allowing users to write a private message instead of commenting openly. Allowing users to communicate directly is an important part of building the strength of the community.') . '</p>';
      $output .= '<p>' . t('The contacts list contains only users that you have previously messaged. To contact users not in your list, you need to know their local user name. Administrators can set messaging options such as frequency of emails, message status display, and number of messages to display per page. They can also configure \'Write to Author\' options.') . '</p>';
      $output .= t('<p>You can</p>
<ul>
<li>administer privatemsg at <a href="!admin-settings-privatemsg">administer &gt;&gt; settings &gt;&gt; private message</a>.</li>
<li>view your private messages at <a href="!privatemsg">view inbox</a>.</li>
</ul>', array(
        '!admin-settings-privatemsg' => url('admin/settings/privatemsg'),
        '!privatemsg' => url('privatemsg'),
      ));
      $output .= '<p>' . t('For more information please read the configuration and customization handbook <a href="!privatemsg">Privatemsg page</a>.', array(
        '!privatemsg' => 'http://drupal.org/handbook/modules/privatemsg/',
      )) . '</p>';
      return $output;
  }
}