node_revision_delete_confirm($node)
node/node.module, line 1840
Ask confirmation for revision deletion to prevent against CSRF attacks.
<?php
function node_revision_delete_confirm($node) {
$form['node'] = array('#type' => 'value', '#value' => $node);
return confirm_form($form, t('Are you sure you want to delete the revision from %revision-date?', array('%revision-date' => format_date($node->revision_timestamp))), 'node/'. $node->nid .'/revisions', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}
?>