#111537 by jpetso. Add #weight to content type editing screen buttons.

5.x
Neil Drumm 2007-02-11 00:17:58 +00:00
parent b95cd6b62d
commit 31d852ac75
1 changed files with 3 additions and 0 deletions

View File

@ -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,
);
}