Index: views_slideshow.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/views_slideshow.install,v
retrieving revision 1.1.2.2.2.2
diff -u -p -r1.1.2.2.2.2 views_slideshow.install
--- views_slideshow.install	23 Feb 2010 22:21:44 -0000	1.1.2.2.2.2
+++ views_slideshow.install	29 Sep 2010 06:14:17 -0000
@@ -2,6 +2,11 @@
 // $Id: views_slideshow.install,v 1.1.2.2.2.2 2010/02/23 22:21:44 psynaptic Exp $
 
 /**
+ * @file
+ * Install, update and uninstall functions for the views slideshow module.
+ */
+
+/**
  * Implements hook_install().
  */
 function views_slideshow_install() {
Index: views_slideshow.theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/Attic/views_slideshow.theme.inc,v
retrieving revision 1.1.2.2.2.6
diff -u -p -r1.1.2.2.2.6 views_slideshow.theme.inc
--- views_slideshow.theme.inc	13 Apr 2010 06:21:51 -0000	1.1.2.2.2.6
+++ views_slideshow.theme.inc	29 Sep 2010 06:14:17 -0000
@@ -2,6 +2,13 @@
 // $Id: views_slideshow.theme.inc,v 1.1.2.2.2.6 2010/04/13 06:21:51 redndahead Exp $
 
 /**
+ * @file
+ * The theme system, which controls the output of views slideshow.
+ *
+ * This just adds a wrapper div to the slideshow.
+ */
+
+/**
  * The current element of the slideshow.
  *
  * @ingroup themeable
Index: views_slideshow_plugin_style_slideshow.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/Attic/views_slideshow_plugin_style_slideshow.inc,v
retrieving revision 1.1.2.1.2.11
diff -u -p -r1.1.2.1.2.11 views_slideshow_plugin_style_slideshow.inc
--- views_slideshow_plugin_style_slideshow.inc	6 Jun 2010 04:28:42 -0000	1.1.2.1.2.11
+++ views_slideshow_plugin_style_slideshow.inc	29 Sep 2010 06:14:17 -0000
@@ -27,7 +27,7 @@ class views_slideshow_plugin_style_slide
 
     // Eveything below here is what's needed for views slideshow.
     if (in_array($options['mode'], array('singleframe', 'thumbnailhover', 'menu', 'slider', 'ddblock')) && is_array($options[$options['mode']])) {
-      foreach($options[$options['mode']] as $index => $value) {
+      foreach ($options[$options['mode']] as $index => $value) {
         $this->options['views_slideshow_' . $options['mode']][$index] = $value;
       }
     }
Index: contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow_singleframe.theme.inc,v
retrieving revision 1.1.2.1.2.30
diff -u -p -r1.1.2.1.2.30 views_slideshow_singleframe.theme.inc
--- contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc	26 Sep 2010 01:23:03 -0000	1.1.2.1.2.30
+++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc	29 Sep 2010 06:14:17 -0000
@@ -19,16 +19,18 @@ function template_preprocess_views_slide
   // Cast the strings into int or bool as necessary.
   $new_settings = array();
   foreach ($settings as $key => $value) {
-    $value = trim($value);
+    if (is_string($value)) {
+      $value = trim($value);
 
-    if (is_numeric($value)) {
-      $value = (int)$value;
-    }
-    else if (strtolower($value) == 'true') {
-      $value = true;
-    }
-    else if (strtolower($value) == 'false') {
-      $value = false;
+      if (is_numeric($value)) {
+        $value = (int)$value;
+      }
+      elseif (strtolower($value) == 'true') {
+        $value = TRUE;
+      }
+      elseif (strtolower($value) == 'false') {
+        $value = FALSE;
+      }
     }
     
     $new_settings[$key] = $value;
Index: contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow_singleframe.views_slideshow.inc,v
retrieving revision 1.1.2.1.2.30
diff -u -p -r1.1.2.1.2.30 views_slideshow_singleframe.views_slideshow.inc
--- contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc	13 Sep 2010 01:08:05 -0000	1.1.2.1.2.30
+++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.views_slideshow.inc	29 Sep 2010 06:14:17 -0000
@@ -81,7 +81,7 @@ function views_slideshow_singleframe_vie
   $form['views_slideshow_singleframe']['fixed_height'] = array(
     '#type' => 'select',
     '#title' => t('Make the slide window height fit the largest slide'),
-    '#options' => array(1 => t('Yes'),0 => t('No')),
+    '#options' => array(1 => t('Yes'), 0 => t('No')),
     '#default_value' => $view->options['views_slideshow_singleframe']['fixed_height'],
     '#description' => t('If this is set to no then if the slides are different sizes the height of the slide area will change as the slides change.'),
   );
@@ -95,7 +95,7 @@ function views_slideshow_singleframe_vie
   $form['views_slideshow_singleframe']['pause'] = array(
     '#type' => 'radios',
     '#title' => t('Pause'),
-    '#options' => array(1 => t('Yes'),2 => t('No')),
+    '#options' => array(1 => t('Yes'), 2 => t('No')),
     '#default_value' => $view->options['views_slideshow_singleframe']['pause'],
     '#description' => t('Pause when hovering on the slideshow image.'),
   );
@@ -161,21 +161,21 @@ function views_slideshow_singleframe_vie
   $form['views_slideshow_singleframe']['controls'] = array(
     '#type' => 'select',
     '#title' => t('Controls'),
-    '#options' => array(0 => t('None'),1 => t('Top'),2 => t('Bottom')),
+    '#options' => array(0 => t('None'), 1 => t('Top'), 2 => t('Bottom')),
     '#default_value' => $view->options['views_slideshow_singleframe']['controls'],
     '#description' => t('Determine if controls for the slideshow (start/stop/next/previous) should appear, and if so whether they should appear before or after the slideshow.'),
   );
   $form['views_slideshow_singleframe']['pager'] = array(
     '#type' => 'select',
     '#title' => t('Pager'),
-    '#options' => array(0 => t('None'),1 => t('Top'),2 => t('Bottom')),
+    '#options' => array(0 => t('None'), 1 => t('Top'), 2 => t('Bottom')),
     '#default_value' => $view->options['views_slideshow_singleframe']['pager'],
     '#description' => t('Determine if a pager for the slideshow (1|2|3) should appear, and if so whether they should appear before or after the slideshow.'),
   );
   $form['views_slideshow_singleframe']['pager_type'] = array(
     '#type' => 'select',
     '#title' => t('Pager Type'),
-    '#options' => array('Numbered' => t('Numbered'),'Thumbnails' => t('Thumbnails')),
+    '#options' => array('Numbered' => t('Numbered'), 'Thumbnails' => t('Thumbnails')),
     '#default_value' => $view->options['views_slideshow_singleframe']['pager_type'],
     '#description' => t('What the pager should look like.  Thumbnails grabs the first image in each slideshow item.'),
     '#process' => array('views_process_dependency'),
@@ -184,7 +184,7 @@ function views_slideshow_singleframe_vie
   $form['views_slideshow_singleframe']['pager_hover'] = array(
     '#type' => 'select',
     '#title' => t('Activate Slide and Pause on Pager Hover'),
-    '#options' => array(1 => t('Yes'),2 => t('No')),
+    '#options' => array(1 => t('Yes'), 2 => t('No')),
     '#default_value' => $view->options['views_slideshow_singleframe']['pager_hover'],
     '#description' => t('Should the slide be activated and paused when hovering over a pager item.'),
     '#process' => array('views_process_dependency'),
@@ -201,7 +201,7 @@ function views_slideshow_singleframe_vie
   $form['views_slideshow_singleframe']['image_count'] = array(
     '#type' => 'select',
     '#title' => t('Image Counter'),
-    '#options' => array(0 => t('None'),1 => t('Top'),2 => t('Bottom')),
+    '#options' => array(0 => t('None'), 1 => t('Top'), 2 => t('Bottom')),
     '#default_value' => $view->options['views_slideshow_singleframe']['image_count'],
     '#description' => t('Determine if the Image Counter (1 of 4) should be displayed and if so whether they should appear before or after the slideshow.'),
   );
Index: contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow_thumbnailhover.theme.inc,v
retrieving revision 1.1.2.1.2.38
diff -u -p -r1.1.2.1.2.38 views_slideshow_thumbnailhover.theme.inc
--- contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc	26 Sep 2010 01:23:03 -0000	1.1.2.1.2.38
+++ contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc	29 Sep 2010 06:14:17 -0000
@@ -19,16 +19,18 @@ function template_preprocess_views_slide
   // Cast the strings into int or bool as necessary.
   $new_settings = array();
   foreach ($settings as $key => $value) {
-    $value = trim($value);
+    if (is_string($value)) {
+      $value = trim($value);
 
-    if (is_numeric($value)) {
-      $value = (int)$value;
-    }
-    else if (strtolower($value) == 'true') {
-      $value = true;
-    }
-    else if (strtolower($value) == 'false') {
-      $value = false;
+      if (is_numeric($value)) {
+        $value = (int)$value;
+      }
+      elseif (strtolower($value) == 'true') {
+        $value = TRUE;
+      }
+      elseif (strtolower($value) == 'false') {
+        $value = FALSE;
+      }
     }
     
     $new_settings[$key] = $value;
@@ -37,7 +39,7 @@ function template_preprocess_views_slide
   $settings = array_merge(
     array(
       'num_divs' => sizeof($vars['rows']),
-      'teasers_last' => ($options['thumbnailhover']['teasers_last']) ? TRUE : FALSE,
+      'teasers_last' => (isset($options['thumbnailhover']['teasers_last']) && $options['thumbnailhover']['teasers_last']) ? TRUE : FALSE,
       'id_prefix' => '#views_slideshow_thumbnailhover_main_',
       'div_prefix' => '#views_slideshow_thumbnailhover_div_',
       'vss_id' => $vss_id,
Index: contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.views_slideshow.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow_thumbnailhover.views_slideshow.inc,v
retrieving revision 1.1.2.1.2.30
diff -u -p -r1.1.2.1.2.30 views_slideshow_thumbnailhover.views_slideshow.inc
--- contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.views_slideshow.inc	13 Sep 2010 01:08:05 -0000	1.1.2.1.2.30
+++ contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.views_slideshow.inc	29 Sep 2010 06:14:18 -0000
@@ -15,7 +15,7 @@ function views_slideshow_thumbnailhover_
 
 function views_slideshow_thumbnailhover_views_slideshow_option_definition() {
   $options['views_slideshow_thumbnailhover'] = array(
-    'contains' => array (
+    'contains' => array(
       'timeout' => array('default' => 5000),
       'sort' => array('default' => 1),
       'effect' => array('default' => 'fade'),
@@ -136,7 +136,7 @@ function views_slideshow_thumbnailhover_
   $form['views_slideshow_thumbnailhover']['fixed_height'] = array(
     '#type' => 'select',
     '#title' => t('Make the slide window height fit the largest slide'),
-    '#options' => array(1 => t('Yes'),0 => t('No')),
+    '#options' => array(1 => t('Yes'), 0 => t('No')),
     '#default_value' => $view->options['views_slideshow_thumbnailhover']['fixed_height'],
     '#description' => t('If this is set to no then if the slides are different sizes the height of the slide area will change as the slides change.'),
   );
@@ -150,7 +150,7 @@ function views_slideshow_thumbnailhover_
   $form['views_slideshow_thumbnailhover']['pause'] = array(
     '#type' => 'radios',
     '#title' => t('Pause'),
-    '#options' => array(1 => t('Yes'),2 => t('No')),
+    '#options' => array(1 => t('Yes'), 2 => t('No')),
     '#default_value' => $view->options['views_slideshow_thumbnailhover']['pause'],
     '#description' => t('Pause when hovering on the slideshow image.'),
   );
@@ -227,14 +227,14 @@ function views_slideshow_thumbnailhover_
   $form['views_slideshow_thumbnailhover']['controls'] = array(
     '#type' => 'select',
     '#title' => t('Controls'),
-    '#options' => array(0 => t('None'),1 => t('Top'),2 => t('Bottom')),
+    '#options' => array(0 => t('None'), 1 => t('Top'), 2 => t('Bottom')),
     '#default_value' => $view->options['views_slideshow_thumbnailhover']['controls'],
     '#description' => t('Determine if controls for the slideshow (start/stop/next/previous) should appear, and if so whether they should appear before or after the slideshow.'),
   );
   $form['views_slideshow_thumbnailhover']['image_count'] = array(
     '#type' => 'select',
     '#title' => t('Image Counter'),
-    '#options' => array(0 => t('None'),1 => t('Top'),2 => t('Bottom')),
+    '#options' => array(0 => t('None'), 1 => t('Top'), 2 => t('Bottom')),
     '#default_value' => $view->options['views_slideshow_thumbnailhover']['image_count'],
     '#description' => t('Determine if Image Counter (1 of 4) should be displayed and if so whether they should appear before or after the slideshow.'),
   );
@@ -321,7 +321,7 @@ function views_slideshow_thumbnailhover_
     form_error($form['views_slideshow_thumbnailhover']['speed'], t('Speed must be numeric!'));
   }
   if (!is_numeric($form_state['values']['style_options']['views_slideshow_thumbnailhover']['timeout'])) {
-    form_error($form['views_slideshow_thumbnailhover']['timeout'],t('Timeout must be numeric!'));
+    form_error($form['views_slideshow_thumbnailhover']['timeout'], t('Timeout must be numeric!'));
   }
   if (!is_numeric($form_state['values']['style_options']['views_slideshow_thumbnailhover']['remember_slide_days'])) {
     form_error($form['views_slideshow_thumbnailhover']['remember_slide_days'], t('Slide days must be numeric!'));
