Index: term_permissions.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/term_permissions/term_permissions.module,v
retrieving revision 1.4
diff -u -r1.4 term_permissions.module
--- term_permissions.module	12 Mar 2009 18:01:52 -0000	1.4
+++ term_permissions.module	12 Mar 2009 18:13:13 -0000
@@ -58,7 +58,8 @@
       '#title' => t('Add a User'),
       '#description' => t('Enter a user name to add them to the list of allowed users for this term.'),
       '#size' => 40,
-      '#autocomplete_path' => 'user/autocomplete',    
+      '#autocomplete_path' => 'user/autocomplete',
+      '#weight' => -10,
     );
 
     // Pull in any stored users in the database.
@@ -75,6 +76,7 @@
           '#type' => 'checkbox',
           '#title' => t('Remove !user', array('!user' => $user->name)),
         ),
+        '#weight' => -5,
       );
     }
 
@@ -85,10 +87,14 @@
       '#description' => t('Add a role to allow all members of that role access to this term.'),
       '#options' => array(-1 => t('- Select a role -')) + _term_permissions_roles($form['#term']['tid'], FALSE),
       '#multiple' => FALSE,
+      '#weight' => 5,
     );
 
     $result = db_query("SELECT rid FROM {term_permissions_role} WHERE tid = %d", $form['#term']['tid']);
     $roles = user_roles(TRUE);
+    $form['access']['roles'] = array(
+      '#weight' => 7,
+    );
     while($rid = db_result($result)) {
       $role = $roles[$rid];
       $form['access']['roles'][$rid] = array(
