From 31d852ac758040de2ffdc1450bb00beee677af59 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Sun, 11 Feb 2007 00:17:58 +0000 Subject: [PATCH] #111537 by jpetso. Add #weight to content type editing screen buttons. --- modules/node/content_types.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index b51cac15d30..7b2c55b95c1 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, ); }