/[drupal]/contributions/themes/igniter/page.tpl.php
ViewVC logotype

Contents of /contributions/themes/igniter/page.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Mon Dec 17 23:41:13 2007 UTC (23 months, 1 week ago) by gagarine
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-php
Initial commit of igniter theme. This is a starting theme like zen or base but with a different target.
Igniter are minimal CSS and XHTML for poeple whe would like a "clean" theme.
For keep CSS file smal and reanding fast, comment are not present to big.
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 ?>" lang="<?php print $language ?>">
3 <head>
4 <title><?php print $head_title ?></title>
5 <?php print $head ?>
6 <?php print $styles ?>
7 <?php print $scripts ?>
8 </head>
9
10 <body class="page<?php print $is_front ? ' front_page' : ''; ?>">
11 <div id="container">
12 <div id="header">
13 <?php print $pre_header; //REGION ?>
14 <?php if ($logo): ?>
15 <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>
16 <?php endif; ?>
17 <?php if ($site_name): ?>
18 <?php //use h1 for site name juste on front page
19 $tag = $is_front ? 'h1' : 'div'; ?>
20 <?php print '<' . $tag; ?> id='site_name'>
21 <strong><a href="<?php print check_url($base_path); ?>"><?php print check_plain($site_name); ?></a></strong>
22 <?php print '</' . $tag . '>'; ?>
23 <?php endif; ?>
24 <?php if ($site_slogan): ?>
25 <p id='site-slogan'><?php print $site_slogan; ?></p>
26 <?php endif; ?>
27 <?php print $header; //REGION ?>
28 </div><!-- end #header -->
29
30 <?php if($primary_links || $secondary_links || $navbar || $search_box){ ?>
31 <div id='navigation'>
32 <?php print $breadcrumb; ?>
33 <?php if ($search_box): ?>
34 <div id="search-box">
35 <?php print $search_box; ?>
36 </div> <!-- /#search-box -->
37 <?php endif; ?>
38
39 <?php if ($primary_links): ?>
40 <div id="primary">
41 <?php print theme('links', $primary_links); ?>
42 </div> <!-- /#primary -->
43 <?php endif; ?>
44
45 <?php if ($secondary_links): ?>
46 <div id="secondary">
47 <?php print theme('links', $secondary_links); ?>
48 </div> <!-- /#secondary -->
49 <?php endif; ?>
50 <?php print $navbar; //REGION ?>
51
52 </div>
53 <?php } ?>
54
55 <?php if ($sidebar_left): ?>
56 <div id="sidebar_left">
57 <?php print $sidebar_left ?>
58 </div><!-- end #sidebar1 -->
59 <?php endif; ?>
60
61 <?php if ($sidebar_right): ?>
62 <div id="sidebar_right">
63 <?php print $sidebar_right ?>
64 </div><!-- end #sidebar2 -->
65 <?php endif; ?>
66
67 <div id="main_content">
68
69 <?php if ($mission != ""): ?>
70 <?php print $mission ?>
71 <?php endif; ?>
72
73 <?php if ($content_top): ?>
74 <div id="content-top">
75 <?php print $content_top; //REGION ?>
76 </div> <!-- /#content-top -->
77 <?php endif; ?>
78
79 <?php if ($title or $tabs or $help or $messages): ?>
80 <div id="content-header">
81 <?php if ($title): ?>
82 <h1 class="title"><?php print $title; ?></h1>
83 <?php endif; ?>
84 <?php print $messages; ?>
85 <?php if ($tabs): ?>
86 <div class="tabs"><?php print $tabs; ?></div>
87 <?php endif; ?>
88 <?php print $help; ?>
89 </div> <!-- /#content-header -->
90 <?php endif; ?>
91
92 <!-- content -->
93 <?php print($content) ?>
94 <!-- end content -->
95
96 <?php if ($content_bottom): ?>
97 <div id="content-bottom">
98 <?php print $content_bottom; //REGION ?>
99 </div> <!-- /#content-bottom -->
100 <?php endif; ?>
101
102 </div><!-- end #mainContent -->
103 <div class="clearfloat"><hr /></div>
104 <div id="footer">
105 <p><?php print $footer_message //REGION ?></p>
106 </div><!-- end #footer -->
107 <?php if ($closure_region): ?>
108 <div id="closure-blocks"><?php print $closure_region; ?></div>
109 <?php endif; ?>
110 <?php print $closure; //REGION ?>
111 </div><!-- end #container -->
112 </body>
113 </html>

  ViewVC Help
Powered by ViewVC 1.1.2