aboutsummaryrefslogtreecommitdiff
path: root/templates/page.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.tpl.php')
-rw-r--r--templates/page.tpl.php71
1 files changed, 71 insertions, 0 deletions
diff --git a/templates/page.tpl.php b/templates/page.tpl.php
new file mode 100644
index 0000000..7d2ea56
--- /dev/null
+++ b/templates/page.tpl.php
@@ -0,0 +1,71 @@
+<?php
+// $Id$
+/**
+ * @file
+ * Output for main HTML page content.
+ */
+?>
+<div id="container" class="container-16">
+ <header id="header" class="section section-header clearfix" role="banner">
+ <?php if ($site_name || $site_slogan || $logo): ?>
+ <hgroup class="grid-10">
+ <?php if ($site_name): ?>
+ <h1 class="site-name"><a title="<?php print t('Home'); ?>" rel="home" href="<?php print $front_page; ?>"><?php print $site_name; ?></a></h1>
+ <?php endif; ?>
+ <?php if ($logo): ?>
+ <a title="<?php print t('Home'); ?>" rel="home" href="<?php print $front_page; ?>"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>"/></a>
+ <?php endif; ?>
+ <?php if ($site_slogan): ?>
+ <h2 class="site-slogan"><?php print $site_slogan; ?></h2>
+ <?php endif; ?>
+ </hgroup>
+ <?php endif; ?>
+ <?php print render($page['header']); ?>
+ <?php print render($page['navigation']); ?>
+ </header>
+ <?php print render($page['highlighted']); ?>
+ <div id="main" class="section section-main clearfix" role="main">
+ <div id="content" class="column <?php print $content_grid_classes; ?>">
+ <div class="inner">
+ <?php print $messages; ?>
+ <?php print render($title_prefix); ?>
+ <?php if ($title): ?>
+ <h1 class="title" id="page-title"><?php print $title; ?></h1>
+ <?php endif; ?>
+ <?php print render($title_suffix); ?>
+ <?php print render($page['help']); ?>
+ <?php if ($tabs = render($tabs)): ?>
+ <div class="tabs"><?php print $tabs; ?></div>
+ <?php endif; ?>
+ <?php if ($action_links): ?>
+ <ul class="action-links"><?php print render($action_links); ?></ul>
+ <?php endif; ?>
+ <div id="main-content" class="clearfix">
+ <?php print render($page['content']); ?>
+ </div>
+ <?php print $feed_icons; ?>
+ </div>
+ </div>
+ <?php if ($sidebar_first = render($page['sidebar_first'])): ?>
+ <div id="sidebar-first" class="sidebar <?php print $sidebar_first_grid_classes; ?>">
+ <?php print $sidebar_first; ?>
+ </div>
+ <?php endif; ?>
+ <?php if ($sidebar_second = render($page['sidebar_second'])): ?>
+ <div id="sidebar-second" class="sidebar <?php print $sidebar_second_grid_classes; ?>">
+ <?php print $sidebar_second; ?>
+ </div>
+ <?php endif; ?>
+ </div>
+ <?php print $breadcrumb; ?>
+ <footer id="footer" class="section section-footer clearfix" role="footer">
+ <?php print render($page['footer']); ?>
+ <?php print render($page['copyright']); ?>
+ </footer>
+</div>
+<?php if ($collapsible = render($page['collapsible'])): ?>
+ <section id="section-collapsible" class="section section-collapsible clearfix">
+ <h2 class="collapsible-toggle"><a href="#"><?php print t('Toggle collapsible region'); ?></a></h2>
+ <?php print $collapsible; ?>
+ </section>
+<?php endif; ?> \ No newline at end of file