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

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

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


Revision 1.2 - (show annotations) (download) (as text)
Thu Sep 24 10:44:30 2009 UTC (2 months ago) by neerjasoftwares
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +47 -56 lines
File MIME type: text/x-php
Updated on 09242009
1 <?php
2 // $Id: page.tpl.php,v 1.1 2008/12/01 10:46:53 neerjasoftwares Exp $
3 ?>
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
5 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
7 <head>
8 <title><?php print $head_title ?></title>
9 <?php print $head ?><?php print $styles ?><?php print $scripts ?>
10 <!--[if lt IE 7]>
11 <?php print phptemplate_get_ie_styles(); ?>
12 <![endif]-->
13 </head>
14 <body<?php print phptemplate_body_class($left, $right); ?>>
15 <div id="main_header">
16 <div id="header"> <?php print $toplinks ?> <?php print $topright ?>
17 <?php
18 // Prepare header
19 $site_fields = array();
20 if ($site_name) {
21 $site_fields[] = check_plain($site_name);
22 }
23 if ($site_slogan) {
24 $site_fields[] = check_plain($site_slogan);
25 }
26 $site_title = implode(' ', $site_fields);
27 if ($site_fields) {
28 $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
29 }
30 $site_html = implode(' ', $site_fields);
31
32 if ($logo || $site_title) {
33 print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
34 if ($logo) {
35 print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
36 }
37 print $site_html .'</a></h1>';
38 }
39 ?>
40 <?php print $header ?>
41 <?php if (isset($primary_links)) : ?>
42 <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
43 <?php endif; ?>
44 </div>
45 </div>
46 <div id="main_body">
47 <div id="body">
48 <div class="contentcontainer">
49 <div id="leftsidebar"> <?php print $left ?> </div>
50 <!--leftsidebar end -->
51 <div class="maincontent"><?php print $breadcrumb; ?>
52 <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
53 <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
54 <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
55 <?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
56 <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
57 <?php if ($show_messages && $messages): print $messages; endif; ?>
58 <?php print $help; ?> <?php print $content ?>
59 </div>
60 <!--maincontent end -->
61 <div id="rightsidebar"> <?php print $right ?> </div>
62 <!--rightsidebar end -->
63 </div>
64 <div id="contentbottom"> <?php print $contentbottom ?> </div>
65 <!--contentbottom end-->
66 </div>
67 </div>
68 <div id="main_footer">
69 <div id="footer">
70 <!--footer navigation start -->
71 <?php if (isset($primary_links)) : ?>
72 <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
73 <?php endif; ?>
74 <?php print $footer; ?>
75 <p><?php print $footer_message ?></p>
76 </div>
77 <!--footer navigation end -->
78 </div>
79 <?php print $closure ?>
80 </body>
81 </html>

  ViewVC Help
Powered by ViewVC 1.1.2