--- modules/taxonomy_defaults/taxonomy_defaults.admin.inc	2008-12-21 07:11:52.000000000 +1300
+++ modules/taxonomy_defaults/taxonomy_defaults.admin.inc	2010-03-31 14:07:03.000000000 +1300
@@ -18,6 +18,20 @@ function taxonomy_defaults_form() {
         '#default_value' => variable_get("taxdef_{$type}_{$vid}_active", FALSE),
         '#weight' => -16,
       );
+// dean - insert arg() and nat_ng text field and checkbox
+        $form[$type][$vid]['argument'] = array(
+        '#type' => 'textfield',
+        '#default_value' => variable_get("taxdef_{$type}_{$vid}_argument", FALSE),
+        '#size' => 2,
+        '#maxlength' => 2,
+        '#required' => FALSE,
+        );
+         $form[$type][$vid]['nat_ng'] = array(
+        '#type' => 'checkbox',
+        '#default_value' => variable_get("taxdef_{$type}_{$vid}_nat_ng", FALSE),
+        '#weight' => -15,
+      );
+// - fin
       $form[$type][$vid]['name'] = array('#value' => t( $vocab->name ) );
 
       if ($vocab->tags) {
@@ -54,11 +68,15 @@ function taxonomy_defaults_form() {
  */
 function taxonomy_defaults_form_submit($form, &$form_state) {
   $op = $form_state['clicked_button']['op'];
-
+// dean - Note: for some reason, Reseting to defaults does not work -- Needs fixing
   if ($op == t('Reset to defaults')) {
     foreach (node_get_types() as $type => $name) {
       foreach ($form_state['values'][$type] as $vid => $values) {
         variable_del("taxdef_{$type}_{$vid}_active");
+       // Dean - 31-03-10
+        variable_del("taxdef_{$type}_{$vid}_argument");
+        variable_del("taxdef_{$type}_{$vid}_nat_ng");
+        // - fin
         variable_del("taxdef_{$type}_{$vid}");
       }
     }
@@ -68,6 +86,10 @@ function taxonomy_defaults_form_submit($
     foreach (node_get_types() as $type => $name) {
       foreach ($form_state['values'][$type] as $vid => $values) {
         variable_set("taxdef_{$type}_{$vid}_active", $values['active']);
+        // Dean - 31-03-10
+        variable_set("taxdef_{$type}_{$vid}_argument", $values['argument']);
+        variable_set("taxdef_{$type}_{$vid}_nat_ng", $values['nat_ng']);
+        // - fin
         if ($values['active']) {
           variable_set("taxdef_{$type}_{$vid}", is_array($values['select']) ? $values['select'] : array($values['select']));
         }
@@ -92,11 +114,18 @@ function theme_taxonomy_defaults_form($f
 
       $vocabtable[$rowcount][] = drupal_render($form[$type][$key]['name']);
       $vocabtable[$rowcount][] = drupal_render($form[$type][$key]['active']);
+      // Dean
+      $vocabtable[$rowcount][] = drupal_render($form[$type][$key]['argument']);
+      $vocabtable[$rowcount][] = drupal_render($form[$type][$key]['nat_ng']);
+      // - fin
       $vocabtable[$rowcount][] = drupal_render($form[$type][$key]['select']);
       $vocabtable[$rowcount][] = array( 'data' => drupal_render($form[$type][$key]['tip']) );
       $rowcount++;
     }
-    $subtable = theme('table', array(t('Vocabulary'),t('Enabled'),t('Default Terms'), t('Notes')), $vocabtable);
+    // dean - insert argument in subtable
+    // old - $subtable = theme('table', array(t('Vocabulary'),t('Enabled'),t('Default Terms'), t('Notes')), $vocabtable);
+    $subtable = theme('table', array(t('Vocabulary'),t('Enabled'),t('arg()'),t('nat_ng'),t('Default Terms'), t('Notes')), $vocabtable);
+    // - fin
     unset($vocabtable);
 
     $fieldset = array(
