You are here

function diff_diffs_overview in Diff 5

Same name and namespace in other branches
  1. 5.2 diff.module \diff_diffs_overview()
  2. 6.2 diff.pages.inc \diff_diffs_overview()
  3. 6 diff.module \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 call to diff_diffs_overview()
diff_diffs in ./diff.module
Menu callback for diff related activities.

File

./diff.module, line 114

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;
}