Return to Snippet

Revision: 11426
at February 4, 2009 18:20 by zachharkey


Initial Code
<div id="header"><div id="header-inner" class="clear-block">

  <?php if ($logo or $site_name or $site_slogan): ?>
    <div id="logo-title">

      <?php if ($logo): ?>
        <div id="logo"><a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" id="logo-image" /></a></div>
      <?php endif; ?>

      <?php if ($site_name): ?>
        <?php if ($is_front): ?>
          <h1 id="site-name">
            <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>" rel="home">
            <?php print $site_name ?>
            </a>
          </h1>
        <?php else: ?>
          <div id="site-name"><strong>
            <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>" rel="home">
            <?php print $site_name ?>
            </a>
          </strong></div>
        <?php endif ?>
      <?php endif ?>

      <?php if ($site_slogan): ?>
        <div id="site-slogan"><?php print $site_slogan ?></div>
      <?php endif ?>

    </div> <!-- /#logo-title -->
  <?php endif ?>

  <?php if ($header): ?>
    <div id="header-blocks" class="region region-header">
      <?php print $header ?>
    </div> <!-- /#header-blocks -->
  <?php endif ?>

</div></div> <!-- /#header-inner, /#header -->  

Initial URL

                                

Initial Description

                                

Initial Title
Drupal region page-tpl-php

Initial Tags
textmate, drupal

Initial Language
Other