2.0, ); } /** * Implements hook_theme */ function tripal_natural_diversity_theme() { return array( 'tripal_feature_genotype_experiments' => array( 'arguments' => array('node' => NULL), 'template' => 'tripal_feature-genotype_experiments', ), 'tripal_stock_nd_genotypes' => array( 'arguments' => array('node' => NULL), 'template' => 'tripal_stock_nd_genotypes', ), ); } /* * */ function tripal_natural_diversity_nodeapi(&$node, $op, $teaser, $page){ switch ($op) { case 'view': if ($node->type == 'chado_feature') { $node->content['tripal_feature_genotype_experiments'] = array( '#value' => theme('tripal_feature_genotype_experiments', $node), ); } } } /* * */ function tripal_natural_diversity_preprocess_tripal_stock_nd_genotypes(&$variables){ }