diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-08-24 15:28:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-08-24 15:28:53 +0000 |
commit | 5aa2bad9485dc8ae8078cae590bfbc38086fb106 (patch) | |
tree | 9c730809591dcfdc409605a5742f51abd2e2d7a2 /themes | |
parent | 789dd294ff59423376d7fe42501ad197803a12cf (diff) | |
download | brdo-5aa2bad9485dc8ae8078cae590bfbc38086fb106.tar.gz brdo-5aa2bad9485dc8ae8078cae590bfbc38086fb106.tar.bz2 |
- Patch #29283: bluemarine mistakenly loads home page every time.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/bluemarine/page.tpl.php | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/themes/bluemarine/page.tpl.php b/themes/bluemarine/page.tpl.php index 0c634e5d5..0625a4655 100644 --- a/themes/bluemarine/page.tpl.php +++ b/themes/bluemarine/page.tpl.php @@ -13,15 +13,13 @@ <table border="0" cellpadding="0" cellspacing="0" id="header"> <tr> <td id="logo"> - - <a href="./" title="Home"><img src="<?php print $logo ?>" alt="Home" /></a> - <h1 class='site-name'><a href="./" title="Home"><?php print $site_name ?></a></h1> - <div class='site-slogan'><?php print $site_slogan ?></div> - + <?php if ($logo) { ?><a href="./" title="Home"><img src="<?php print $logo ?>" alt="Home" /></a><?php } ?> + <?php if ($site_name) { ?><h1 class='site-name'><a href="./" title="Home"><?php print $site_name ?></a></h1><?php } ?> + <?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?> </td> <td id="menu"> - <div id="secondary"><?php print theme('links', $secondary_links) ?></div> - <div id="primary"><?php print theme('links', $primary_links) ?></div> + <?php if ($secondary_links) { ?><div id="secondary"><?php print theme('links', $secondary_links) ?></div><?php } ?> + <?php if ($primary_links) { ?><div id="primary"><?php print theme('links', $primary_links) ?></div><?php } ?> <?php if ($search_box) { ?><form action="<?php print $search_url ?>" method="post"> <div id="search"> <input class="form-text" type="text" size="15" value="" name="edit[keys]" alt="<?php print $search_description ?>" /> |