summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-04-09 09:07:17 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-04-09 09:07:17 +0000
commit94e04b848304c2bea8e516fce1a26dd89236356d (patch)
tree30d2f462af5f26a15112c908763aeefa9f0e9924
parent9a27b3cf4d3e26ebda04d47f314f15a147f47dc8 (diff)
downloadalpine_drupal_theme-94e04b848304c2bea8e516fce1a26dd89236356d.tar.bz2
alpine_drupal_theme-94e04b848304c2bea8e516fce1a26dd89236356d.tar.xz
add frontpage template
-rw-r--r--templates/page--front.tpl.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/page--front.tpl.php b/templates/page--front.tpl.php
new file mode 100644
index 0000000..4c852da
--- /dev/null
+++ b/templates/page--front.tpl.php
@@ -0,0 +1,32 @@
+<?php
+// $Id: page.tpl.php,v 1.1.2.18 2010/10/31 01:02:26 jmburnz Exp $
+?>
+<div id="page" class="container">
+
+ <header id="header" class="clearfix">
+ <div id="branding">
+ <?php if ($linked_site_logo): ?>
+ <div id="logo"><?php print $linked_site_logo; ?></div>
+ <?php endif; ?>
+ <?php if ($site_name || $site_slogan): ?>
+ <hgroup<?php if (!$site_slogan && $hide_site_name): ?> class="<?php print $visibility; ?>"<?php endif; ?>>
+ <?php if ($site_name): ?>
+ <h1 id="site-name"<?php if ($hide_site_name): ?> class="<?php print $visibility; ?>"<?php endif; ?>><?php print $site_name; ?></h1>
+ <?php endif; ?>
+ <?php if ($site_slogan): ?>
+ <h2 id="site-slogan"><?php print $site_slogan; ?></h2>
+ <?php endif; ?>
+ </hgroup>
+ <?php endif; ?>
+ </div>
+ <?php print render($page['header']); ?> <!-- /header region -->
+ <?php print render($page['menu_bar']); ?> <!-- /menu bar -->
+ </header> <!-- /header -->
+ <?php print render($page['content']); ?>
+ <?php if ($page['footer'] || $feed_icons): ?>
+ <footer id="footer"><div id="footer-inner" class="clearfix">
+ <?php print render($page['footer']); ?> <!-- /footer region -->
+ </div></footer> <!-- /footer/footer-inner -->
+ <?php endif; ?>
+
+</div> <!-- /page -->