You are here

function diff_diffs_overview in Diff 6

Same name and namespace in other branches
  1. 5.2 diff.module \diff_diffs_overview()
  2. 5 diff.module \diff_diffs_overview()
  3. 6.2 diff.pages.inc \diff_diffs_overview()
  4. 7.3 diff.pages.inc \diff_diffs_overview()
  5. 7.2 diff.pages.inc \diff_diffs_overview()

Generate an overview table of older revisions of a node and provide an input form to select two revisions for a comparison.

1 string reference to 'diff_diffs_overview'
diff_menu_alter in ./diff.module
Implementation of hook_menu_alter().

File

./diff.module, line 55
Provides functionality to show a diff between two node revisions.

Code

function diff_diffs_overview(&$node) {
  $output = '';
  drupal_set_title(t('Revisions for %title', array(
    '%title' => $node->title,
  )));
  $output .= drupal_get_form('diff_node_revisions', $node);
  return $output;
}