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

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

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


Revision 1.1 - (show annotations) (download) (as text)
Wed Mar 18 09:32:52 2009 UTC (8 months, 1 week ago) by hoainam12k
Branch: MAIN
CVS Tags: DRUPAL-6--1-2, HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
For Drupal 6.0
1 <?php
2 // $Id: page.tpl.php,v 1.18 2008/01/24 09:42:53 goba 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 ?>" dir="<?php print $language->dir ?>">
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 6]>
12 <style type="text/css">
13 #sidebar {margin-left: 20px;}
14 .feed-icon, .numbercomments, .calendar {behavior: url(<?php print base_path() . path_to_theme() ?>/iepngfix.htc)}
15 .feed-icon {margin-top: 31px}
16 </style>
17 <![endif]-->
18 <!--[if lt IE 8]>
19 <?php print phptemplate_get_ie_styles(); ?>
20 <![endif]-->
21 </head>
22 <body <?php if ($is_front) { ?>id="home"<?php } else { ?>id="interior"<?php } ?>>
23 <!-- Layout -->
24 <div id="container">
25 <?php print $feed_icons ?>
26 <div id="header" class="clearfix">
27 <?php
28 // Prepare header
29 $site_fields = array();
30 if ($site_name) {
31 $site_fields[] = check_plain($site_name);
32 }
33 if ($site_slogan) {
34 $site_fields[] = check_plain($site_slogan);
35 }
36 $site_title = implode(' ', $site_fields);
37 if ($site_fields) {
38 $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
39 }
40 $site_html = implode(' ', $site_fields);
41
42 if ($logo || $site_title) {
43 print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
44 print $site_title .'</a> <span>'.$site_slogan.'</span></h1>';
45 }
46 ?>
47
48 <?php if (isset($primary_links)) : ?>
49 <?php print theme('links', $primary_links, array('id' => 'nav')) ?>
50 <?php endif; ?>
51 <?php if ($search_box): ?><div class="searchbox"><?php print $search_box ?></div><?php endif; ?>
52 </div>
53 <?php print $search['search_block_form'] ?>
54 <div id="main" class="clearfix">
55 <div id="content">
56 <div class="inner">
57 <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
58 <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
59 <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
60 <?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
61 <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
62 <?php if ($show_messages && $messages): print $messages; endif; ?>
63 <?php print $content ?>
64 </div>
65 </div>
66 <div id="sidebar">
67 <?php print $right ?>
68 </div>
69 </div>
70 </div>
71 <div id="footer">
72 <div class="inner">
73 <div class="lastfm">
74 <?php if ($footer_left) {print $footer_left;} ?>
75 </div>
76 <div class="recentcomments">
77 <?php if ($footer_right) {print $footer_right;} ?>
78 </div>
79 <div class="credits">
80 <p>This theme was designed by <a href="http://www.chris-wallace.com">Chris Wallace</a>. Check out his cool <a href="http://www.chris-wallace.com/category/wordpress-themes/">WordPress Themes</a>.</p>
81 </div>
82 </div>
83 </div>
84
85
86
87 <?php print $closure ?>
88 </body>
89 </html>

  ViewVC Help
Powered by ViewVC 1.1.2