? node_view_fields_title.patch
Index: includes/views_tabs_plugin_style.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_tabs/includes/views_tabs_plugin_style.inc,v
retrieving revision 1.1.2.5
diff -u -p -r1.1.2.5 views_tabs_plugin_style.inc
--- includes/views_tabs_plugin_style.inc	3 Feb 2010 17:35:54 -0000	1.1.2.5
+++ includes/views_tabs_plugin_style.inc	16 Mar 2010 01:19:12 -0000
@@ -12,12 +12,7 @@ class views_tabs_plugin_style extends vi
       $options = $this->options;
       $opt = array('' => t('<None>'));
       foreach ($this->display->handler->get_handlers('field') as $field => $handler) {
-        if ($label = $handler->label()) {
-          $opt[$field] = $label;
-        }
-        else {
-          $opt[$field] = $handler->ui_name();
-        }
+        $opt[$field] = $handler->ui_name();
       }
       $form['tab_field'] = array(
         '#title' => t('Tab field'),
@@ -42,15 +37,23 @@ class views_tabs_plugin_style extends vi
     // Render each group separately and concatenate.  Plugins may override this
     // method if they wish some other way of handling grouping.
     $output = '';
-    $this->view->row_index = 0;
     foreach ($sets as $title => $records) {
       $content = '';
       if ($this->uses_row_plugin()) {
         $rows = array();
         foreach ($records as $label => $row) {
           if ($this->uses_fields()) {
-            $content .= theme($this->theme_functions(), $this->view, $this->options, $this->row_plugin->render($row));
-          } else {
+
+            $title_field = $this->options['tab_field'];
+            $title = $this->view->field[$title_field]->theme($row);
+            $tabset[] = array(
+              '#title' => $title,
+              '#type' => 'tabpage',
+              '#content' => theme($this->theme_functions(), $this->view, $this->options, $this->row_plugin->render($row)),
+              '#attributes' => array('class' => 'tab-title'),
+            );
+          }
+          else {
             $node = node_load($row->nid);
             $node->view = $this->view;
             $options = $this->row_plugin->options;
