Index: program/station_program.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/station/program/station_program.install,v
retrieving revision 1.5
diff -u -p -r1.5 station_program.install
--- program/station_program.install	13 Aug 2007 17:16:32 -0000	1.5
+++ program/station_program.install	9 Nov 2007 07:07:29 -0000
@@ -27,6 +27,8 @@ function station_program_install() {
  */
 function station_program_uninstall() {
   db_query('DROP TABLE {station_program}');
+
+  variable_del('station_program_redirect_on_add');
 }
 
 /**
@@ -79,4 +81,4 @@ function station_program_update_5200() {
     break;
   }
   return $ret;
-}
\ No newline at end of file
+}
Index: program/station_program.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/station/program/station_program.module,v
retrieving revision 1.9
diff -u -p -r1.9 station_program.module
--- program/station_program.module	13 Aug 2007 17:16:33 -0000	1.9
+++ program/station_program.module	9 Nov 2007 07:07:29 -0000
@@ -69,12 +69,18 @@ function station_program_perm() {
 }
 
 function station_program_admin_settings() {
-  $form = array();
+  $form['station_program_redirect_on_add'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Add multiple programs'),
+    '#default_value' => variable_get('station_program_redirect_on_add', TRUE),
+    '#description' => t('If this is checked after adding a new program node you will be redirected back to the new program form. This is much more convienient when entering multiple programs.'),
+  );
   $form['module_cvs_id'] = array(
     '#type' => 'item',
     '#value' => '<pre>'. STATION_PROGRAM_CVS_ID .'</pre>',
   );
-  return $form;
+
+  return system_settings_form($form);
 }
 
 /**
@@ -117,6 +123,12 @@ function station_program_access($op, $no
 function station_program_form(&$node) {
   $type = node_get_types('type', $node);
 
+  // Make it a little easier when doing data entry and redirect back to the
+  // add form after submitting a new program.
+  if (empty($node->nid) && variable_get('station_program_redirect_on_add', TRUE)) {
+    $form['#redirect'] = 'node/add/station-program';
+  }
+
   $form['title'] = array(
     '#type' => 'textfield',
     '#title' => check_plain($type->title_label),
@@ -239,4 +251,4 @@ function station_program_autocomplete($s
   }
   print drupal_to_js($matches);
   exit();
-}
\ No newline at end of file
+}
