Skip to content
Snippets Groups Projects
Commit 84cb44c6 authored by Gerhard Killesreiter's avatar Gerhard Killesreiter
Browse files

#51153, Boxes may be themed without a title; don't spit the header., patch by Morbus

parent 951ed45e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
<div class="box">
<h2 class="title"><?php print $title; ?></h2>
<?php if ($title) { ?><h2 class="title"><?php print $title; ?></h2><?php } ?>
<div class="content"><?php print $content; ?></div>
</div>
<div class="box">
<h2><?php print $title ?></h2>
<?php if ($title): ?>
<h2 class="title"><?php print $title ?></h2>
<?php endif; ?>
<div class="content"><?php print $content ?></div>
</div>
<div class="box">
<?php if ($title): ?>
<h2 class="title"><?php print $title ?></h2>
<?php endif; ?>
<div class="content"><?php print $content ?></div>
</div>
\ No newline at end of file
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