addanother_help($path, $arg)Implementation of hook_help().
contributions/addanother/addanother.module, line 10
<?php
function addanother_help($path, $arg) {
$output = '';
switch ($path) {
case "admin/help#addanother":
$output = '<p>'. t("Presents users with an option to create another node of the same type after a node is added.") .'</p>';
return $output;
case 'admin/settings/addanother':
$output = 'Here you can select the content types for which an <em>"Add another..."</em> message will be displayed. After creating a new content node, users with the <a href="@addanother_perm">enable add another</a> permission will receive a message allowing them to add another content node of the same type.';
return '<p>'. t($output, array(
'@addanother_perm' => url('admin/user/permissions', array('fragment' => 'module-addanother')),
)) .'</p>';
}
}
?>