diff -bu 1/scripturefilter.info 2/scripturefilter.info
--- 1/scripturefilter.info	2011-02-25 07:48:47.000000000 +0000
+++ 2/scripturefilter.info	2012-01-03 12:31:15.294227395 +0000
@@ -1,10 +1,11 @@
+; $Id: scripturefilter.info,v 1.1.2.1 2008/02/19 00:27:19 smsimms Exp $
 name = Scripturefilter
 description = Turns any Scripture reference into a link to one of several online Bibles.
-core = 6.x
+core = 7.x
 
-; Information added by drupal.org packaging script on 2011-02-25
-version = "6.x-1.x-dev"
-core = "6.x"
+; Information added by drupal.org packaging script on 2008-02-19
+version = "7.x-dev"
+core = 7.x
 project = "scripturefilter"


diff -bu 1/scripturefilter.module 2/scripturefilter.module
--- 1/scripturefilter.module	2011-02-25 02:06:11.000000000 +0000
+++ 2/scripturefilter.module	2012-01-03 12:31:15.329226092 +0000
@@ -1,33 +1,43 @@
 <?php
+/* $Id: scripturefilter.module,v 1.8.4.1 2007/05/21 16:45:34 smsimms Exp $ */
 
-function scripturefilter_filter_tips($delta, $format, $long = false) {
-  return t('Scripture references will be linked automatically to an online Bible.  E.g. John 3:16, Eph 2:8-9 (ESV).');
+function scripturefilter_help($section) {
+  switch ($section) {
+    case 'admin/modules#description':
+      return t('Turns any Scripture reference into a link to one of several online Bibles.');
+  }
 }
 
-function scripturefilter_filter($op, $delta = 0, $format = -1, $text = '') {
-  include_once 'scripturefilter.inc';
-  switch ($op) {
-    case 'list':
-      return array(0 => t('Scripture Filter'));
-
-    case 'description':
-      return t('Turns any Scripture reference into a link to one of several online Bibles.');
+function scripturefilter_filter_info()
+{
+  $filters['scripturefilter_filter'] = array(
+    'title' => t('Scripture Filter'),
+    'description' => t('Turns any Scripture reference into a link to one of several online Bibles.'),
+    'process callback' => 'scripturefilter_filter_html',
+    'settings callback' => 'scripturefilter_filter_html_settings',
+    'tips callback'  => 'scripturefilter_filter_html_tips',
+    'cache' => FALSE,
+    'default settings' => array(
+     'scripturefilter_default_translation' => 'NIV',
+     ),  
+  );
+  return $filters;
+}
 
-    case 'process':
-      return scripturize($text, variable_get("scripturefilter_default_translation_$format", DEFAULT_BIBLE_TRANSLATION));
+function scripturefilter_filter_html($text, $filter, $format) {
+   include_once 'scripturefilter.inc';
+   return scripturize($text, $filter->settings['scripturefilter_default_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 to one of several online Bibles, such as BibleGateway, the ESV online Bible and the NET Bible.')
-      );
+function scripturefilter_filter_html_settings($form, &$form_state, $filter, $format, $defaults, $filters) {
+   include_once 'scripturefilter.inc';
+  $filter->settings += $defaults;
 
-      $form['filter_scripturefilter']["scripturefilter_default_translation_$format"] = array(
+  $elements = array();
+  $elements["scripturefilter_default_translation"] = array(
         '#type' => 'select',
         '#title' => t('Default Bible translation'),
-        '#default_value' => variable_get("scripturefilter_default_translation_$format", DEFAULT_BIBLE_TRANSLATION),
+        '#default_value' => $filter->settings['scripturefilter_default_translation'],
         '#options' => array(
           "KJ21" => t("21st Century King James Version"),
           "ASV" => t("American Standard Version"),
@@ -50,11 +60,11 @@
           "YLT" => t("Young's Literal Translation"),
         ),
       );
-      return $form;
+  return $elements;
+}
 
-    default:
-      return $text;
-  }
+function scripturefilter_filter_html_tips($filter, $format, $long = FALSE) {
+  return t('Scripture references will be linked automatically to an online Bible.  E.g. John 3:16, Eph 2:8-9 (ESV).');
 }
 
 ?>
