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

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

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


Revision 1.4 - (show annotations) (download) (as text)
Tue Jun 3 19:18:52 2008 UTC (17 months, 3 weeks ago) by nickbits
Branch: MAIN
CVS Tags: DRUPAL-5--1-7, HEAD
Branch point for: DRUPAL-5
Changes since 1.3: +72 -88 lines
File MIME type: text/x-php
IE 6 Fix
1 <?php
2 echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
3 ?>
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml">
6 <head>
7 <title><?php print $head_title ?></title>
8 <?php print $head ?>
9 <?php print $styles ?>
10 <?php print $scripts ?>
11 <!--[if IE]>
12 <style type="text/css">
13 /* place css fixes for all versions of IE in this conditional comment */
14 .page #sidebar1, .page #sidebar2 { padding-top: 30px; }
15 .page #mainContent { zoom: 1; padding-top: 15px; }
16 /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
17 </style>
18 <![endif]-->
19 </head>
20 <body>
21 <div id="pagecontainer">
22 <!-- Top Tabs -->
23 <div id="toptabs">
24 <p>Site Network: </p>
25 <?php print phptemplate_andreas02_primarylinks($primary_links); ?>
26 </div>
27 <!-- end #toptabs -->
28
29 <!-- start #container -->
30 <div id="container">
31 <!-- start #logo -->
32 <div id="logo">
33 <?php if ($logo) { ?><a href="<?php print check_url($base_path); ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
34 <h1><a href="<?php print check_url($base_path); ?>"><?php print check_plain($site_name); ?></a></h1>
35 <?php if ($site_slogan) { ?><h2><?php print $site_slogan ?></h2><?php } ?>
36 </div>
37 <!-- end #logo -->
38 <!-- start #navitabs -->
39 <div id="navitabs">
40 <?php print phptemplate_andreas02_primarylinks(menu_primary_links(2)); ?>
41 </div>
42 <!-- end #navitabs -->
43 <!-- start #desc -->
44 <div id="desc">
45
46 <?php
47 if ($main_block != ""):
48 print $main_block;
49 endif;
50 ?>
51
52 </div>
53 <!-- end #desc -->
54 <!-- start #main -->
55 <div id="main">
56 <?php if ($mission != ""): ?>
57 <div id="mission"><?php print $mission ?></div>
58 <?php endif; ?>
59 <?php print $header; ?>
60 <?php if ($title != ""): ?>
61 <h2><?php print $title ?></h2>
62 <?php endif; ?>
63 <?php if ($breadcrumb) { ?><div class="breadcrumb"><?php print $breadcrumb ?></div><?php } ?>
64 <?php if ($tabs != ""): ?>
65 <?php print $tabs ?>
66 <?php endif; ?>
67 <?php if ($help != ""): ?>
68 <p id="help"><?php print $help ?></p>
69 <?php endif; ?>
70 <?php if ($messages != ""): ?>
71 <?php print $messages ?>
72 <?php endif; ?>
73 <?php print($content) ?>
74 </div>
75 <!-- end #main -->
76
77 <!-- start #sidebar -->
78 <div id="sidebar">
79 <?php if ($sidebar): ?>
80 <?php print $sidebar; ?>
81 <?php endif; ?>
82 </div>
83 <!-- end #sidebar -->
84
85 <!-- start #footer -->
86 <div id="footer">
87 <p><?php print $footer_message ?>&middot; Drupal port by <a href="http://www.nickbits.co.uk">Nick Young</a> &middot; Design by <a href="http://andreasviklund.com/">Andreas Viklund</a></p>
88 </div>
89 <!-- end #footer -->
90 </div>
91 <!-- end #container -->
92 </div>
93 <?php
94 print $closure
95 ?>
96 </body>
97 </html>

  ViewVC Help
Powered by ViewVC 1.1.2