function mass_contact_help in Mass Contact 5
Same name and namespace in other branches
- 8 mass_contact.module \mass_contact_help()
- 5.2 mass_contact.module \mass_contact_help()
- 6 mass_contact.module \mass_contact_help()
- 7 mass_contact.module \mass_contact_help()
Implementation of hook_help().
File
- ./
mass_contact.module, line 12 - Enables mass contact form to selected roles.
Code
function mass_contact_help($section) {
switch ($section) {
case 'admin/help#mass_contact':
$output .= '<p><b>' . t('Related tasks:') . '</b><br/>' . t('1. <a href="/admin/build/mass_contact/add">Add a category</a><br/>2. <a href="/admin/build/mass_contact">View categories</a><br/>3. <a href="/admin/build/mass_contact/settings">Configure the module</a><br/>4. <a href="/admin/user/access#module-mass_contact">Set Permissions</a><br />5. <a href="/mass_contact">Send mass e-mail</a>') . '</p>';
$output .= '<p>' . t('The Mass Contact module is simply a modified version of the core contact module. It works opposite the latter, in that it allows site moderators (or anyone with permission), to <a href="/mass_contact">send mass e-mail</a> to a set role or group of roles or even to all registered users.') . '</p>';
$output .= '<p>' . t("The sender's own address may be placed in the 'To:' field and all recipients placed in the 'Bcc:' field, or the recipients simply placed in the 'To:' field.\tNote that the latter option leaves all recipients open to abuse due to their e-mail addresses being visible to all other recipients.") . '</p>';
$output .= '<p>' . t("The e-mail may be sent as html or plain text, and may include a single binary file attachment (if permitted by admin).") . '</p>';
$output .= '<p>' . t("At the option of the sender (if permitted by admin), a node may be created in order to keep a record of the e-mail sent. Do not try to send e-mails by creating nodes; it will not work.") . '</p>';
$output .= '<p>' . t('Users may opt-out of mass mailings on their profile page, but this may be overridden by the admin (or respected). The entire opt-out system may be disabled on the <a href="@settings-page">settings page</a>.', array(
'@settings-page' => url('admin/build/mass_contact/settings'),
)) . '</p>';
$output .= '<p>' . t('Make sure to add at least one category and configure the module before trying to send mass e-mails.') . '</p>';
if (!module_exists('menu')) {
$menu_note = t('The menu item can be customized and configured only once the menu module has been <a href="@modules-page">enabled</a>.', array(
'@modules-page' => url('admin/\\/modules'),
));
}
else {
$menu_note = '';
}
$output .= '<p>' . t('The Mass Contact module also adds a <a href="@menu-settings">menu item</a> (disabled by default) to the navigation block.', array(
'@menu-settings' => url('admin/build/menu'),
)) . ' ' . $menu_note . '</p>';
return $output;
}
}