Index: tabs/tabs.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/jstools/tabs/tabs.module,v
retrieving revision 1.34
diff -u -p -r1.34 tabs.module
--- tabs/tabs.module	4 Dec 2007 22:38:55 -0000	1.34
+++ tabs/tabs.module	4 May 2008 23:38:58 -0000
@@ -1,5 +1,5 @@
 <?php
-// $Id: tabs.module,v 1.34 2007/12/04 22:38:55 nedjo Exp $
+// $Id: tabs.module,v 1.9.2.15 2008/03/29 13:37:28 nedjo Exp $
 
 /**
  * @file
@@ -66,6 +66,18 @@ function tabs_admin_settings() {
     '#default_value' => variable_get('tabs_navigation', 0),
     '#options' => array(t('disabled'), t('enabled')),
   );
+  $form['tabs_nav_next'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Next button caption'),
+    '#description' => t('The text to be displayed in the \'next\' button.'),
+    '#default_value' => variable_get('tabs_nav_next', t('next')),
+  );
+  $form['tabs_nav_prev'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Previous button caption'),
+    '#description' => t('The text to be displayed in the \'previous\' button.'),
+    '#default_value' => variable_get('tabs_nav_prev', t('previous')),
+  );
   $form = system_settings_form($form);
   return $form;
 }
@@ -161,7 +173,7 @@ function tabs_load() {
         $path . '/tabs.js',
       )
     );
-    drupal_add_js(array('tabs' => array('slide' => (bool) variable_get('tabs_slide', 0), 'fade' => (bool) variable_get('tabs_fade', 0), 'speed' => variable_get('tabs_speed', 'slow'), 'auto_height' => (bool) variable_get('tabs_auto_height', 0), 'next_text' => t('next'), 'previous_text' => t('previous'))), 'setting');
+    drupal_add_js(array('tabs' => array('slide' => (bool) variable_get('tabs_slide', 0), 'fade' => (bool) variable_get('tabs_fade', 0), 'speed' => variable_get('tabs_speed', 'slow'), 'auto_height' => (bool) variable_get('tabs_auto_height', 0), 'next_text' => variable_get('tabs_nav_next', t('next')), 'previous_text' => variable_get('tabs_nav_prev', t('previous')))), 'setting');
     drupal_add_css($path . '/drupal-tabs.css');
     drupal_add_css($path . '/tabs.css');
     drupal_set_html_head('
