drupal/core/themes/seven/page.tpl.php

53 lines
1.5 KiB
PHP

<?php
/**
* @file
* Seven's theme implementation to display a single Drupal page.
*
* The doctype, html, head, and body tags are not in this template. Instead
* they can be found in the html.tpl.php template normally located in the
* core/modules/system directory.
*
* @see template_preprocess()
* @see template_preprocess_page()
* @see template_process()
* @see seven_preprocess_page()
*
* @ingroup themeable
*/
?>
<div id="branding" class="clearfix">
<?php print $breadcrumb; ?>
<?php print render($title_prefix); ?>
<?php if ($title): ?>
<h1 class="page-title"><?php print $title; ?></h1>
<?php endif; ?>
<?php print render($title_suffix); ?>
<?php print render($primary_local_tasks); ?>
</div>
<div id="page">
<?php if ($secondary_local_tasks): ?>
<div class="tabs-secondary clearfix"><?php print render($secondary_local_tasks); ?></div>
<?php endif; ?>
<div id="content" class="clearfix">
<div class="element-invisible"><a id="main-content"></a></div>
<?php if ($messages): ?>
<div id="console" class="clearfix"><?php print $messages; ?></div>
<?php endif; ?>
<?php if ($page['help']): ?>
<div id="help">
<?php print render($page['help']); ?>
</div>
<?php endif; ?>
<?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
<?php print render($page['content']); ?>
</div>
<div id="footer">
<?php print $feed_icons; ?>
</div>
</div>