Skip to content
Snippets Groups Projects
Commit 7b7eb34b authored by Anthony Bretaudeau's avatar Anthony Bretaudeau
Browse files

orthology

parent 0753f247
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,9 @@
</li>
</ul>
</div>
<?php print render($page['header']["tripal_elasticsearch_elasticsearch_website_search_box"]); ?>
<?php if (!getenv('ENABLE_ORTHOLOGY')): ?>
<?php print render($page['header']["tripal_elasticsearch_elasticsearch_website_search_box"]); ?>
<?php endif; ?>
</nav><!-- #site-navigation -->
</div><!-- #navbar -->
</header><!-- #masthead -->
......@@ -235,9 +237,14 @@
include('/welcome.html');
?>
<?php $search_form = drupal_get_form('website_search_box_form'); print drupal_render($search_form); ?>
<?php if (getenv('ENABLE_ORTHOLOGY')): ?>
<p>This section contains orthology data.</p>
<p>Browse the available <a href="<?php echo $GLOBALS['base_url']; ?>/search/phylotree">gene families</a></p>
<?php else: ?>
<?php $search_form = drupal_get_form('website_search_box_form'); print drupal_render($search_form); ?>
<?php print render($page['content']); ?>
<?php print render($page['content']); ?>
<?php endif; ?>
<?php if ($page['sidebar_second']): ?>
<div id="sidebar-second" class="column sidebar"><div class="section">
......
......@@ -206,7 +206,9 @@ if (isset($node) && $node->type == "chado_feature") {
</li>
</ul>
</div>
<?php print render($page['header']["tripal_elasticsearch_elasticsearch_website_search_box"]); ?>
<?php if (!getenv('ENABLE_ORTHOLOGY')): ?>
<?php print render($page['header']["tripal_elasticsearch_elasticsearch_website_search_box"]); ?>
<?php endif; ?>
</nav><!-- #site-navigation -->
</div><!-- #navbar -->
</header><!-- #masthead -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment