summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoao Ventura2009-03-12 20:14:15 (GMT)
committer Joao Ventura2009-03-12 20:14:15 (GMT)
commitb45dc6a52085e29e84da8a2f1fd2cc0851604bab (patch)
treed33afe241afdc556ae38b96511e4ca6d888e5bfa
parent08db7283bb1c128392f72326ddda98359960cacf (diff)
Use weights to sink the per-type settings in the node edit form (from #388008)
-rw-r--r--print.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/print.module b/print.module
index 8ecfd79..ce9c938 100644
--- a/print.module
+++ b/print.module
@@ -48,6 +48,7 @@ define('PRINT_TYPE_URLLIST_DEFAULT', 1);
define('PRINT_ALLOW_NORMAL_LINK', 1);
define('PRINT_ALLOW_BOOK_LINK', 2);
+define('PRINT_TYPE_FIELDS_WEIGHT', 50);
require_once(drupal_get_path('module', 'print') .'/print.admin.inc');
require_once(drupal_get_path('module', 'print') .'/print.pages.inc');
@@ -333,6 +334,7 @@ function print_form_alter($form_id, &$form) {
'#title' => t('Printer, e-mail and PDF versions'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
+ '#weight' => PRINT_TYPE_FIELDS_WEIGHT,
);
$form['print']['label'] = array(