diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/bluemarine/box.tpl.php | 2 | ||||
-rw-r--r-- | themes/engines/phptemplate/box.tpl.php | 4 | ||||
-rw-r--r-- | themes/pushbutton/box.tpl.php | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/themes/bluemarine/box.tpl.php b/themes/bluemarine/box.tpl.php index 1e5280c3f..a66bd27df 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 e19ffba88..56667e767 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 053c88f70..cf48ffa13 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 |