diff --git a/themes/bluemarine/box.tpl.php b/themes/bluemarine/box.tpl.php index 1e5280c3fbb410ec5ef46a11fa82e8946598a25d..a66bd27dfff56c7c84c2bbb333f41eef087bd2ea 100644 --- a/themes/bluemarine/box.tpl.php +++ b/themes/bluemarine/box.tpl.php @@ -1,5 +1,5 @@ <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> diff --git a/themes/engines/phptemplate/box.tpl.php b/themes/engines/phptemplate/box.tpl.php index e19ffba88ff65b950d4aa224563344285551a03c..56667e76753b56f199f70df3ce864c87287d6a5e 100644 --- a/themes/engines/phptemplate/box.tpl.php +++ b/themes/engines/phptemplate/box.tpl.php @@ -1,4 +1,6 @@ <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> diff --git a/themes/pushbutton/box.tpl.php b/themes/pushbutton/box.tpl.php index 053c88f70116494f596ceb0c0b2f6d79b81c17fe..cf48ffa130aa5f5ab55c84840cd49823a04acfb6 100644 --- a/themes/pushbutton/box.tpl.php +++ b/themes/pushbutton/box.tpl.php @@ -1,4 +1,6 @@ <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