#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(
|
||||
'#type' => 'submit',
|
||||
'#value' => t('Save content type'),
|
||||
'#weight' => 40,
|
||||
);
|
||||
|
||||
if ($type->custom) {
|
||||
|
@ -201,6 +202,7 @@ function node_type_form($type = NULL) {
|
|||
$form['delete'] = array(
|
||||
'#type' => 'submit',
|
||||
'#value' => t('Delete content type'),
|
||||
'#weight' => 45,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -208,6 +210,7 @@ function node_type_form($type = NULL) {
|
|||
$form['reset'] = array(
|
||||
'#type' => 'submit',
|
||||
'#value' => t('Reset to defaults'),
|
||||
'#weight' => 50,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue