Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a small bug in page.tpl.php:
<?php if ($tabs): ?><div class="tabs"><?php print render($tabs); ?></div><?php endif; ?>
The $tabs variable is a non empty array even if there are no tabs to print. To make sure that the "tabs" div is printed only when needed, you could do this:
<?php if ($tabs && ($tabs['#primary'] || $tabs['#secondary'])): ?><div class="tabs"><?php print render($tabs); ?></div><?php endif; ?>
Comments
Comment #1
bryanbraun CreditAttribution: bryanbraun commentedThanks for flagging this. I'm integrating it into the next release.
Comment #2
bryanbraun CreditAttribution: bryanbraun commentedThis has been fixed and committed to 7.x-2.x-dev: http://drupalcode.org/project/writer.git/commit/9972229