Index: scripturefilter.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/scripturefilter/scripturefilter.inc,v
retrieving revision 1.6
diff -u -r1.6 scripturefilter.inc
--- scripturefilter.inc	21 May 2007 16:40:51 -0000	1.6
+++ scripturefilter.inc	14 Jan 2008 20:07:47 -0000
@@ -107,6 +107,24 @@
              break;
     }
 
+  /*
+    *	 begin section for inserting Libronix Links (tcblack)
+    *  Locate the scripturefilter module path
+    * so that we can call the LibronixLink.gif from it in the following link
+    */
+       $libroniximgpath = base_path() . drupal_get_path('module','scripturefilter') .'/';
+    /*
+    *	Define the Libronix link variable to add to the primary link
+    *	Libronix is a bible software program by Logos Bible Research (www.logos.com)
+    *	The proper link format is libronixdls:keylink|ref=[en]bible:$reference
+    *	more details on Libronix linking may be found at http://logos.com/support/lbs/weblinking
+    */
+      $libronixlink = 'libronixdls:keylink|ref=[en]bible:';
+      $title = sprintf ('Open %s in Libronix (Logos Bible Software)',$reference);
+      $libroniximage = sprintf ('<img "border="0" src="%sLibronixLink.gif" />',$libroniximgpath);
+      $libronixlink = sprintf('<a href="%s%s" title="%s">%s</a>',$libronixlink,trim("$volume $book $verse"),$title,$libroniximage);
+  // now add the Libronix Link to the end of the final link.
+    $link = "$link $libronixlink ";
     return $link;
 }
 
