You are here

function diff_help in Diff 5

Same name and namespace in other branches
  1. 8 diff.module \diff_help()
  2. 5.2 diff.module \diff_help()
  3. 6.2 diff.module \diff_help()
  4. 6 diff.module \diff_help()
  5. 7.3 diff.module \diff_help()
  6. 7.2 diff.module \diff_help()

Implementation of hook_help().

File

./diff.module, line 11

Code

function diff_help($section) {
  switch ($section) {
    case 'admin/help#diff':
      $output = '<p>' . t('The diff module overwrites the normal revisions view. The revisions table is enhanced with a possibility to view the difference between two node revisions. Users with the %view_revisions permission will also be able to view the changes between any two selected revisions. You may disable this for individual content types on the content type configuration page. This module also provides a nifty %preview_changes button while editing a post.', array(
        '%preview_changes' => t('Preview changes'),
        '%view_revisions' => t('view revisions'),
      )) . '</p>';
      return $output;
  }
}