| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
|
| 3 |
|
| 4 |
<head>
|
| 5 |
<title><?php print $head_title; ?></title>
|
| 6 |
<?php print $head; ?>
|
| 7 |
<?php print $styles; ?>
|
| 8 |
<?php print $scripts; ?>
|
| 9 |
<script type="text/javascript">$(document).ready( function() { $('#logo, .feed-icon').pngFix(); } );</script>
|
| 10 |
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?></script>
|
| 11 |
</head>
|
| 12 |
<body>
|
| 13 |
<div id="content-repeat">
|
| 14 |
<div id="bg-top-repeat">
|
| 15 |
<div id="bg-btm-repeat">
|
| 16 |
<div id="bg-top">
|
| 17 |
<div id="bg-btm">
|
| 18 |
<div id="page">
|
| 19 |
<div id="primary">
|
| 20 |
<?php print theme('links', $primary_links, array('class' => 'primary-links')); ?>
|
| 21 |
</div> <!-- /#primary -->
|
| 22 |
|
| 23 |
<div id="wrapper" class="clear-block">
|
| 24 |
<div id="left-section">
|
| 25 |
<?php if ($is_front): ?>
|
| 26 |
<div id="mission-folded-corner">
|
| 27 |
<h1 class="page-title"><?php print t('Welcome to') . ' ' . $site_name; ?></h1>
|
| 28 |
<div id="mission"><?php print $mission; ?></div>
|
| 29 |
</div> <!-- /#mission-folded-corner -->
|
| 30 |
<?php else: ?>
|
| 31 |
<div id="page-title-folded-corner">
|
| 32 |
<?php if (!empty($title)): ?><h1 class="page-title"><?php print $title; ?></h1><?php endif; ?>
|
| 33 |
<?php if (!empty($page_title)): ?>
|
| 34 |
<div id="page-title-region">
|
| 35 |
<?php print $page_title; ?>
|
| 36 |
</div> <!-- /#page-title-region -->
|
| 37 |
<?php endif; ?>
|
| 38 |
</div> <!-- /#title-folded-corner -->
|
| 39 |
<?php endif; ?>
|
| 40 |
<?php if (!empty($content_top)): ?>
|
| 41 |
<div id="content-top-region" class="clear-block">
|
| 42 |
<?php print $content_top; ?>
|
| 43 |
</div> <!-- /#content-top-region -->
|
| 44 |
<?php endif; ?>
|
| 45 |
<div id="main" class="clear-block">
|
| 46 |
<?php if (!empty($breadcrumb)): ?><div id="breadcrumb"><?php print $breadcrumb; ?></div><?php endif; ?>
|
| 47 |
<?php if (!empty($tabs)): ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?>
|
| 48 |
<div class="clear-block"><!-- Clear fix for floating elements --></div>
|
| 49 |
<?php if (!empty($messages)): print $messages; endif; ?>
|
| 50 |
<?php if (!empty($help)): print $help; endif; ?>
|
| 51 |
<div id="content" class="clear-block">
|
| 52 |
<?php print $content; ?>
|
| 53 |
</div> <!-- /#content -->
|
| 54 |
<?php print $feed_icons; ?>
|
| 55 |
</div> <!-- /#main -->
|
| 56 |
</div> <!-- /#left-section -->
|
| 57 |
|
| 58 |
<div id="right-section">
|
| 59 |
<div id="logo-or-site-name">
|
| 60 |
<?php if (!empty($logo)): ?>
|
| 61 |
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
|
| 62 |
<img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
|
| 63 |
</a>
|
| 64 |
<?php else: ?>
|
| 65 |
<div id="site-name">
|
| 66 |
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home">
|
| 67 |
<?php print $site_name; ?>
|
| 68 |
</a>
|
| 69 |
</div>
|
| 70 |
<?php endif; ?>
|
| 71 |
</div> <!-- /#logo-or-site-name -->
|
| 72 |
<div id="sidebar">
|
| 73 |
<?php print $sidebar; ?>
|
| 74 |
</div> <!-- /#sidebar -->
|
| 75 |
</div> <!-- /#right-section -->
|
| 76 |
</div> <!-- /#wrapper -->
|
| 77 |
|
| 78 |
<div id="btm" class="clear-block">
|
| 79 |
<div id="back-to-top"><?php print '<a href="#page" title="' . t('Back to top') . '">' . t('Back to top') . '</a>'; ?></div>
|
| 80 |
<?php if (!empty($secondary_links)): ?>
|
| 81 |
<div id="secondary">
|
| 82 |
<?php print theme('links', $secondary_links, array('class' => 'secondary-links')); ?>
|
| 83 |
</div> <!-- /#secondary -->
|
| 84 |
<?php endif; ?>
|
| 85 |
<div id="footer">
|
| 86 |
<?php print $footer_message; ?>
|
| 87 |
<div id="theme-credits"><?php print '<a href="http://drupal.org/project/colorpaper" title="' . t('Download') . ' Color Paper Drupal ' . t('theme') . '.' . '">Color Paper Drupal</a> ' . t('theme by') . ' ' . '<a href="http://kahthong.com/" title="' . t('Visit') . ' Leow Kah Thong\'s ' . t('website') . '.">Leow Kah Thong</a>, ' . t('designed by') . ' ' . '<a href="http://dreamtemplate.com/" title="' . t('Visit') . ' DreamTemplate\'s ' . t('website') . '.">DreamTemplate</a>, ' . t('brought to you by') . ' ' . '<a href="http://smashingmagazine.com/" title="' . t('Visit') . ' Smashing Magazine\'s ' . t('website') . '.">Smashing Magazine</a>.'; ?></div>
|
| 88 |
</div> <!-- /#footer -->
|
| 89 |
</div> <!-- /#btm -->
|
| 90 |
</div> <!-- /#page -->
|
| 91 |
</div> <!-- /#bg-btm -->
|
| 92 |
</div> <!-- /#bg-top -->
|
| 93 |
</div> <!-- /#bg-btm-repeat -->
|
| 94 |
</div> <!-- /#bg-top-repeat -->
|
| 95 |
</div> <!-- /#content-repeat -->
|
| 96 |
|
| 97 |
<?php print $closure; ?>
|
| 98 |
</body>
|
| 99 |
</html>
|