function revisioning_help in Revisioning 7
Same name and namespace in other branches
- 8 revisioning.module \revisioning_help()
- 6.4 revisioning.module \revisioning_help()
- 6 revisioning.module \revisioning_help()
- 6.3 revisioning.module \revisioning_help()
Implements hook_help().
File
- ./
revisioning.module, line 42 - Allows content to be updated and reviewed before submitting it for publication, while the current live revision remains unchanged and publicly visible until the changes have been reviewed and found fit for publication by a moderator.
Code
function revisioning_help($path, $arg) {
switch ($path) {
case 'admin/help#revisioning':
$s = t('For documentation and tutorials see the <a href="@revisioning">Revisioning project page</a>', array(
'@revisioning' => url('http://drupal.org/project/revisioning'),
));
break;
case 'node/%/revisions':
$s = t('To edit, publish or delete one of the revisions below, click on its saved date.');
break;
case 'admin/structure/trigger/revisioning':
$s = t("Below you can assign actions to run when certain publication-related events happen. For example, you could send an e-mail to an author when their pending content is pubished.");
break;
case 'accessible-content/i-created/pending':
$s = t('Showing all <em>pending</em> content <em>you created</em> and still have at least view access to.');
break;
case 'accessible-content/i-last-modified/pending':
$s = t('Showing all <em>pending</em> content <em>you last modified</em> and still have at least view access to.');
break;
case 'accessible-content/i-can-edit/pending':
$s = t('Showing all <em>pending</em> content you can <em>edit</em>.');
break;
case 'accessible-content/i-can-view/pending':
$s = t('Showing all <em>pending</em> content you have at least <em>view</em> access to.');
break;
}
return empty($s) ? '' : $s . '<br/>';
}