#111537 by jpetso. Add #weight to content type editing screen buttons.
parent
b95cd6b62d
commit
31d852ac75
|
@ -194,6 +194,7 @@ function node_type_form($type = NULL) {
|
||||||
$form['submit'] = array(
|
$form['submit'] = array(
|
||||||
'#type' => 'submit',
|
'#type' => 'submit',
|
||||||
'#value' => t('Save content type'),
|
'#value' => t('Save content type'),
|
||||||
|
'#weight' => 40,
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($type->custom) {
|
if ($type->custom) {
|
||||||
|
@ -201,6 +202,7 @@ function node_type_form($type = NULL) {
|
||||||
$form['delete'] = array(
|
$form['delete'] = array(
|
||||||
'#type' => 'submit',
|
'#type' => 'submit',
|
||||||
'#value' => t('Delete content type'),
|
'#value' => t('Delete content type'),
|
||||||
|
'#weight' => 45,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -208,6 +210,7 @@ function node_type_form($type = NULL) {
|
||||||
$form['reset'] = array(
|
$form['reset'] = array(
|
||||||
'#type' => 'submit',
|
'#type' => 'submit',
|
||||||
'#value' => t('Reset to defaults'),
|
'#value' => t('Reset to defaults'),
|
||||||
|
'#weight' => 50,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue