function anonymous_publishing_help in Anonymous Publishing 7
Same name and namespace in other branches
- 8 anonymous_publishing.module \anonymous_publishing_help()
Implements hook_help().
File
- ./
anonymous_publishing.module, line 13 - Hooks for the Anonymous Publishing parent module.
Code
function anonymous_publishing_help($path, $arg) {
switch ($path) {
case 'admin/help#anonymous_publishing':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t("The modules in this project is used to mange anonymous publishing on your site. This is the project's parent module. By itself does nothing. You need to enable at least one of the submodules listed below to be able to use the feature's of this project.") . '</p>';
$output .= '<p>' . t('The major features of <strong>Anonymous Publishing</strong> project are:') . '</p><ol>';
$output .= '<li>' . t("Users may publish content without first registering an account at the site, but in a manner that affords some protection against spam — some call this the “Craig's List model”.") . ' ';
$output .= t('(Enable <strong>Anonymous Publishing CL</strong>.)</li><li>');
$output .= t('Users who have previously published content without registering may later register and claim that content — sometimes called “lazy registration”.') . ' ';
$output .= t('(Enable <strong>Anonymous Publishing LR</strong>.)</li><li>');
$output .= t('Authenticated users may publish content as an anonymous user. This is to provide privacy when authenticated users post about sensitive issues.') . ' ';
$output .= t('(Enable <strong>Anonymous Publishing PET</strong>.)</li><li>');
$output .= t('Site builders may use <strong>Views</strong> to create guestbooks and similar pages where anonymous publishers may post.') . ' ';
$output .= t('(Enable <strong>Anonymous Publishing Views</strong>.)</li></ol>');
$output .= t("<p>There is no module configuration page for the parent module. You may want to configure module permissions (permissions are shared by all the project's modules).</p>");
if (module_exists('advanced_help_hint')) {
$output .= advanced_help_hint_docs('anonymous_publishing', 'https://www.drupal.org/docs/7/modules/anonymous-publishing', TRUE);
}
else {
$output .= t('<p>Install and enable <a href="https://www.drupal.org/project/advanced_help_hint"><strong>Advanced Help Hint</strong></a> to get links to more help here.</p>');
}
return $output;
}
}