function tripal_phylogeny_admin_phylotrees_listing
2.x tripal_phylogeny.admin.inc | tripal_phylogeny_admin_phylotrees_listing() |
3.x tripal_chado.phylotree.inc | tripal_phylogeny_admin_phylotrees_listing() |
1 string reference to 'tripal_phylogeny_admin_phylotrees_listing'
- tripal_phylogeny_menu in tripal_phylogeny/
tripal_phylogeny.module - Implements hook_menu().
File
- tripal_phylogeny/
includes/ tripal_phylogeny.admin.inc, line 8 - This file contains the functions used for administration of the module
Code
function tripal_phylogeny_admin_phylotrees_listing() {
$output = '';
// set the breadcrumb
$breadcrumb = array();
$breadcrumb[] = l('Home', '<front>');
$breadcrumb[] = l('Administration', 'admin');
$breadcrumb[] = l('Tripal', 'admin/tripal');
$breadcrumb[] = l('Chado', 'admin/tripal/chado');
$breadcrumb[] = l('Phylotrees', 'admin/tripal/extension/tripal_phylogeny');
drupal_set_breadcrumb($breadcrumb);
// Add the view
$view = views_embed_view('tripal_phylogeny_admin_phylotree', 'default');
if (isset($view)) {
$output .= $view;
}
else {
$output .= '<p>The Phylotree module uses primarily views to provide an '
. 'administrative interface. Currently one or more views needed for this '
. 'administrative interface are disabled. <strong>Click each of the following links to '
. 'enable the pertinent views</strong>:</p>';
$output .= '<ul>';
$output .= '<li>' . l('Phylotree View', 'admin/tripal/extension/tripal_phylogeny/views/phylotree/enable') . '</li>';
$output .= '</ul>';
}
return $output;
}