summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-02-10 13:31:32 +0000
committerDries Buytaert <dries@buytaert.net>2007-02-10 13:31:32 +0000
commitd6e62eea211f3334e29d32ac38ff3f0cf811ba66 (patch)
tree7ca73c34f712e1ce924b707efcbf6821b8a58514 /modules
parent7891439f884ec4bf5c67bef12b3fe3475f6b2833 (diff)
downloadbrdo-d6e62eea211f3334e29d32ac38ff3f0cf811ba66.tar.gz
brdo-d6e62eea211f3334e29d32ac38ff3f0cf811ba66.tar.bz2
- Patch #111537 by jpetso: submit buttons lack weight.
Diffstat (limited to 'modules')
-rw-r--r--modules/node/content_types.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index b51cac15d..7b2c55b95 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -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,
);
}