diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-02-27 22:39:24 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-02-27 22:39:24 +0000 |
commit | 84cb44c69833659fad30de073da5079ddfd5f6fb (patch) | |
tree | 5f079da7013e018f7b4ce96d1f718c332bf771ca /themes | |
parent | 951ed45e276ae26a290db209a4e91a8b22193acd (diff) | |
download | brdo-84cb44c69833659fad30de073da5079ddfd5f6fb.tar.gz brdo-84cb44c69833659fad30de073da5079ddfd5f6fb.tar.bz2 |
#51153, Boxes may be themed without a title; don't spit the header., patch by Morbus
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 |