Index: contrib/views_slideshow_singleframe/views_slideshow_singleframe.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow_singleframe.module,v retrieving revision 1.1.2.1.2.1 diff -u -p -r1.1.2.1.2.1 views_slideshow_singleframe.module --- contrib/views_slideshow_singleframe/views_slideshow_singleframe.module 24 Aug 2009 19:46:54 -0000 1.1.2.1.2.1 +++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.module 25 Aug 2009 05:49:14 -0000 @@ -20,6 +20,18 @@ function views_slideshow_singleframe_the 'arguments' => array('id' => '', 'view' => NULL, 'options' => array()), 'file' => 'views_slideshow_singleframe.theme.inc', ), + 'views_slideshow_singleframe_control_previous' =>array( + 'arguments' => array('id' => '', 'view' => NULL, 'options' => array()), + 'file' => 'views_slideshow_singleframe.theme.inc', + ), + 'views_slideshow_singleframe_control_pause' =>array( + 'arguments' => array('id' => '', 'view' => NULL, 'options' => array()), + 'file' => 'views_slideshow_singleframe.theme.inc', + ), + 'views_slideshow_singleframe_control_next' =>array( + 'arguments' => array('id' => '', 'view' => NULL, 'options' => array()), + 'file' => 'views_slideshow_singleframe.theme.inc', + ), 'views_slideshow_singleframe_pager' => array( 'arguments' => array('id' => '', 'view' => NULL, 'options' => array()), 'file' => 'views_slideshow_singleframe.theme.inc', 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.2 diff -u -p -r1.1.2.1.2.2 views_slideshow_singleframe.theme.inc --- contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc 24 Aug 2009 19:46:54 -0000 1.1.2.1.2.2 +++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc 25 Aug 2009 05:49:14 -0000 @@ -69,15 +69,39 @@ function theme_views_slideshow_singlefra return $output; } +/** + * Themed slideshow controls. + */ function theme_views_slideshow_singleframe_controls($id, $view, $options) { $output = '
' . "\n"; - $output .= '' . t('Previous') . "\n"; - $output .= '' . t('Pause') . "\n"; - $output .= '' . t('Next') . "\n"; + $output .= theme('views_slideshow_singleframe_control_previous', $id, $view, $options); + $output .= theme('views_slideshow_singleframe_control_pause', $id, $view, $options); + $output .= theme('views_slideshow_singleframe_control_next', $id, $view, $options); $output .= "
\n"; return $output; } +/** + * Themed Previous Control + */ +function theme_views_slideshow_singleframe_control_previous($id, $view, $options) { + return '' . t('Previous') . "\n"; +} + +/** + * Themed Pause Control + */ +function theme_views_slideshow_singleframe_control_pause($id, $view, $options) { + return '' . t('Pause') . "\n"; +} + +/** + * Themed Next Control + */ +function theme_views_slideshow_singleframe_control_next($id, $view, $options) { + return '' . t('Next') . "\n"; +} + function theme_views_slideshow_singleframe_pager($id, $view, $options) { $output = '
'; return $output; Index: contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow_thumbnailhover.module,v retrieving revision 1.1.2.1.2.1 diff -u -p -r1.1.2.1.2.1 views_slideshow_thumbnailhover.module --- contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.module 24 Aug 2009 19:46:54 -0000 1.1.2.1.2.1 +++ contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.module 25 Aug 2009 05:49:14 -0000 @@ -25,6 +25,18 @@ function views_slideshow_thumbnailhover_ 'arguments' => array('id' => '', 'view' => NULL, 'options' => array()), 'file' => 'views_slideshow_thumbnailhover.theme.inc', ), + 'views_slideshow_thumbnailhover_control_previous' =>array( + 'arguments' => array('id' => '', 'view' => NULL, 'options' => array()), + 'file' => 'views_slideshow_thumbnailhover.theme.inc', + ), + 'views_slideshow_thumbnailhover_control_pause' =>array( + 'arguments' => array('id' => '', 'view' => NULL, 'options' => array()), + 'file' => 'views_slideshow_thumbnailhover.theme.inc', + ), + 'views_slideshow_thumbnailhover_control_next' =>array( + 'arguments' => array('id' => '', 'view' => NULL, 'options' => array()), + 'file' => 'views_slideshow_thumbnailhover.theme.inc', + ), 'views_slideshow_thumbnailhover_breakout_teaser' => array( 'arguments' => array('item' => NULL, 'id' => NULL, 'count' => NULL), 'file' => 'views_slideshow_thumbnailhover.theme.inc', 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.2 diff -u -p -r1.1.2.1.2.2 views_slideshow_thumbnailhover.theme.inc --- contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc 24 Aug 2009 19:46:54 -0000 1.1.2.1.2.2 +++ contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.theme.inc 25 Aug 2009 05:49:14 -0000 @@ -105,11 +105,35 @@ function theme_views_slideshow_thumbnail } +/** + * Themed slideshow controls. + */ function theme_views_slideshow_thumbnailhover_controls($id, $view, $options) { $output = '
' . "\n"; - $output .= '' . t('Previous') . "\n"; - $output .= '' . t('Pause') . "\n"; - $output .= '' . t('Next') . "\n"; + $output .= theme('views_slideshow_thumbnailhover_control_previous', $id, $view, $options); + $output .= theme('views_slideshow_thumbnailhover_control_pause', $id, $view, $options); + $output .= theme('views_slideshow_thumbnailhover_control_next', $id, $view, $options); $output .= "
\n"; return $output; } + +/** + * Themed Previous Control + */ +function theme_views_slideshow_thumbnailhover_control_previous($id, $view, $options) { + return '' . t('Previous') . "\n"; +} + +/** + * Themed Pause Control + */ +function theme_views_slideshow_thumbnailhover_control_pause($id, $view, $options) { + return '' . t('Pause') . "\n"; +} + +/** + * Themed Next Control + */ +function theme_views_slideshow_thumbnailhover_control_next($id, $view, $options) { + return '' . t('Next') . "\n"; +}