/[drupal]/contributions/themes/absynthe/ab_header.php
ViewVC logotype

Contents of /contributions/themes/absynthe/ab_header.php

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


Revision 1.1 - (show annotations) (download) (as text)
Mon Aug 31 15:53:44 2009 UTC (2 months, 3 weeks ago) by hoainam12k
Branch: MAIN
CVS Tags: DRUPAL-6--1-4, HEAD
File MIME type: text/x-php
no message
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->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
4 <head>
5 <title><?php print $head_title ?></title>
6 <?php print $head ?>
7 <?php print $styles ?>
8 <?php print $scripts ?>
9 <!--[if lte IE 6]>
10 <style type="text/css">
11 #sidebar {margin-left: 20px;}
12 .feed-icon, .numbercomments, .calendar {behavior: url(<?php print base_path() . path_to_theme() ?>/iepngfix.htc)}
13 .feed-icon {margin-top: 31px}
14 </style>
15 <![endif]-->
16 </head>
17 <body <?php if ($is_front) { ?>id="home"<?php } else { ?>id="interior"<?php } ?>>
18 <!-- Layout -->
19 <div id="container">
20 <?php print $feed_icons ?>
21 <div id="header" class="clearfix">
22 <?php
23 // Prepare header
24 $site_fields = array();
25 if ($site_name) {
26 $site_fields[] = check_plain($site_name);
27 }
28 if ($site_slogan) {
29 $site_fields[] = check_plain($site_slogan);
30 }
31 $site_title = implode(' ', $site_fields);
32 if ($site_fields) {
33 $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
34 }
35 $site_html = implode(' ', $site_fields);
36 ?>
37 <h1><a href="<?php print check_url($front_page);?>" title="<?php print $site_title;?>"><?php
38 print $site_name;
39 if ($site_slogan) { print ' <span>'.$site_slogan.'</span>';}
40 ?></a></h1>
41
42 <?php if (isset($primary_links)) : ?>
43 <?php print theme('links', $primary_links, array('id' => 'nav')) ?>
44 <?php endif; ?>
45 <?php if ($search_box): ?><div class="searchbox"><?php print $search_box ?></div><?php endif; ?>
46 </div>
47 <?php print $search['search_block_form'] ?>

  ViewVC Help
Powered by ViewVC 1.1.2