Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
I feel like we only needed one if($tabs) here
<?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">';
endif; ?>
<?php if ($tabs): ?>
<div id="drupal-control-bar">
<?php endif; ?>
<?php if ($tabs): print '<ul>' . $tabs . '</ul>';
endif; ?>
<?php if ($tabs2): print '<ul class="tabs secondary">' . $tabs2 . '</ul>';
endif; ?>
<?php if ($tabs): ?>
</div><!--/ #drupal-control-bar -->
<?php endif; ?>
<?php if ($tabs): print '</div><!--/ #tabs-wrapper -->';
endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment