Index: scripturefilter.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/scripturefilter/scripturefilter.module,v
retrieving revision 1.5
diff -u -r1.5 scripturefilter.module
--- scripturefilter.module      12 Feb 2006 03:31:21 -0000      1.5
+++ scripturefilter.module      25 Feb 2006 21:42:04 -0000
@@ -26,13 +26,38 @@
     case 'process':
       //$text = ' '.$text.' '
       //$text = scripturize($text)
-      return scripturize($text);
+      return scripturize($text, variable_get("scripturefilter_default_translation_$format", DEFAULT_BIBLE_TRANSLATION));

     case 'settings':
       $form['filter_scripturefilter'] = array('#type' => 'fieldset',
                                              '#title' => 'Scripture filter',
                                              '#collapsible' => TRUE,
                                              '#description' => t('This filter enables content that has a reference to Scripture to be linked against several on-line databases, such as BibleGateway, the ESV online Bible and the NET Bible. It was originally a Perl plug-in, converted to PHP for use in Wordpress and now converted to a Drupal module.'));
+
+      $form['filter_scripturefilter']["scripturefilter_default_translation_$format"] =
+       array('#type' => 'select',
+             '#title' => t('Default Bible translation'),
+             '#default_value' => variable_get("scripturefilter_default_translation_$format", DEFAULT_BIBLE_TRANSLATION),
+             '#options' => array("KJ21" => t("21st Century King James Version"),
+                                 "ASV" => t("American Standard Version"),
+                                 "AMP" => t("Amplified Bible"),
+                                 "CEV" => t("Contemporary English Version"),
+                                 "DARBY" => t("Darby Translation"),
+                                 "ESV" => t("English Standard Version"),
+                                 "KJV" => t("King James Version"),
+                                 "MSG" => t("The Message"),
+                                 "NASB" => t("New American Standard Bible"),
+                                 "NET" => t("New English Translation"),
+                                 "NIRV" => t("New International Reader's Version"),
+                                 "NIV" => t("New International Version"),
+                                 "NIV-UK" => t("New International Version - UK"),
+                                 "NKJV" => t("New King James Version"),
+                                 "NLT" => t("New Living Translation"),
+                                 "WE" => t("Worldwide English New Testament"),
+                                 "WYC" => t("Wycliffe New Testament"),
+                                 "YLT" => t("Young's Literal Translation"),
+                                 ),
+             );
       return $form;

     default:
