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

Diff of /contributions/themes/k2/page.tpl.php

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

revision 1.5, Wed Jan 17 17:40:25 2007 UTC revision 1.6, Wed Jun 25 12:04:34 2008 UTC
# Line 1  Line 1 
1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">  <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language; ?>" xml:lang="<?php print $language->language; ?>">
3    
4  <head profile="http://gmpg.org/xfn/11">  <head profile="http://gmpg.org/xfn/11">
5          <title><?php print $head_title ?></title>          <title><?php print $head_title ?></title>
6          <?php print $head ?>          <?php print $head ?>
7      <?php print $styles ?>      <?php print $styles ?>
8      <?php print $scripts ?>      <?php print $scripts ?>
     <style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/print.css";</style>  
     <!--[if lt IE 7]>  
     <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style>  
     <![endif]-->  
9  </head>  </head>
10    
11  <body<?php print phptemplate_body_class($sidebar_right); ?>>  <body class="<?php print $body_classes; ?>">
12    <a class="skiplink" href="#startcontent" accesskey="2">Skip to content</a>
13  <div id="page">  <div id="page">
14    <div id="header">    <div id="header">
15      <?php          <?php if ($site_name): ?>
16        if ($site_name) {                  <h1 class="blog-title"><a href="<?php print $base_path; ?>" accesskey="1"><?php print $site_name; ?></a></h1>
17          print '<h1><a href="'. check_url($base_path) .'" title="'. $site_name .'">'. $site_name .'</a></h1>';          <?php endif; ?>
18        }          <?php if ($site_slogan): ?>
19        if ($site_slogan) {                  <p class="description"><?php print $site_slogan; ?></p>
20          print '<p class="description">'. $site_slogan .'</p>';          <?php endif; ?>
21        }      <?php if ($primary_links): ?>
     ?>  
     <?php if (isset($primary_links)) : ?>  
22        <?php print theme('links', $primary_links, array('class' => 'k2menu')) ?>        <?php print theme('links', $primary_links, array('class' => 'k2menu')) ?>
23      <?php endif; ?>      <?php endif; ?>
24    </div>    </div> <!-- #header -->
25    <hr />    <hr />
26    <div class="content">    <div class="content">
27      <div id="primary-wrapper">
28      <div id="primary">      <div id="primary">
29        <div id="current-content">          <?php if ($breadcrumb or $tabs or $help or $messages): ?>
30          <div id="primarycontent" class="hfeed">            <div id="notices">
31            <?php if ($breadcrumb): print '<div class="navigation">'. $breadcrumb .'<div class="clear"></div></div><hr />'; endif; ?>              <?php print $breadcrumb; ?>
32            <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>              <?php if ($title): ?>
33            <?php if ($title): print '<h2 class="entry-title'. ($tabs ? ' with-tabs' : '') .'">'. $title .'</h2>'; endif; ?>                <h1 class="title"><?php print $title; ?></h1>
34            <?php if ($tabs): print $tabs .'</div>'; endif; ?>              <?php endif; ?>
35            <?php if (isset($tabs2)): print $tabs2; endif; ?>              <?php if ($tabs): ?>
36            <?php if ($help): print $help; endif; ?>                <div class="tabs"><?php print $tabs; ?></div>
37            <?php if ($messages): print $messages; endif; ?>                            <?php if ($tabs2): print $tabs2; endif; ?>
38                <?php endif; ?>
39                            <?php print $messages; ?>
40                <?php print $help; ?>
41              </div> <!-- /#content-header -->
42            <?php endif; ?>
43                    <a name="startcontent" id="startcontent"></a>
44            <div id="rollingcontent" class="hfeed">
45            <?php print $content ?>            <?php print $content ?>
46          </div><!-- #primarycontent .hfeed -->          </div><!-- #rollingcontent .hfeed -->
       </div> <!-- #current-content -->  
47      </div> <!-- #primary -->      </div> <!-- #primary -->
48      <?php if ($sidebar_right): ?>    </div> <!-- #primary-wrapper -->
49        <hr />  
50        <div id="sidebar-right" class="k2-secondary">  
51          <?php if (!$sidebar_left && $search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>        <?php if ($right): ?>
52          <?php print $sidebar_right ?>          <div id="sidebar-1" class="secondary">
53        </div>            <?php print $right; ?>
54      <?php endif; ?>          </div> <!-- #sidebar-1 -->
55          <?php endif; ?>
56    
57          <?php if ($left): ?>
58            <div id="sidebar-2" class="secondary">
59              <?php print $left; ?>
60            </div> <!-- #sidebar-2 -->
61          <?php endif; ?>
62    
63    
64    
65      <div class="clear"></div>      <div class="clear"></div>
66    </div>    </div> <!-- .content -->
67    <div class="clear"></div>    <div class="clear"></div>
68  </div> <!-- Close Page -->  </div> <!-- Close Page -->
69  <hr />  <hr />
70  <p id="footer">  <div id="footer">
71    <small><?php if ($footer_message): print $footer_message .'<br />'; endif; ?>  
72      Test Site is powered by <a href="http://drupal.org/" title="Community Plumbling">Drupal</a> and <a href="http://getk2.com/" title="Loves you like a kitten.">K2<!--Beta Two 0.9.1--></a><br />          <p class="footerpoweredby">
73      <a href="http://localhost/wordpress/?feed=rss2">RSS Entries</a></small>                  Powered by <a href="http://drupal.org/" title="Community Plumbling">Drupal</a> and <a href="http://getk2.com/" title="Loves you like a kitten.">K2<span class="k2-version">1.0-RC6</span></a>   </p>
74  </p>  </div>
75    
76  <?php print $closure ?>  <?php print $closure ?>
77  </body>  </body>
78  </html>  </html>

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.2