function tripal_stock_add_ALL_dbreferences_page
1.x tripal_stock-db_references.inc | tripal_stock_add_ALL_dbreferences_page($node) |
Display the ADD Database References to Stock Page
This page is displayed after the stock is created as part of a simulated multi-part form
Parameters
$node: The stock node to add the database references to
Return value
HTML formatted output
Related topics
1 string reference to 'tripal_stock_add_ALL_dbreferences_page'
- tripal_stock_menu in tripal_stock/
tripal_stock.module - Implements hook_menu(): Adds menu items for the tripal_stock
File
- tripal_stock/
includes/ tripal_stock-db_references.inc, line 20 - @todo Add file header description
Code
function tripal_stock_add_ALL_dbreferences_page($node) {
$output = '';
$output .= tripal_stock_add_chado_properties_progress('db_references') . '<br />';
$output .= '<b>All Database References should strictly pertain to THE CURRENT Individual</b><br />';
$output .= '<br />';
$output .= theme('tripal_stock_references', $node);
$output .= '<br /><br />';
$output .= drupal_get_form('tripal_stock_add_ONE_dbreference_form', $node);
$output .= '<br />';
$output .= drupal_get_form('tripal_stock_add_chado_properties_navigate', 'db_references', $node->nid);
return $output;
}