Sfoglia il codice sorgente

Merge pull request #468 from tripal/429-tv3-match_features

Update call the theme_table() in match feature page
Lacey-Anne Sanderson 6 anni fa
parent
commit
7af371dd35
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      tripal_chado/tripal_chado.module

+ 6 - 1
tripal_chado/tripal_chado.module

@@ -1183,7 +1183,12 @@ function tripal_feature_match_features_page($id) {
     }
     $table_attrs = array('class' => 'tripal-data-table');
     $output = "<p>The following features match the name '$id'.</p>";
-    $output .= theme_table($header, $rows, $table_attrs, $caption);
+    $output .= theme_table(array(
+      'header' => $header, 
+      'rows' => $rows, 
+      'attributes' => $table_attrs, 
+      'caption' => $caption
+    ));
     return $output;
   }