function _revisioning_present_node in Revisioning 6.4
Same name and namespace in other branches
- 6.3 revisioning.module \_revisioning_present_node()
Display all revisions of the supplied node in a themed table with links for the permitted operations above it.
1 string reference to '_revisioning_present_node'
- revisioning_menu_alter in ./
revisioning.module - Implementation of hook_menu_alter().
File
- ./
revisioning.module, line 765 - Allows the creation and modification of pre-published as well as live content while the current revision remains unchanged and publicly visible until the changes have been reviewed by a moderator.
Code
function _revisioning_present_node($node, $op = 'any') {
return $op == 'edit' && !$node->revision_moderation ? node_page_edit($node) : _theme_revisions_summary($node);
}