- Patch #934790 by agentrickard: use _node_custom_theme() for revision callbacks.
parent
ebaa90dc6b
commit
c54107146b
|
@ -1968,6 +1968,7 @@ function node_menu() {
|
|||
'page arguments' => array(1),
|
||||
'access callback' => '_node_revision_access',
|
||||
'access arguments' => array(1),
|
||||
'theme callback' => '_node_custom_theme',
|
||||
'weight' => 2,
|
||||
'type' => MENU_LOCAL_TASK,
|
||||
'file' => 'node.pages.inc',
|
||||
|
@ -1987,6 +1988,7 @@ function node_menu() {
|
|||
'page arguments' => array('node_revision_revert_confirm', 1),
|
||||
'access callback' => '_node_revision_access',
|
||||
'access arguments' => array(1, 'update'),
|
||||
'theme callback' => '_node_custom_theme',
|
||||
'file' => 'node.pages.inc',
|
||||
);
|
||||
$items['node/%node/revisions/%/delete'] = array(
|
||||
|
@ -1996,6 +1998,7 @@ function node_menu() {
|
|||
'page arguments' => array('node_revision_delete_confirm', 1),
|
||||
'access callback' => '_node_revision_access',
|
||||
'access arguments' => array(1, 'delete'),
|
||||
'theme callback' => '_node_custom_theme',
|
||||
'file' => 'node.pages.inc',
|
||||
);
|
||||
return $items;
|
||||
|
|
Loading…
Reference in New Issue