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

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

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


Revision 1.2 - (show annotations) (download) (as text)
Mon Feb 16 16:18:13 2009 UTC (9 months, 1 week ago) by njt1982
Branch: MAIN
CVS Tags: DRUPAL-7--1-3, HEAD
Branch point for: DRUPAL-7--1
Changes since 1.1: +72 -42 lines
File MIME type: text/x-php
Updating HEAD for 7.x compatibility
1 <?php // $Id: page.tpl.php,v 1.1.2.2.2.4 2009/02/16 09:58:48 njt1982 Exp $ ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
4 <head>
5 <title><?php print $head_title ?></title>
6 <?php print $head ?>
7 <?php print $styles ?>
8 <?php print $scripts ?>
9 </head>
10 <body<?php print phptemplate_body_class($left, $right); ?>>
11 <div id="header">
12 <div class="content">
13 <!-- Header -->
14 <div id="logo-floater">
15 <?php
16 // Prepare header
17 $site_fields = array();
18 if ($site_name) {
19 $site_fields[] = check_plain($site_name);
20 }
21 if ($site_slogan) {
22 $site_fields[] = check_plain($site_slogan);
23 }
24 $site_title = implode(' ', $site_fields);
25 $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
26 $site_html = implode(' ', $site_fields);
27
28 if ($logo || $site_title) {
29 print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
30 if ($logo) {
31 print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
32 }
33 print $site_html .'</a></h1>';
34 }
35 ?>
36 </div>
37
38 <?php if (isset($primary_links)) : ?>
39 <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
40 <?php endif; ?>
41 <?php if (isset($secondary_links)) : ?>
42 <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
43 <?php endif; ?>
44
45 <?php print $header ?>
46 </div>
47 <div class="r5"></div><div class="r4"></div><div class="r3"></div><div class="r2"></div><div class="r1 b"></div>
48 </div>
49
50 <div id="center" class="column">
51 <div class="r1 t"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div><div class="r5"></div>
52 <div class="content">
53 <!-- Main Content -->
54 <?php if ($breadcrumb): print $breadcrumb; endif; ?>
55 <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
56
57 <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
58 <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
59 <?php if ($tabs): print $tabs .'</div>'; endif; ?>
60
61 <?php if (isset($tabs2)): print $tabs2; endif; ?>
62
63 <?php if ($help): print $help; endif; ?>
64 <?php if ($messages): print $messages; endif; ?>
65 <?php print $content ?>
66 <div class="clear-block"></div>
67 <?php print $feed_icons ?>
68 </div>
69 <div class="r5"></div><div class="r4"></div><div class="r3"></div><div class="r2"></div><div class="r1 b"></div>
70 </div>
71
72 <?php if ($left) : ?>
73 <div id="left" class="column">
74 <!-- Left Sidebar -->
75 <?php print $left ?>
76 </div>
77 <?php endif; ?>
78
79 <?php if ($right): ?>
80 <div id="right" class="column">
81 <!-- Right Sidebar -->
82 <?php print $right ?>
83 </div>
84 <?php endif; ?>
85
86 <?php if ($footer || $footer_message): ?>
87 <div id="footer">
88 <div class="r1 t"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div><div class="r5"></div>
89 <div class="content clear-block">
90 <!-- Footer Contents -->
91 <?php print $footer . $footer_message ?>
92 </div>
93 </div>
94 <?php endif; ?>
95 <?php print $closure; ?>
96 </body>
97 </html>

  ViewVC Help
Powered by ViewVC 1.1.2