Projet

Général

Profil

Paste
Télécharger (989 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / zen / templates / pane-header.tpl.php @ 7dbec6b0

1 87dbc3bf Benjamin Luce
<?php
2
/**
3
 * @file
4
 * Returns the HTML for Panels Everywhere's navigation pane.
5
 *
6
 * Complete documentation for this file is available online.
7
 * @see https://drupal.org/node/2052507
8
 */
9
?>
10
<?php if ($logo): ?>
11
  <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" class="header__logo" id="logo"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" class="header__logo-image" /></a>
12
<?php endif; ?>
13
14
<?php if ($site_name || $site_slogan): ?>
15
  <div class="header__name-and-slogan" id="name-and-slogan">
16
    <?php if ($site_name): ?>
17
      <h1 class="header__site-name" id="site-name">
18
        <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" class="header__site-link" rel="home"><span><?php print $site_name; ?></span></a>
19
      </h1>
20
    <?php endif; ?>
21
22
    <?php if ($site_slogan): ?>
23
      <h2 class="header__site-slogan" id="site-slogan"><?php print $site_slogan; ?></h2>
24
    <?php endif; ?>
25
  </div>
26
<?php endif; ?>