1 <!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 ?>" lang
="<?php print $language ?>">
5 <title
><?php
print $head_title ?
></title
>
8 <?php
print $scripts ?
>
9 <style type
="text/css" media
="print">@import
"<?php print base_path() . path_to_theme() ?>/print.css";</style
>
11 <style type
="text/css" media
="all">@import
"<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style
>
14 <body
<?php
print phptemplate_body_class($sidebar_left, $sidebar_right); ?
>>
17 <div id
="header-region" class="clear-block"><?php
print $header; ?
></div
>
20 <div id
="container" class="clear-block">
23 <div id
="logo-floater">
26 $site_fields = array();
28 $site_fields[] = check_plain($site_name);
31 $site_fields[] = check_plain($site_slogan);
33 $site_title = implode(' ', $site_fields);
34 $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
35 $site_html = implode(' ', $site_fields);
37 if ($logo ||
$site_title) {
38 print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
40 print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
42 print $site_html .'</a></h1>';
47 <?php
if (isset($primary_links)) : ?
>
48 <?php
print theme('links', $primary_links, array('class' => 'links primary-links')) ?
>
50 <?php
if (isset($secondary_links)) : ?
>
51 <?php
print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?
>
54 </div
> <!-- /header
-->
56 <?php
if ($sidebar_left): ?
>
57 <div id
="sidebar-left" class="sidebar">
58 <?php
if ($search_box): ?
><div
class="block block-theme"><?php
print $search_box ?
></div
><?php
endif; ?
>
59 <?php
print $sidebar_left ?
>
63 <div id
="center"><div id
="squeeze"><div
class="right-corner"><div
class="left-corner">
64 <?php
if ($breadcrumb): print $breadcrumb; endif; ?
>
65 <?php
if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?
>
67 <?php
if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?
>
68 <?php
if ($title): print '<h2'. ($tabs ?
' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?
>
69 <?php
if ($tabs): print $tabs .'</div>'; endif; ?
>
71 <?php
if (isset($tabs2)): print $tabs2; endif; ?
>
73 <?php
if ($help): print $help; endif; ?
>
74 <?php
if ($messages): print $messages; endif; ?
>
75 <?php
print $content ?
>
76 <span
class="clear"></span
>
77 <?php
print $feed_icons ?
>
78 <div id
="footer"><?php
print $footer_message ?
></div
>
79 </div
></div
></div
></div
> <!-- /.left
-corner
, /.right
-corner
, /#squeeze, /#center -->
81 <?php
if ($sidebar_right): ?
>
82 <div id
="sidebar-right" class="sidebar">
83 <?php
if (!$sidebar_left && $search_box): ?
><div
class="block block-theme"><?php
print $search_box ?
></div
><?php
endif; ?
>
84 <?php
print $sidebar_right ?
>
88 </div
> <!-- /container
-->
92 <?php
print $closure ?
>