4 * Returns the HTML for a single Drupal page.
6 * Complete documentation for this file is available online.
7 * @see http://drupal.org/node/1728148
13 <header class="header" id
="header" role
="banner">
16 <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
>
19 <?php
if ($site_name || $site_slogan): ?
>
20 <div
class="header--name-and-slogan" id
="name-and-slogan">
21 <?php
if ($site_name): ?
>
22 <h1
class="header--site-name" id
="site-name">
23 <a href
="<?php print $front_page; ?>" title
="<?php print t('Home'); ?>" class="header--site-link" rel
="home"><span
><?php
print $site_name; ?
></span
></a
>
27 <?php
if ($site_slogan): ?
>
28 <h2
class="header--site-slogan" id
="site-slogan"><?php
print $site_slogan; ?
></h2
>
33 <?php
if ($secondary_menu): ?
>
34 <nav
class="header--secondary-menu" id
="secondary-menu" role
="navigation">
35 <?php
print theme('links__system_secondary_menu', array(
36 'links' => $secondary_menu,
37 'attributes' => array(
38 'class' => array('links', 'inline', 'clearfix'),
41 'text' => $secondary_menu_heading,
43 'class' => array('element-invisible'),
49 <?php
print render($page['header']); ?
>
55 <div id
="content" class="column" role
="main">
56 <?php
print render($page['highlighted']); ?
>
57 <?php
print $breadcrumb; ?
>
58 <a id
="main-content"></a
>
59 <?php
print render($title_prefix); ?
>
61 <h1
class="page--title title" id
="page-title"><?php
print $title; ?
></h1
>
63 <?php
print render($title_suffix); ?
>
64 <?php
print $messages; ?
>
65 <?php
print render($tabs); ?
>
66 <?php
print render($page['help']); ?
>
67 <?php
if ($action_links): ?
>
68 <ul
class="action-links"><?php
print render($action_links); ?
></ul
>
70 <?php
print render($page['content']); ?
>
71 <?php
print $feed_icons; ?
>
76 <?php
if ($main_menu): ?
>
77 <nav id
="main-menu" role
="navigation">
79 // This code snippet is hard to modify. We recommend turning off the
80 // "Main menu" on your sub-theme's settings form, deleting this PHP
81 // code block, and, instead, using the "Menu block" module.
82 // @see http://drupal.org/project/menu_block
83 print theme('links__system_main_menu', array(
84 'links' => $main_menu,
85 'attributes' => array(
86 'class' => array('links', 'inline', 'clearfix'),
89 'text' => t('Main menu'),
91 'class' => array('element-invisible'),
97 <?php
print render($page['navigation']); ?
>
102 // Render the sidebars to see if there's anything in them.
103 $sidebar_first = render($page['sidebar_first']);
104 $sidebar_second = render($page['sidebar_second']);
107 <?php
if ($sidebar_first || $sidebar_second): ?
>
108 <aside
class="sidebars">
109 <?php
print $sidebar_first; ?
>
110 <?php
print $sidebar_second; ?
>
116 <?php
print render($page['footer']); ?
>
120 <?php
print render($page['bottom']); ?
>