Viewing file: page.tpl.php (5.65 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php // $Id: page.tpl.php,v 1.7 2008/05/14 17:08:36 johnalbin Exp $ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language; ?>" xml:lang="<?php print $language->language; ?>">
<head> <title><?php print $head_title; ?></title> <?php print $head; ?> <?php print $styles; ?> <!--[if IE]> <?php if (file_exists($directory . '/ie.css')): ?> <link rel="stylesheet" href="<?php print $base_path . $directory; ?>/ie.css" type="text/css"> <?php else: ?> <link rel="stylesheet" href="<?php print $base_path . $zentheme_directory; ?>/ie.css" type="text/css"> <?php endif; ?> <![endif]--> <?php print $scripts; ?> </head>
<body class="<?php print $body_classes; ?>">
<div id="page"><div id="page-inner">
<a name="top" id="navigation-top"></a> <div id="skip-to-nav"><a href="#navigation"><?php print t('Skip to Navigation'); ?></a></div>
<div id="header"><div id="header-inner" class="clear-block">
<?php if ($logo || $site_name || $site_slogan): ?> <div id="logo-title">
<?php if ($logo): ?> <div id="logo"><a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="logo-image" /></a></div> <?php endif; ?>
<?php if ($site_name): ?> <?php // Use an H1 only on the homepage $tag = $is_front ? 'h1' : 'div'; ?> <<?php print $tag; ?> id='site-name'> <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home"> <strong><?php print $site_name; ?></strong> </a> </<?php print $tag; ?>> <?php endif; ?>
<?php if ($site_slogan): ?> <div id='site-slogan'><?php print $site_slogan; ?></div> <?php endif; ?>
</div> <!-- /#logo-title --> <?php endif; ?>
<?php if ($header): ?> <div id="header-blocks" class="region region-header"> <?php print $header; ?> </div> <!-- /#header-blocks --> <?php endif; ?>
</div></div> <!-- /#header-inner, /#header -->
<div id="main"><div id="main-inner" class="clear-block<?php if ($search_box || $primary_links || $secondary_links || $navbar) { print ' with-navbar'; } ?>">
<div id="content"><div id="content-inner">
<?php if ($mission): ?> <div id="mission"><?php print $mission; ?></div> <?php endif; ?>
<?php if ($content_top): ?> <div id="content-top" class="region region-content_top"> <?php print $content_top; ?> </div> <!-- /#content-top --> <?php endif; ?>
<?php if ($breadcrumb or $title or $tabs or $help or $messages): ?> <div id="content-header"> <?php print $breadcrumb; ?> <?php if ($title): ?> <h1 class="title"><?php print $title; ?></h1> <?php endif; ?> <?php print $messages; ?> <?php if ($tabs): ?> <div class="tabs"><?php print $tabs; ?></div> <?php endif; ?> <?php print $help; ?> </div> <!-- /#content-header --> <?php endif; ?>
<div id="content-area"> <?php print $content; ?> </div>
<?php if ($feed_icons): ?> <div class="feed-icons"><?php print $feed_icons; ?></div> <?php endif; ?>
<?php if ($content_bottom): ?> <div id="content-bottom" class="region region-content_bottom"> <?php print $content_bottom; ?> </div> <!-- /#content-bottom --> <?php endif; ?>
</div></div> <!-- /#content-inner, /#content -->
<?php if ($search_box || $primary_links || $secondary_links || $navbar): ?> <div id="navbar"><div id="navbar-inner" class="region region-navbar">
<a name="navigation" id="navigation"></a>
<?php if ($search_box): ?> <div id="search-box"> <?php print $search_box; ?> </div> <!-- /#search-box --> <?php endif; ?>
<?php if ($primary_links): ?> <div id="primary"> <?php print theme('links', $primary_links); ?> </div> <!-- /#primary --> <?php endif; ?>
<?php if ($secondary_links): ?> <div id="secondary"> <?php print theme('links', $secondary_links); ?> </div> <!-- /#secondary --> <?php endif; ?>
<?php print $navbar; ?>
</div></div> <!-- /#navbar-inner, /#navbar --> <?php endif; ?>
<?php if ($left): ?> <div id="sidebar-left"><div id="sidebar-left-inner" class="region region-left"> <?php print $left; ?> </div></div> <!-- /#sidebar-left-inner, /#sidebar-left --> <?php endif; ?>
<?php if ($right): ?> <div id="sidebar-right"><div id="sidebar-right-inner" class="region region-right"> <?php print $right; ?> </div></div> <!-- /#sidebar-right-inner, /#sidebar-right --> <?php endif; ?>
</div></div> <!-- /#main-inner, /#main -->
<div id="footer"><div id="footer-inner" class="region region-footer">
<div id="footer-message"><?php print $footer_message; ?></div>
<?php print $footer; ?>
</div></div> <!-- /#footer-inner, /#footer -->
</div></div> <!-- /#page-inner, /#page -->
<?php if ($closure_region): ?> <div id="closure-blocks" class="region region-closure"><?php print $closure_region; ?></div> <?php endif; ?>
<?php print $closure; ?>
</body> </html>
|