2.0, ); } /* * */ function tripal_genetic_theme() { return array( 'tripal_feature_genotypes' => array( 'arguments' => array('node' => NULL), 'template' => 'tripal_feature_genotypes', ), ); } /** * */ function tripal_genetic_nodeapi(&$node, $op, $teaser, $page) { switch ($op) { case 'view': if ($node->type == 'chado_feature') { $node->content['tripal_feature_genotypes'] = array( '#value' => theme('tripal_feature_genotypes', $node), ); } } }