Index: lightbox.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/lightbox2/lightbox.css,v
retrieving revision 1.6.2.2
diff -u -p -r1.6.2.2 lightbox.css
--- lightbox.css	3 May 2007 14:09:07 -0000	1.6.2.2
+++ lightbox.css	12 Sep 2007 19:52:27 -0000
@@ -1,118 +1,131 @@
 #lightbox {
- 	position: absolute;
- 	top: 40px;
- 	left: 0;
- 	width: 100%;
- 	z-index: 100;
- 	text-align: center;
-		line-height: 0;
+  position: absolute;
+  top: 40px;
+  left: 0;
+  width: 100%;
+  z-index: 100;
+  text-align: center;
+  line-height: 0;
+}
+#lightbox a img {
+  border: none;
 }
-
-#lightbox a img { border: none; }
-
 #outerImageContainer {
- 	position: relative;
- 	background-color: #fff;
- 	width: 250px;
- 	height: 250px;
- 	margin: 0 auto;
-		min-width: 240px;
+  position: relative;
+  background-color: #fff;
+  width: 250px;
+  height: 250px;
+  margin: 0 auto;
+  min-width: 240px;
 }
-
 #imageContainer {
- 	padding: 10px;
+  padding: 10px;
 }
-
 #loading {
- 	position: absolute;
- 	top: 40%;
- 	left: 45%;
-		*left: 0%;
- 	height: 25%;
- 	width: 100%;
- 	text-align: center;
- 	line-height: 0;
+  position: absolute;
+  top: 40%;
+  left: 45%;
+  *left: 0%;
+  height: 25%;
+  width: 100%;
+  text-align: center;
+  line-height: 0;
 }
-
 #hoverNav {
- 	position: absolute;
- 	top: 0;
- 	left: 0;
- 	height: 100%;
- 	width: 100%;
- 	z-index: 10;
+  position: absolute;
+  top: 0;
+  left: 0;
+  height: 100%;
+  width: 100%;
+  z-index: 10;
+}
+#imageContainer>#hoverNav {
+  left: 0;
+}
+#hoverNav a {
+  outline: none;
 }
-
-#imageContainer>#hoverNav{ left: 0; }
-#hoverNav a { outline: none; }
-
 #prevLink, #nextLink {
- 	width: 49%;
- 	height: 100%;
- 	background: transparent url(images/blank.gif) no-repeat; /* Trick IE into showing hover */
- 	display: block;
+  width: 49%;
+  height: 100%;
+  background: transparent url(images/blank.gif) no-repeat; /* Trick IE into showing hover */
+  display: block;
+}
+#prevLink {
+  left: 0;
+  float: left;
+}
+#nextLink {
+  right: 0;
+  float: right;
+}
+#prevLink:hover, #prevLink:visited:hover {
+  background: url(images/prevlabel.gif) left 15% no-repeat;
+}
+#nextLink:hover, #nextLink:visited:hover {
+  background: url(images/nextlabel.gif) right 15% no-repeat;
 }
-
-#prevLink { left: 0; float: left; }
-#nextLink { right: 0; float: right; }
-#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 15% no-repeat; }
-#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }
-
-
 #imageDataContainer {
- 	font: 10px Verdana, Helvetica, sans-serif;
- 	background-color: #fff;
- 	margin: 0 auto;
- 	line-height: 1.4em;
-		min-width: 240px;
+  font: 10px Verdana, Helvetica, sans-serif;
+  background-color: #fff;
+  margin: 0 auto;
+  line-height: 1.4em;
+  min-width: 240px;
 }
-
 #imageData {
- 	padding: 0 10px;
+  padding: 0 10px;
+}
+#imageData #imageDetails {
+  width: 70%;
+  float: left;
+  text-align: left;
+}
+#imageData #caption {
+  font-weight: bold;
+}
+#imageData #numberDisplay {
+  display: block;
+  clear: left;
+  padding-bottom: 1.0em;
+}
+#imageData #bottomNavClose {
+  width: 66px;
+  float: right;
+  padding-top: 0.7em;
+}
+#imageData #bottomNav {
+  height: 57px;
 }
-
-#imageData #imageDetails { width: 70%; float: left; text-align: left; }	
-#imageData #caption { font-weight: bold;	}
-#imageData #numberDisplay { display: block; clear: left; padding-bottom: 1.0em;}
-#imageData #bottomNavClose { width: 66px; float: right;  padding-top: 0.7em; }	
-#imageData #bottomNav { height: 57px; }
-
-
-		
 #overlay {
- 	position: absolute;
- 	top: 0;
- 	left: 0;
- 	z-index: 90;
- 	width: 100%;
- 	height: 500px;
- 	background-color: #000;
- 	filter:alpha(opacity=60);
- 	-moz-opacity: 0.6;
- 	opacity: 0.6;
+  position: absolute;
+  top: 0;
+  left: 0;
+  z-index: 90;
+  width: 100%;
+  height: 500px;
+  background-color: #000;
+  filter:alpha(opacity=60);
+  -moz-opacity: 0.6;
+  opacity: 0.6;
 }
-	
-
 .clearfix:after {
- 	content: "."; 
- 	display: block; 
- 	height: 0; 
- 	clear: both; 
- 	visibility: hidden;
+  content: ".";
+  display: block;
+  height: 0;
+  clear: both;
+  visibility: hidden;
 }
-
 * html>body .clearfix {
- 	display: inline; 
- 	width: 100%;
+  display: inline;
+  width: 100%;
 }
-
 * html .clearfix {
- 	/* Hides from IE-mac \*/
- 	height: 1%;
- 	/* End hide from IE-mac */
-}	
+  /* Hides from IE-mac \*/
+  height: 1%;
+  /* End hide from IE-mac */
+}
 
-/*Image location mod*/
+/* Image location mod */
 #bottomNavClose {
   display: block;
   background: url(images/closelabel.gif) no-repeat;
@@ -121,7 +134,6 @@
   position: relative;
   top: 35px;
 }
-
 #loadingLink {
   display: block;
   background: url(images/loading.gif) no-repeat;
Index: lightbox2.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/lightbox2/lightbox2.info,v
retrieving revision 1.1
diff -u -p -r1.1 lightbox2.info
--- lightbox2.info	30 Apr 2007 10:33:29 -0000	1.1
+++ lightbox2.info	12 Sep 2007 19:31:24 -0000
@@ -1,3 +1,3 @@
 ; $Id: lightbox2.info,v 1.1 2007/04/30 10:33:29 snpower Exp $
 name = Lightbox2
-description = Enables Lightbox V2 for Drupal
\ No newline at end of file
+description = Enables Lightbox V2 for Drupal
Index: lightbox2.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/lightbox2/lightbox2.install,v
retrieving revision 1.1.4.4
diff -u -p -r1.1.4.4 lightbox2.install
--- lightbox2.install	4 Jul 2007 12:29:43 -0000	1.1.4.4
+++ lightbox2.install	12 Sep 2007 19:31:07 -0000
@@ -1,7 +1,8 @@
 <?php
 // $Id $
 
-/** 
+
+/**
  * Implementation of hook_install()
  * just give a message
  */
@@ -9,7 +10,7 @@ function lightbox2_install() {
   watchdog('lightbox2', 'lightbox2 module installed');
 }
 
-/** 
+/**
  * Implementation of hook_uninstall()
  */
 function lightbox2_uninstall() {
@@ -18,6 +19,7 @@ function lightbox2_uninstall() {
   variable_del('lightbox2_image_node');
   variable_del('lightbox2_image_group');
   variable_del('lightbox2G2_filter');
-
+  
   watchdog('lightbox2', 'lightbox2 module un-installed');
 }
+
Index: lightbox2.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/lightbox2/lightbox2.module,v
retrieving revision 1.16.2.16
diff -u -p -r1.16.2.16 lightbox2.module
--- lightbox2.module	30 Aug 2007 13:27:17 -0000	1.16.2.16
+++ lightbox2.module	12 Sep 2007 19:40:59 -0000
@@ -1,11 +1,13 @@
 <?php
-// $Id $
+// $Id$
+
+
 /**
- * Enables the use of lightbox V2 which places images above your current page, 
+ * Enables the use of lightbox V2 which places images above your current page,
  * not within.
- * This frees you from the constraints of the layout, particularly column 
+ * This frees you from the constraints of the layout, particularly column
  * widths.
- * 
+ *
  * This module is for Drupal 5.x only.
  *
  * Module by: Mark Ashmead
@@ -22,17 +24,16 @@
 $_LIGHTBOX2_INCLUDE = false;
 
 /**
+ * Implementation of hook_help().
+ * 
  * Displays the information for this module.
  * Displays the help text for this module.
- *
- */
-/**
- * Implementation of hook_help().
  */
 function lightbox2_help($section) {
   switch ($section) {
     case 'admin/modules#description':
       return t('Enables Lightbox V2 for Drupal');
+    
     case 'admin/help#lightbox2':
       return t('<h3>Overview</h3>
       <p align="justify">Lightbox JS V2 is a simple, unobtrusive script used to overlay images on the current page. It\'s a snap to setup and works on all modern browsers. The module comes with a Lightbox2 Lite option which does not use the Scriptaculous/Prototype libraries; it is therefore less likely to conflict with anything else.</p>
@@ -51,25 +52,7 @@ function lightbox2_help($section) {
 #3&lt;/a&gt;<br /></p>
 <p>No limits to the number of image sets per page or how many images are allowed
 in each set. Go nuts!</p>');
-// $notneeded = t('<p align="justify"><h3>Known Issues</h3></p> <p>Image Issues
-// - An issue has been identified with the loading of certain images when using
-// the module. (closelabel.gif, expand.gif, loading.gif)</p> <p>If your
-// installation of Drupal exists in the root of your domain, i.e.,
-// www.yourinstallation.com then you shouldn\'t have any problems. The issue
-// only occurs when Drupal is installed in a subdirectory, i.e.,
-// www.yourinstallation.com/subdirectory.</p> <p>If this is the case, you will
-// need to edit the lightbox.js on lines 63, 64 and 65 to reflect the fully
-// qualified URL of your images. In the above case, this would be as
-// follows;</p> <p>var fileLoadingImage =
-// &quot;/modules/lightbox2/images/loading.gif&quot;;<br /> var
-// fileBottomNavCloseImage =
-// &quot;/modules/lightbox2/images/closelabel.gif&quot;;<br /> var
-// fileBottomNavZoomImage = &quot;/modules/lightbox2/images/expand.gif&quot;;
-// //Update to 2.02+</p> <p>should be changed to</p> <p>var fileLoadingImage =
-// &quot;/subdirectory/modules/lightbox2/images/loading.gif&quot;;<br /> var
-// fileBottomNavCloseImage =
-// &quot;/subdirectory/modules/lightbox2/images/closelabel.gif&quot;;<br /> var fileBottomNavZoomImage = &quot;/subdirectory/modules/lightbox2/images/expand.gif&quot;; //Update to 2.02+</p> <p>There may be other methods that can be used to achieve this, but this should be the simplest for those with little or no programming experience. If you choose to use Lightbox2 Lite option, then you will need to edit the lightbox_lite.js file in a similar manner on lines 39 and 40.</p>');
-      break;
+    break;
   }
 }
 
@@ -81,20 +64,12 @@ function lightbox2_perm() {
   return array('administer lightbox2');
 }
 
-
-/**
- * Implementation of hook_access()
- */
-function lightbox2_access($op, $node) {
-  return user_access('administer lightbox2');
-}
-
 /**
  * Implementation of hook_menu()
  */
 function lightbox2_menu($may_cache) {
   $items = array();
-
+  
   if ($may_cache) {
     $items[] = array('path' => 'admin/settings/lightbox2',
       'title' => t('Lightbox2'),
@@ -104,23 +79,22 @@ function lightbox2_menu($may_cache) {
       'description' => t('Allows the user to configure the lightbox2 settings'),
     );
   }
-
+  
   return $items;
 }
 
-
 /**
  * Implementation of hook_nodeapi().
  */
-function lightbox2_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) { 
+function lightbox2_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
   global $_LIGHTBOX2_INCLUDE;
- 
+  
   if (lightbox2_exclude_these_paths() != 1) {
-    if ($op == "view" && !$_LIGHTBOX2_INCLUDE) {
+    if ($op == 'view' && !$_LIGHTBOX2_INCLUDE) {
       lightbox2_add_files();
       $_LIGHTBOX2_INCLUDE = true;
     }
-    elseif ($node->type == "image" && !$_LIGHTBOX2_INCLUDE) {
+    elseif ($node->type == 'image' && !$_LIGHTBOX2_INCLUDE) {
       lightbox2_add_files();
       $_LIGHTBOX2_INCLUDE = true;
     }
@@ -131,141 +105,140 @@ function lightbox2_nodeapi(&$node, $op, 
  * Implementation of hook_settings()
  */
 function lightbox2_settings_form() {
-
   // Define Lightbox2 Plus form.
-  $form["lightbox2_plus_options"] = array(
-    "#type" => "fieldset",
-    "#title" => t("Lightbox2 Plus"),
-    "#collapsible" => TRUE, 
-    "#collapsed" => FALSE,
+  $form['lightbox2_plus_options'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('Lightbox2 Plus'),
+    '#collapsible' => TRUE,
+    '#collapsed' => FALSE,
   );
-
+  
   // Add Checkbox for Lightbox2 Plus.
-  $form["lightbox2_plus_options"]["lightbox2_plus"]  = array(
-    "#type" => "checkbox",
-    "#title" => t("Use Lightbox2 Plus"),
-    "#description" => t("Un-checking this box will enable Lightbox2 Lite."),
-    "#default_value" => variable_get("lightbox2_plus", true),
+  $form['lightbox2_plus_options']['lightbox2_plus'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Use Lightbox2 Plus'),
+    '#description' => t('Un-checking this box will enable Lightbox2 Lite.'),
+    '#default_value' => variable_get('lightbox2_plus', true),
   );
-
+  
   // Define Image Node Options form.
-  $form["image_node_options"] = array(
-    "#type" => "fieldset",
-    "#title" => t("Lightbox2 Plus Image Node options"),
-    "#collapsible" => TRUE, 
-    "#collapsed" => TRUE,
+  $form['image_node_options'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('Lightbox2 Plus Image Node options'),
+    '#collapsible' => TRUE,
+    '#collapsed' => TRUE,
   );
-
+  
   // Add Checkbox for Image Node.
-  $form["image_node_options"]["lightbox2_image_node"]  = array(
-    "#type" => "checkbox",
-    "#title" => t("Enable for Image Nodes"),
-    "#description" => t("Checking this box will enable automatic URL formatting for Image Nodes."),
-    "#default_value" => variable_get("lightbox2_image_node", true),
+  $form['image_node_options']['lightbox2_image_node'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Enable for Image Nodes'),
+    '#description' => t('Checking this box will enable automatic URL formatting for Image Nodes.'),
+    '#default_value' => variable_get('lightbox2_image_node', true),
   );
-
+  
   // Add Checkbox for Image Node Grouping.
-  $form["image_node_options"]["lightbox2_image_group"]  = array(
-    "#type" => "checkbox",
-    "#title" => t("Enable Grouping"),
-    "#description" => t("Checking this box will enable automatic grouping of Image Nodes on a page. Useful for image galleries."),
-    "#default_value" => variable_get("lightbox2_image_group", true),
+  $form['image_node_options']['lightbox2_image_group'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Enable Grouping'),
+    '#description' => t('Checking this box will enable automatic grouping of Image Nodes on a page. Useful for image galleries.'),
+    '#default_value' => variable_get('lightbox2_image_group', true),
   );
-
+  
   // Add Checkbox for disabling lightbox for gallery lists
-  $form["image_node_options"]["lightbox2_disable_nested_galleries"]  = array(
-    "#type" => "checkbox",
-    "#title" => t("Disable Lightbox for Gallery Lists"),
-    "#description" => t("Checking this box will disable the lightbox for images in gallery lists, but will still use the lightbox when viewing gallery images."),
-    "#default_value" => variable_get("lightbox2_disable_nested_galleries", true),
+  $form['image_node_options']['lightbox2_disable_nested_galleries'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Disable Lightbox for Gallery Lists'),
+    '#description' => t('Checking this box will disable the lightbox for images in gallery lists, but will still use the lightbox when viewing gallery images.'),
+    '#default_value' => variable_get('lightbox2_disable_nested_galleries', true),
   );
-
-
+  
   // Add Checkbox for Gallery2 Image Filter.
-  $form["image_node_options"]["lightbox2G2_filter"]  = array(
-    "#type" => "checkbox",
-    "#title" => t("Enable Gallery 2 Filter"),
-    "#description" => t("Checking this box will enable the Gallery 2 filter."),
-    "#default_value" => variable_get("lightbox2G2_filter", true),
+  $form['image_node_options']['lightbox2G2_filter'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Enable Gallery 2 Filter'),
+    '#description' => t('Checking this box will enable the Gallery 2 filter.'),
+    '#default_value' => variable_get('lightbox2G2_filter', true),
   );
-
-   // Add Textarea for urls without lightbox
-  $form["image_node_options"]["lightbox2_disable_these_urls"]  = array(
-    "#type" => "textarea",
-    "#title" => t("Disable LightBox for these urls"),
-    "#description" => t("List the urls where the lightbox should be disabled, e.g. \"node/add/page\".  Put each url on a separate line. You can use the % character as a wildcard."),
-    "#default_value" => variable_get("lightbox2_disable_these_urls", ''),
+  
+  // Add Textarea for urls without lightbox
+  $form['image_node_options']['lightbox2_disable_these_urls'] = array(
+    '#type' => 'textarea',
+    '#title' => t('Disable LightBox for these urls'),
+    '#description' => t('List the urls where the lightbox should be disabled, e.g. "node/add/page".  Put each url on a separate line. You can use the % character as a wildcard.'),
+    '#default_value' => variable_get('lightbox2_disable_these_urls', ''),
   );
-
+  
   return system_settings_form($form);
 }
 
-
 /**
- *Implementation of hook_filter().
+ * Implementation of hook_filter().
  */
 function lightbox2_filter_tips($delta, $format, $long = false) {
   return t('Image links from G2 are formatted for use with Lightbox.V2');
 }
 
 // Check to see if the G2 Filter is Enabled in Settings
-if (variable_get("lightbox2G2_filter", true)) {
+if (variable_get('lightbox2G2_filter', true)) {
   function lightbox2_filter($op, $delta = 0, $format = -1, $text = '') {
     switch ($op) {
       case 'list':
         return array(0 => t('Lightbox filter'));
+      
       case 'description':
         return t('Turns g2_filter links into Lighbox.V2 appropriate links');
+      
       case 'process':
         $text = ' '. $text .' ';
         $text = preg_replace('/ShowItem/', 'DownloadItem', $text);
         $text = preg_replace('/target=""/', 'rel="lightbox"', $text);
         $text = substr($text, 1, -1);
         return $text;
+      
       default:
         return $text;
     }
   }
 }
+
 /**
  * Provides a link to the CSS stylesheet associated with this module.
  * Provides a link to the JS file associated with this module.
  */
-
 function lightbox2_add_files() {
-
   // Load required js and css files.
   $path = drupal_get_path('module', 'lightbox2');
-
+  
   // Check to see if Lightbox2 Plus is enabled.
-  if (variable_get("lightbox2_plus", true)) {
+  if (variable_get('lightbox2_plus', true)) {
     if (function_exists('drupal_add_css')) {
       drupal_add_css($path .'/lightbox.css');
     }
     else {
-      theme("add_style", $path .'/lightbox.css');
+      theme('add_style', $path .'/lightbox.css');
     }
-
+    
     // Check to see if Libraries are installed correctly.
     if (file_exists($path .'/js/prototype.js')) {
       drupal_add_js($path .'/js/prototype.js');
-
+      
       // Check to see if the Image Node Option is enabled in settings.
-      if (variable_get("lightbox2_image_node", true)) {
-        if (variable_get("lightbox2_image_group", true)) {
-          if (variable_get("lightbox2_disable_nested_galleries", true)) {
-            drupal_add_js($path ."/js/image_nodes_galleries.js");
+      if (variable_get('lightbox2_image_node', true)) {
+        if (variable_get('lightbox2_image_group', true)) {
+          if (variable_get('lightbox2_disable_nested_galleries', true)) {
+            drupal_add_js($path .'/js/image_nodes_galleries.js');
           }
           else {
-            drupal_add_js($path ."/js/image_nodes.js");
+            drupal_add_js($path .'/js/image_nodes.js');
           }
         }
         else {
-          if (variable_get("lightbox2_disable_nested_galleries", true)) {
-            drupal_add_js($path ."/js/image_nodes_nogroup_galleries.js");
+          if (variable_get('lightbox2_disable_nested_galleries', true)) {
+            drupal_add_js($path .'/js/image_nodes_nogroup_galleries.js');
           }
           else {
-            drupal_add_js($path ."/js/image_nodes_nogroup.js");
+            drupal_add_js($path .'/js/image_nodes_nogroup.js');
           }
         }
       }
@@ -274,7 +247,7 @@ function lightbox2_add_files() {
       // Future support for non-images will go here.
       //drupal_add_js($path .'/js/lightbox_docs.js');
     }
-
+    
     // Display warning message if Libraries aren't installed correctly.
     else {
       drupal_set_message(t('The script.aculo.us library is in not installed correctly. Please download from <a href="http://www.stellapowerdesign.net/scriptaculous.zip">http://www.stellapowerdesign.net/scriptaculous-drupal.zip</a>, follow the instructions in the Lightbox V.2 README.TXT file to copy the files to their correct locations.'), 'error');
@@ -286,7 +259,7 @@ function lightbox2_add_files() {
       drupal_add_css($path .'/lightbox_lite.css');
     }
     else {
-      theme("add_style", $path .'/lightbox_lite.css');
+      theme('add_style', $path .'/lightbox_lite.css');
     }
     drupal_add_js($path .'/js/lightbox_lite.js');
   }
@@ -295,7 +268,7 @@ function lightbox2_add_files() {
 
 /**
  * Implementation of hook_field_formatter_info().
- * Adds certain lightbox+imagecache formatters to CCK image fields if the 
+ * Adds certain lightbox+imagecache formatters to CCK image fields if the
  * imagefield.module and the imagecache.module exist.
  */
 function lightbox2_field_formatter_info() {
@@ -309,11 +282,10 @@ function lightbox2_field_formatter_info(
       );
     }
   }
-
+  
   return $formatters;
 }
 
-
 /**
  * Implementation of hook_field_formatter().
  */
@@ -322,10 +294,10 @@ function lightbox2_field_formatter($fiel
     if (!isset($item['fid'])) {
       return '';
     }
-				if (!$_LIGHTBOX2_INCLUDE && lightbox2_exclude_these_paths() != 1) {
-						lightbox2_add_files();
-						$_LIGHTBOX2_INCLUDE = true;
-				}
+    if (!$_LIGHTBOX2_INCLUDE && lightbox2_exclude_these_paths() != 1) {
+      lightbox2_add_files();
+      $_LIGHTBOX2_INCLUDE = true;
+    }
     $file = _imagefield_file_load($item['fid']);
     $item = array_merge($item, $file);
     if (strpos($formatter, 'lightbox2][') !== false) {
@@ -342,48 +314,45 @@ function lightbox2_field_formatter($fiel
  * Implementation of theme_imagefield_image_imagecache_lightbox2().
  */
 function theme_imagefield_image_imagecache_lightbox2($namespace, $field, $item, $attributes = NULL) {
-
-  $imagecache_path = file_create_url(
-    file_directory_path() .'/imagecache/'. $namespace .'/'. $item['filepath']);
-
-
-  $rel = "lightbox";
-  if (variable_get("lightbox2_image_group", TRUE)) {
-    $rel = "lightbox[cck_image_nodes]";
+  $imagecache_path = file_create_url(file_directory_path() .'/imagecache/'. $namespace .'/'. $item['filepath']);
+  
+  $rel = 'lightbox';
+  if (variable_get('lightbox2_image_group', TRUE)) {
+    $rel = 'lightbox[cck_image_nodes]';
   }
-
-  $node_link = "";
+  
+  $node_link = '';
   if (!empty($item['nid'])) {
-    $node_link = "<br /><br />". l(t('View Image Information'), 'node/'. $item['nid']);
+    $node_link = '<br /><br />'. l(t('View Image Information'), 'node/'. $item['nid']);
   }
-
+  
   $link_attributes = array(
-    "rel" => $rel,
-    "title" => $item["alt"] . $node_link);
-
+    'rel' => $rel,
+    'title' => $item['alt'] . $node_link);
+  
   $image = theme('imagecache', $namespace, $item['filepath'], $item['alt'], $item['title'], $attributes);
   $output = l($image, $item['filepath'], $link_attributes, NULL, NULL, FALSE, TRUE);
-
+  
   return $output;
 }
 
 function lightbox2_exclude_these_paths() {
-
-  # use lightbox if this url is not excluded
-  $disabled_urls = variable_get("lightbox2_disable_these_urls", "");
-
+  // Use lightbox if this url is not excluded
+  $disabled_urls = variable_get('lightbox2_disable_these_urls', '');
+  
   if (!empty($disabled_urls)) {
     $urls = explode("\n", $disabled_urls);
-
+    
     foreach ($urls as $url) {
-      $url = rtrim($url);
-      $url = preg_replace("/%/", '.*?', preg_quote($url, '/'));
-      $pattern = "/^". $url ."$/";
+      $url     = rtrim($url);
+      $url     = preg_replace('/%/', '.*?', preg_quote($url, '/'));
+      $pattern = '/^'. $url .'$/';
       if (preg_match($pattern, $_REQUEST['q'])) {
         return 1;
       }
     }
   }
-
+  
   return 0;
 }
+
Index: lightbox_lite.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/lightbox2/lightbox_lite.css,v
retrieving revision 1.1.4.1
diff -u -p -r1.1.4.1 lightbox_lite.css
--- lightbox_lite.css	3 May 2007 11:39:29 -0000	1.1.4.1
+++ lightbox_lite.css	12 Sep 2007 19:54:54 -0000
@@ -1,28 +1,36 @@
 #lightbox {
- 	background-color: #eee;
- 	padding: 10px;
- 	border-bottom: 2px solid #666;
- 	border-right: 2px solid #666;
+  background-color: #eee;
+  padding: 10px;
+  border-bottom: 2px solid #666;
+  border-right: 2px solid #666;
 }
-
 #lightboxDetails {
- 	font-size: 1.2em;
- 	padding-top: 0.6em;
-}	
-
-#lightboxCaption { float: left; }
-#keyboardMsg { float: right; }
-#closeButton { top: 5px; right: 5px; }
-
-#lightbox img { border: none; clear: both;} 
-#overlay img { border: none; }
-
-#overlay { background-image: url(/modules/lightbox2/images/overlay.png); }
-
+  font-size: 1.2em;
+  padding-top: 0.6em;
+}
+#lightboxCaption {
+  float: left;
+}
+#keyboardMsg {
+  float: right;
+}
+#closeButton {
+  top: 5px;
+  right: 5px;
+}
+#lightbox img {
+  border: none;
+  clear: both;
+}
+#overlay img {
+  border: none;
+}
+#overlay {
+  background-image: url(/modules/lightbox2/images/overlay.png);
+}
 * html #overlay {
- 	background-color: #333;
- 	back\ground-color: transparent;
- 	background-image: url(/modules/lightbox2/images/blank.gif);
- 	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/modules/lightbox2/images/overlay.png", sizingMethod="scale");
+  background-color: #333;
+  back\ground-color: transparent;
+  background-image: url(/modules/lightbox2/images/blank.gif);
+  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/modules/lightbox2/images/overlay.png", sizingMethod="scale");
 }
-	
