Fixed the position of items in the 'New revision' fieldset when user clone a node
This commit is contained in:
parent
05da76f3b9
commit
4d8618fa59
1 changed files with 5 additions and 0 deletions
|
@ -147,6 +147,11 @@ function zuitedesk_preprocess_page(&$vars, $hook) {
|
|||
$vars['head_title'] = str_replace(array('°', 'ª', '⁻'), '', $vars['head_title']);
|
||||
}
|
||||
|
||||
// Body class for node clone:
|
||||
if (is_numeric(arg(1)) && arg(2) == 'clone' && arg(3) == '') {
|
||||
$vars['classes_array'][] = 'section-node-clone';
|
||||
}
|
||||
|
||||
// We need to re-do the $layout and body classes because
|
||||
// template_preprocess_page() assumes sidebars are named 'left' and 'right'.
|
||||
if (!empty($vars['sidebar_main'])) {
|
||||
|
|
Reference in a new issue