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

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

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


Revision 1.6 - (show annotations) (download) (as text)
Fri Jun 15 17:50:24 2007 UTC (2 years, 5 months ago) by antinomia
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -0 lines
File MIME type: text/x-php
#149681 and 148087, add $scripts variable to page.tpl.php
1 <?php
2 // $Id$
3
4 $color = 'blue'; //set to blue, black, green, orange, purple, or red
5 global $base_url;
6
7 ?>
8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
9 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
10 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
11 <head>
12 <title><?php print $head_title ?></title>
13 <?php print $head ?>
14 <?php print $styles ?>
15 <?php print $scripts ?>
16 <style type="text/css" media="all">@import "<?php print $base_url . '/' . $directory . '/colorcss/' . $color ?>.css";</style>
17 <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
18 </head>
19
20 <body>
21 <div id="container">
22 <div id="sitename">
23 <?php if ($logo) { ?><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" id="logo" alt="<?php print t('Home') ?>" /></a><?php } ?>
24 <?php if ($site_name) { ?><h1><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
25 <?php if ($site_slogan) { ?><h2><?php print $site_slogan ?></h2><?php } ?>
26 </div>
27 <div id="mainmenu">
28 <?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' =>'primary_links')) ?><?php } ?>
29 </div>
30 <div id="wrap">
31 <div id="leftside">
32 <?php if ($sidebar_left) {
33 print $sidebar_left;
34 } ?>
35 </div>
36 <div id="rightside">
37 <?php if ($sidebar_right) {
38 print $sidebar_right;
39 } ?>
40 </div>
41 <?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><br /><?php } ?>
42 <div id="content">
43 <?php print $breadcrumb ?>
44 <?php if ($title) { ?><h1><?php print $title ?></h1><?php } ?>
45 <div class="tabs"><?php print $tabs ?></div>
46 <?php print $help ?>
47 <?php print $messages ?>
48 <?php print $content; ?>
49 </div>
50 <br class="clear" />
51 </div>
52 </div>
53 <div id="footer"><?php if (strlen($footer_message) > 2) { print $footer_message . ' | '; } ?>Design by <a href="http://andreasviklund.com">Andreas Viklund</a>
54 </div>
55 <?php print $closure ?>
56 </body>
57 </html>

  ViewVC Help
Powered by ViewVC 1.1.2