kolab.org/www
Paul James Adams
adams at kolabsys.com
Mon Jul 30 16:59:38 CEST 2012
kolab.org/www/drupal-7.14/sites/all/themes/kolab/page.tpl.php | 13 ++++++----
1 file changed, 8 insertions(+), 5 deletions(-)
New commits:
commit f49dbd8a5e3c7dd58cdee936ff8b95afa9ae7346
Author: Paul Adams <adams at kolabsys.com>
Date: Mon Jul 30 16:59:17 2012 +0200
- Simplified identification of the header id
diff --git a/kolab.org/www/drupal-7.14/sites/all/themes/kolab/page.tpl.php b/kolab.org/www/drupal-7.14/sites/all/themes/kolab/page.tpl.php
index 0858027..fe27a64 100644
--- a/kolab.org/www/drupal-7.14/sites/all/themes/kolab/page.tpl.php
+++ b/kolab.org/www/drupal-7.14/sites/all/themes/kolab/page.tpl.php
@@ -1,18 +1,21 @@
<?php
- if (!drupal_is_front_page()) {
- $title = "";
- }
+ if(!drupal_is_front_page()): $title = ""; endif;
?>
<div id="header-region" class="clear-block">
<?php if($page['header']): print render($page['header']); endif; ?>
</div>
-<div id=<?php /*if ($is_front) { echo addslashes("header"); } else {*/ echo addslashes("header-normal");/* }*/ ?> class="container">
+<?php
+ id="header-normal";
+ if($is_front): $id="header"; endif;
+?>
+
+<div id="<?php print $id; ?>" class="container">
<div class="span-24">
<?php if($site_name): ?>
<h1 class='site-name'>
- <a href="<?php print $front_page ?>" title="<?php print t('Home') ?>">
+ <a href="<?php print $front_page ?>" title="<?php print t('Home'); ?>">
<?php print render($site_name); ?>
</a>
</h1>
More information about the commits
mailing list