page.tpl.php
Same filename in this branch
1 theme call to page.tpl.php
- system_element_info in modules/
system/ system.module - Implements hook_element_info().
File
-
themes/
seven/ page.tpl.php
View source
<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
}
?>
<?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
}
?>
<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
}
?>
<?php
if ($page['help']) {
?>
<div id="help">
<?php
print render($page['help']);
?>
</div>
<?php
}
?>
<?php
if ($action_links) {
?><ul class="action-links"><?php
print render($action_links);
?></ul><?php
}
?>
<?php
print render($page['content']);
?>
</div>
<div id="footer">
<?php
print $feed_icons;
?>
</div>
</div>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.