function diff_help in Diff 7.3
Same name and namespace in other branches
- 8 diff.module \diff_help()
- 5.2 diff.module \diff_help()
- 5 diff.module \diff_help()
- 6.2 diff.module \diff_help()
- 6 diff.module \diff_help()
- 7.2 diff.module \diff_help()
Implements hook_help().
File
- ./
diff.module, line 37 - Provides functionality to show a diff between two node revisions.
Code
function diff_help($path, $arg) {
switch ($path) {
case 'admin/help#diff':
$output = '<p>' . t('The Diff module replaces the normal <em>Revisions</em> node tab. Diff enhances the listing of revisions with an option to view the differences between any two content revisions. Access to this feature is controlled with the <em>View revisions</em> permission. The feature can be disabled for an entire content type on the content type configuration page. Diff also provides an optional <em>View changes</em> button while editing a node.') . '</p>';
return $output;
case 'node/%/revisions/%/view':
// The translated strings should match node_help('node/%/revisions').
return '<p>' . t('Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.') . '</p>';
case 'node/%/revisions/view/%/%':
return '<p>' . t('Comparing two revisions:') . '</p>';
}
}