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

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

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


Revision 1.2 - (show annotations) (download) (as text)
Sat Sep 26 19:13:55 2009 UTC (2 months ago) by stevejb
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-ALPHA13, HEAD
Changes since 1.1: +2 -2 lines
File MIME type: text/x-php
Added support for the Admin module http://drupal.org/project/admin
1 <?php
2 // $Id: page.tpl.php,v 1.1 2009/01/27 11:51:28 stevejb Exp $
3 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>">
6 <head>
7 <title><?php print $head_title ?></title>
8 <?php print $head ?>
9 <?php print $styles ?>
10 <?php print $scripts ?>
11 <!--[if lte IE 7]><?php print phptemplate_get_ie_styles(); ?><![endif]--><!--If Less Than or Equal (lte) to IE 7-->
12 </head>
13 <body<?php print phptemplate_body_class($left, $right); ?>>
14 <?php if (!empty($admin)) print $admin; ?>
15 <!-- Layout -->
16 <div id="wrapper">
17 <div id="header">
18 <?php print $header; ?>
19
20 <?php if ($logo): ?>
21 <a href="<?php print check_url($front_page); ?>" title="<?php print check_plain($site_name); ?>">
22 <img src="<?php print check_url($logo); ?>" alt="<?php print check_plain($site_name); ?>" id="logo" />
23 </a>
24 <?php endif; ?>
25 <?php print '<h1><a href="'. check_url($front_page) .'" title="'. check_plain($site_name) .'">';
26 if ($site_name) {
27 print '<span id="sitename">'. check_plain($site_name) .'</span>';
28 }
29 if ($site_slogan) {
30 print '<span id="siteslogan">'. check_plain($site_slogan) .'</span>';
31 }
32 print '</a></h1>';
33 ?>
34
35 <?php if ($search_box): ?><?php print $search_box ?><?php endif; ?>
36 <div class="clear"></div>
37 </div> <!-- /#header -->
38
39 <div id="nav">
40
41 <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
42
43 <?php if (isset($secondary_links)) : ?>
44 <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
45 <?php endif; ?>
46 </div> <!-- /#nav -->
47
48 <div id="container">
49
50 <?php if ($left): ?>
51 <div id="sidebar-left" class="sidebar">
52 <?php print $left ?>
53 </div> <!-- /#sidebar-left -->
54 <?php endif; ?>
55
56 <div id="center">
57 <?php print $breadcrumb; ?>
58 <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
59 <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
60 <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
61 <?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
62 <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
63 <?php if ($show_messages && $messages): print $messages; endif; ?>
64 <?php print $help; ?>
65 <?php print $content ?>
66 </div> <!-- /#center -->
67
68 <?php if ($right): ?>
69 <div id="sidebar-right" class="sidebar">
70 <?php print $right ?>
71 </div> <!-- /#sidebar-right -->
72 <?php endif; ?>
73
74 <div id="footer" class="clear">
75 <?php print $footer_message . $footer ?>
76 <?php print $feed_icons ?>
77 </div> <!-- /#footer -->
78
79 </div> <!-- /#container -->
80 <span class="clear"></span>
81 </div> <!-- /#wrapper -->
82 <!-- /layout -->
83
84 <?php print $closure ?>
85
86 </body>
87 </html>

  ViewVC Help
Powered by ViewVC 1.1.2