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

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

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


Revision 1.5 - (show annotations) (download) (as text)
Wed Aug 20 20:12:44 2008 UTC (15 months ago) by manuelcillero
Branch: MAIN
CVS Tags: DRUPAL-5--1-0, HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
Changes since 1.4: +9 -4 lines
File MIME type: text/x-php
Shows an empty navy bar if there are no items in primary menu.
1 <?php /* $Id: page.tpl.php,v 1.4 2007/12/15 10:55:17 manuelcillero Exp $
2 CristalX4Drupal Theme
3 */
4 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
7
8 <head>
9
10 <base href="<?php print $GLOBALS['base_url']; ?>/" />
11
12 <title><?php print $head_title ?></title>
13
14 <?php print $head ?>
15
16 <?php print $styles ?>
17
18 <?php print $scripts ?>
19
20 <style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/print.css";</style>
21
22 <!--[if lt IE 7]>
23 <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style>
24 <![endif]-->
25
26 </head>
27
28 <body class="sidebar-right">
29
30 <div id="jump-content">
31 <a href="#center" title="<?php print t('skip directly to the content') ?>" accesskey="2"><?php print t('skip to content') ?></a>
32 </div>
33
34 <div id="wrapper">
35 <div id="container" class="clear-block">
36
37 <div id="header">
38
39 <div id="logo-floater">
40 <?php
41 // Prepare header
42 if ($site_name)
43 $site_name_title = check_plain($site_name);
44 if ($site_slogan)
45 $site_slogan_title = check_plain($site_slogan);
46
47 $site_title = $site_name_title ? $site_name_title : ($site_slogan_title ? $site_slogan_title : null);
48
49 if ($logo)
50 print '<a href="'. check_url($base_path) .'" title="'. $site_title .'" class="site-logo"><img src="'. check_url($logo) .'" alt="'. $site_title .'" /></a>';
51
52 if ($site_title) {
53 print '<a href="'. check_url($base_path) .'" title="'. $site_title .'" class="site-title"><h1>';
54 if ($site_name_title)
55 print '<span class="site-name">'. $site_name_title .'</span>'. ($site_slogan_title ? ' ' : '');
56 if ($site_slogan_title)
57 print '<span class="site-slogan">'. $site_slogan_title .'</span>';
58 print '</h1></a>';
59 }
60 ?>
61
62 </div>
63
64 <?php
65 if (!isset($primary_links)) {
66 $primary_links = array();
67 $primary_links['none'] = array('title' => '');
68 }
69 print theme('links', $primary_links, array('class' => 'links primary-links'));
70 ?>
71
72
73 <?php if ($search_box): ?>
74 <div id="search-floater" class="noprint">
75 <?php print $search_box ?>
76 </div>
77 <?php endif; ?>
78
79 </div>
80
81 <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner"><div class="inner">
82
83 <?php if ($breadcrumb): print $breadcrumb; endif; ?>
84 <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
85
86 <div id="header-region">
87 <?php print $header; ?>
88
89 </div>
90
91 <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
92
93 <?php if ($title): print '<h2 class="main-title'. ($tabs ? ' with-tabs' : '') .'">'. $title .'</h2>'; endif; ?>
94
95 <?php if ($tabs): print $tabs; endif; ?>
96
97 <?php if (isset($tabs2)): print $tabs2; endif; ?>
98
99
100 <div class="inner-content">
101 <?php if ($help): print $help; endif; ?>
102 <?php if ($messages): print $messages; endif; ?>
103 <?php print $content ?>
104
105 </div>
106 <?php if ($tabs): print '</div>'; endif; ?>
107
108 <span class="clear"></span>
109
110 <?php print $feed_icons ?>
111
112 </div></div></div></div></div>
113
114 <div id="sidebar-right" class="sidebar">
115 <?php if ($sidebar_right): print $sidebar_right; endif; ?>
116 <?php if ($sidebar_left): print $sidebar_left; endif; ?>
117 </div>
118
119 <div id="footer">
120 <?php print $footer_message ?>
121 </div>
122
123 </div>
124 </div>
125
126 <div id="powered" class="noprint">
127 <?php print t('Powered by !Drupal. !CristalX theme created by !author.', array('!Drupal' => l('Drupal', 'http://drupal.org', array('title' => 'Drupal :: Community Plumbing')), '!CristalX' => l('CrystalX', 'http://www.oswd.org/design/preview/id/3465', array('title' => 'Open Source Web Design :: CrystalX')), '!author' => l('Nuvio | Webdesign', 'http://www.nuvio.cz', array('title' => 'vit.dlouhy')))); ?>
128 </div>
129
130 <?php print $closure ?>
131
132 </body>
133
134 </html>
135

  ViewVC Help
Powered by ViewVC 1.1.2