? views-rotator-autostop.patch Index: views_rotator.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_rotator/views_rotator.module,v retrieving revision 1.4 diff -u -p -r1.4 views_rotator.module --- views_rotator.module 23 Sep 2008 02:28:12 -0000 1.4 +++ views_rotator.module 25 Mar 2009 15:38:12 -0000 @@ -35,6 +35,7 @@ function template_preprocess_views_view_ $view_settings['timeout'] = check_plain($options['timeout']) * 1000; $view_settings['speed'] = check_plain($options['speed']) * 1000; $view_settings['pause'] = check_plain($options['pause']); + $view_settings['autostop'] = check_plain($options['autostop']); $view_settings['cleartype'] = 1; if (!empty($options['back_next_buttons'])) { Index: views_rotator_style_plugin.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_rotator/views_rotator_style_plugin.inc,v retrieving revision 1.1 diff -u -p -r1.1 views_rotator_style_plugin.inc --- views_rotator_style_plugin.inc 23 Sep 2008 02:28:12 -0000 1.1 +++ views_rotator_style_plugin.inc 25 Mar 2009 15:38:13 -0000 @@ -13,6 +13,7 @@ class views_rotator_style_plugin extends $options['timeout'] = 5; $options['speed'] = 1; $options['pause'] = 0; + $options['autostop'] = 0; $options['back_next_buttons'] = 0; $options['height'] = ''; } @@ -39,6 +40,11 @@ class views_rotator_style_plugin extends '#title' => t('Pause rotation when the mouse is over the area.'), '#default_value' => $this->options['pause'], ); + $form['autostop'] = array( + '#type' => 'checkbox', + '#title' => t('Stop the rotation at the end of the cycle.'), + '#default_value' => $this->options['autostop'], + ); $form['back_next_buttons'] = array( '#type' => 'checkbox', '#title' => t('Display back and next buttons when the mouse is over the area.'),