Commits

Nick Freear committed b89cdca

Main commit of framework5.

Comments (0)

Files changed (10)

-$Id: README.txt,v 1.4 2009/07/13 23:52:58 andregriffin Exp $
-
-Drupal 6 Framework theme
-Created by Andre Griffin > user andregriffin
-
-
-Framework is a blank canvas for theme developers. Use Framework as a user friendly starting point to help facilitate your theme development.
-
-Features
-
-		* Framework gives general placement and formatting to basic Drupal elements
-		* Supports one, two, and three-column layouts
-		* Set to a 24 column grid of 950px
-		* CSS file is highly organized, including a table of contents, section flags, alphabetical properties, etc.
-		* Includes a CSS reset and a list of CSS utility classes for easy content formatting
-		* Em unit text sizing with vertical rhythm
-		* Search in sidebar (as a block) and header (as a theme configuration option)
-		* Included support for Dynamic Persistent Menu
-		* Quick block and view editing links
-		* Clean and simplified code, file structure, and administration section
-		* Works nicely in mobile browsers
-		* W3C valid CSS 2.1 / XHTML 1.1
-		* Verified and tested with Firefox 3, Firefox 2, IE7, IE6, Safari 4, Chrome
-
-
-Framework is not intended to be everything to everyone. It is built with simplicity and ease of modification in mind.
-
-Although it is not necessarily intended, Framework can be used as is if you so choose.
-
-Framework is actively developed and supported on my own time. If you would like to say thanks, please consider donating via:
-https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=1532730
-
-Development sites:
-http://d6.andregriffin.com
-http://d5.andregriffin.com
-
--------------------------------
->>> INSTALL to sites/all/themes
-
-
->>> CONFIGURATION NOTES:
-
-To add regions, see: http://drupal.org/node/242107#comment-798428
-
-To enable current node to show in the breadcrumb trail, remove comment slashes on line 41 of template.php
-
-To add IE6 stylesheet, create a file in theme directory called fix-ie6.css.
-Place this under IE7 stylesheet in page.tpl: <!--[if lt IE 7]><?php print phptemplate_get_ie6_styles(); ?><![endif]--><!--If Less Than (lt) IE 7-->
-
-
->>> SUPPORT
-
-If you have questions or problems, check the issue list before submitting a new issue: 
-http://drupal.org/project/issues/framework
-
-For general support, please refer to:
-http://drupal.org/support
-
-To contact me directly, please visit: 
+$Id: README.txt,v 1.1.6.2 2008/11/28 06:14:30 andregriffin Exp $
+
+Drupal 6 Framework theme
+Created by Andre Griffin > user andregriffin
+Modified by Nick Freear  > user nfreear
+
+
+Framework5 is a rework of Framework using HTML 5 [http://whatwg.org/html5] and WAI-ARIA landmark roles [http://w3.org/TR/wai-aria/#landmark].
+It is a blank canvas for theme developers. Use Framework as a user friendly starting point to help facilitate your theme development.
+
+Features
+
+    * Framework gives general placement and formatting to basic Drupal elements
+    * Fixed width of 960px by default
+    * Supports one, two, and three-column layouts
+    * CSS file is highly organized, including a table of contents, color codes, section flags, alphabetical properties, etc.
+    * Includes a list of CSS utility classes for easy content formatting
+    * Complete em unit text sizing
+    * Search in sidebar (as a block) and header (as a theme configuration option)
+    * Clean and simplified code and file structure
+    * The administration section is adapted from the default Garland theme
+    * Works nicely in mobile browsers
+    * W3C valid CSS 2.1 / HTML 5 (* XHTML 1.0 Strict)
+    * Verified and tested with Firefox 3.0.10, Safari 4.0 (* Firefox 3, Firefox 2, IE7, IE6, Safari 3, Chrome)
+
+Framework is not intended to be everything to everyone. It is built with simplicity and ease of modification in mind.
+
+Although it is not necessarily intended, Framework can be used as is if you so choose.
+
+Development sites:
+http://d6.andregriffin.com
+http://d5.andregriffin.com
+
+-------------------------------
+>>> INSTALL to sites/all/themes
+
+
+>>> CONFIGURATION NOTES:
+
+To enable legacy list/menu support, see line 552 of style.css
+
+To add regions, see: http://drupal.org/node/242107#comment-798428
+
+To enable current node to show in the breadcrumb trail, remove comment slashes on line 37 of template.php
+
+To add IE6 stylesheet, create a file in theme directory called fix-ie6.css.
+Place this under IE7 stylesheet in page.tpl: <!--[if lt IE 7]><?php print phptemplate_get_ie6_styles(); ?><![endif]--><!--If Less Than (lt) IE 7-->
+
+
+>>> SUPPORT
+
+If you have questions or problems, check the issue list before submitting a new issue: 
+http://drupal.org/project/issues/framework
+
+For general support, please refer to:
+http://drupal.org/support
+
+To contact me directly, please visit: 
 http://drupal.org/user/78099/contact
-<?php
-// $Id: block.tpl.php,v 1.4 2009/07/13 23:52:58 andregriffin Exp $
-?>
-<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?>">
-
-  <?php if (!empty($block->subject)): ?>
-    <h3><?php print $block->subject ?></h3>
-  <?php endif;?>
-
-  <div class="content">
-    <?php print $edit_links; ?>
-    <?php print $block->content ?>
-  </div>
-
-</div>
+<?php
+// $Id: block.tpl.php,v 1.1.6.2 2008/11/28 06:14:30 andregriffin Exp $
+
+#@todo: HTML5.
+$block_el = 'aside';
+if ('footer'==$block->region OR 'header'==$block->region) { #left,right,header,footer,content?
+  $block_el = 'div';
+}
+
+/*<!--
+<?php var_dump($block->region) ?>
+-->
+
+$block_start = $block_end = 'aside';
+$block_start .= ' role="note"';
+if ('user'==$block->module) {
+  $block_start = $block_end = 'div';
+}*/
+$block->content = preg_replace('/class="menu"/', 'role="navigation" class="menu"', $block->content, $limit=1);
+
+?>
+<<?php print $block_el ?> id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?>">
+
+  <?php if (!empty($block->subject)): ?>
+    <h3><?php print $block->subject ?></h3>
+  <?php endif;?>
+
+  <div class="content">
+    <?php print $block->content ?>
+  </div>
+
+</<?php print $block_el ?>>
-<?php
-// $Id: comment.tpl.php,v 1.4 2009/07/13 23:52:58 andregriffin Exp $
-?>
-<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">
-
-  <div class="comment-bar">
-    <?php if ($submitted): ?>
-      <span class="submitted"><?php print $submitted; ?></span>
-    <?php endif; ?>
-
-    <?php if ($comment->new) : ?>
-      <span class="new"><?php print drupal_ucfirst($new) ?></span>
-    <?php endif; ?>
-  </div>
-
-  <?php print $picture ?>
-
-  <h3 class="comment-title"><?php print $title ?></h3> <!--redundant comment titles hidden by css-->
-
-  <div class="content">
-    <?php print $content ?>
-    <?php if ($signature): ?>
-      <div>—</div>
-      <?php print $signature ?>
-    <?php endif; ?>
-  </div>
-
-  <?php if ($links): ?>
-    <div class="links">
-      <?php print $links ?>
-    </div>
-  <?php endif; ?>
-
-</div>
+<?php
+// $Id: comment.tpl.php,v 1.1.6.2 2008/11/28 06:14:30 andregriffin Exp $
+?>
+<article class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">
+
+  <div class="comment-bar">
+    <?php if ($submitted): ?>
+      <span class="submitted"><?php print $submitted; ?></span>
+    <?php endif; ?>
+
+    <?php if ($comment->new) : ?>
+      <span class="new"><?php print drupal_ucfirst($new) ?></span>
+    <?php endif; ?>
+  </div>
+
+  <?php print $picture ?>
+
+  <h3><?php print $title ?></h3>
+  
+  <div class="content">
+    <?php print $content ?>
+    <?php if ($signature): ?>
+      <div>—</div>
+      <?php print $signature ?>
+    <?php endif; ?>
+  </div>
+
+  <?php if ($links): ?>
+    <div class="links">
+      <?php print $links ?>
+    </div>
+  <?php endif; ?>
+
+</article>
-; $Id: framework.info,v 1.4 2009/07/13 23:52:58 andregriffin Exp $
-
-name = Framework
-description = Framework is a blank canvas for theme developers. Use Framework as a starting point to help facilitate your theme development.
-version = VERSION
-core = 6.x
-engine = phptemplate
-stylesheets[all][] = style.css
-stylesheets[print][] = print.css
-
-regions[left] = Left sidebar
-regions[right] = Right sidebar
-regions[content] = Content
-regions[header] = Header
-regions[nav] = Navigation
-regions[footer] = Footer
-
-
-
-; Information added by drupal.org packaging script on 2009-07-14
-version = "6.x-2.6"
-core = "6.x"
-project = "framework"
-datestamp = "1247529671"
-
+; $Id: framework.info,v 1.1.4.2 2008/11/28 06:14:30 andregriffin Exp $
+
+name = Framework5
+description =  Reworked using HTML5 + WAI-ARIA. Framework is a blank canvas for theme developers. Use Framework as a starting point to help facilitate your theme development.
+version = VERSION
+core = 6.x
+engine = phptemplate
+stylesheets[all][] = style.css
+stylesheets[print][] = print.css
+
+stylesheets[all][] = fonts.css

maintenance-page.tpl.php

-<?php
-// $Id: maintenance-page.tpl.php,v 1.4 2009/07/13 23:52:58 andregriffin Exp $
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
-  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" >
-  <head>
-    <title><?php print $head_title ?></title>
-    <?php print $head ?>
-    <?php print $styles ?>
-    <?php print $scripts ?>
-    <!--[if lte IE 7]><?php print framework_get_ie_styles(); ?><![endif]--> <!--If Less Than or Equal (lte) to IE 7-->
-  </head>
-  <body<?php print framework_body_class($left, $right); ?>>
-    <!-- Layout -->
-    <div class="container"> <!-- add "showgrid" class to display grid -->
-  
-      <div id="header" class="clearfix">
-        <?php print $header; ?>
-
-        <?php if ($logo): ?>
-          <a href="<?php print check_url($front_page); ?>" title="<?php print check_plain($site_name); ?>">
-            <img src="<?php print check_url($logo); ?>" alt="<?php print check_plain($site_name); ?>" id="logo" />
-          </a>
-        <?php endif; ?>
-
-        <div id="sitename">
-					<?php if ($site_name): ?>
-            <h1><a href="<?php print check_url($front_page); ?>" title="<?php print check_plain($site_name); ?>"><?php print check_plain($site_name); ?></a></h1>
-          <?php endif; ?>
-  
-          <?php if ($site_slogan): ?>
-            <span id="siteslogan"><?php print check_plain($site_slogan); ?></span>
-          <?php endif; ?>
-        </div> <!-- /#sitename -->
-      
-        <?php if ($search_box): ?><?php print $search_box ?><?php endif; ?>
-      </div> <!-- /#header -->
-
-      <div id="nav">
-        <?php if ($nav): ?>
-          <?php print $nav ?>
-        <?php endif; ?>
-
-        <?php if (!$nav): ?> <!-- if block in $nav, overrides default $primary and $secondary links -->
-
-          <?php if (isset($primary_links)) : ?>
-            <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
-          <?php endif; ?>
-          <?php if (isset($secondary_links)) : ?>
-            <div id="secondary-links"><?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?></div>
-          <?php endif; ?>
-
-        <?php endif; ?>
-      </div> <!-- /#nav -->
-
-			<?php if ($left): ?>
-        <div id="sidebar-left" class="sidebar">
-          <?php print $left ?>
-        </div> <!-- /#sidebar-left -->
-      <?php endif; ?>
-
-      <div id="main">
-				<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
-        <?php print $help; ?>
-        <?php print $messages; ?>
-        <?php print $content ?>
-      </div> <!-- /#main -->
-  
-      <?php if ($right): ?>
-        <div id="sidebar-right" class="sidebar">
-          <?php print $right ?>
-        </div> <!-- /#sidebar-right -->
-      <?php endif; ?>
-
-      <div id="footer" class="clear">
-        <?php print $footer_message . $footer ?>
-        <?php print $feed_icons ?>
-      </div> <!-- /#footer -->
-
-    </div> <!-- /.container -->
-    <!-- /layout -->
-
-  <?php print $closure ?>
-
-  </body>
-</html>
+<?php
+// $Id: maintenance-page.tpl.php,v 1.1.4.2 2008/11/28 06:14:30 andregriffin Exp $
+?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>">
+  <head>
+    <title><?php print $head_title ?></title>
+    <?php print $head ?>
+    <?php print $styles ?>
+    <?php print $scripts ?>
+    <!--[if lte IE 7]><?php print phptemplate_get_ie_styles(); ?><![endif]--><!--If Less Than or Equal (lte) to IE 7-->
+  </head>
+  <body<?php print phptemplate_body_class($left, $right); ?>>
+
+<!-- Layout -->
+    <div id="wrapper">
+      <div id="header">
+        <?php print $header; ?>
+        
+        <?php if ($logo): ?>
+          <a href="<?php print check_url($front_page); ?>" title="<?php print check_plain($site_name); ?>">
+            <img src="<?php print check_url($logo); ?>" alt="<?php print check_plain($site_name); ?>" id="logo" />
+          </a>
+        <?php endif; ?>
+        <?php print '<h1><a href="'. check_url($front_page) .'" title="'. check_plain($site_name) .'">';
+          if ($site_name) {
+            print '<span id="sitename">'. check_plain($site_name) .'</span>';
+          }
+          if ($site_slogan) {
+            print '<span id="siteslogan">'. check_plain($site_slogan) .'</span>';
+          }
+          print '</a></h1>';
+        ?>
+
+        <div class="clear"></div>
+      </div> <!-- /#header -->
+
+      <div id="nav">
+        <?php if (isset($primary_links)) : ?>
+          <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
+        <?php endif; ?>
+        <?php if (isset($secondary_links)) : ?>
+          <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
+        <?php endif; ?>
+      </div> <!-- /#nav -->
+
+      <div id="container">
+
+        <?php if ($left): ?>
+          <div id="sidebar-left" class="sidebar">
+            <?php print $left ?>
+          </div> <!-- /#sidebar-left -->
+        <?php endif; ?>
+
+        <div id="center">
+          <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
+          <?php print $help; ?>
+          <?php print $messages; ?>
+          <?php print $content ?>
+        </div> <!-- /#center -->
+  
+        <?php if ($right): ?>
+          <div id="sidebar-right" class="sidebar">
+            <?php print $right ?>
+          </div> <!-- /#sidebar-right -->
+        <?php endif; ?>
+
+        <div id="footer" class="clear">
+          <?php print $footer_message . $footer ?>
+          <?php print $feed_icons ?>
+        </div> <!-- /#footer -->
+
+      </div> <!-- /#container -->
+      <span class="clear"></span>
+    </div> <!-- /#wrapper -->
+<!-- /layout -->
+
+  <?php print $closure ?>
+
+  </body>
+</html>
-<?php
-// $Id: node.tpl.php,v 1.4 2009/07/13 23:52:58 andregriffin Exp $
-?>
-<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
-
-  <?php print $picture ?>
-
-  <?php if ($page == 0): ?>
-    <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
-  <?php endif; ?>
-
-  <?php if ($submitted): ?>
-    <span class="submitted"><?php print $submitted; ?></span>
-  <?php endif; ?>
-
-  <div class="content">
-    <?php print $content ?>
-  </div>
-
-  <div class="meta clearfix">
-
-    <?php if ($links): ?>
-      <div class="links">
-        <?php print $links; ?>
-      </div>
-    <?php endif; ?>
-
-    <?php if ($taxonomy): ?>
-      <div class="terms">
-        <span><?php print t('Tags:') ?></span><?php print $terms ?>
-      </div>
-    <?php endif;?>
-
-  </div>
-
-</div>
+<?php
+// $Id: node.tpl.php,v 1.1.6.2 2008/11/28 06:14:30 andregriffin Exp $
+?>
+<article id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
+
+  <header>
+  <?php print $picture ?>
+
+  <?php if ($page == 0): ?>
+    <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
+  <?php endif; ?>
+
+  <?php if ($submitted): ?>
+    <span class="submitted"><?php print $submitted; ?></span>
+  <?php endif; ?>
+  </header>
+
+  <div class="content">
+    <?php print $content ?>
+  </div>
+
+  <?php if ($links||$taxonomy){ ?>
+    <footer class="meta">
+
+      <?php if ($links): ?>
+        <div class="links">
+          <?php print $links; ?>
+        </div>
+      <?php endif; ?>
+
+      <?php if ($taxonomy): ?>
+        <div class="terms">
+          <?php print $terms ?>
+        </div>
+      <?php endif;?>
+
+      <span class="clear"></span>
+
+    </footer>
+  <?php }?>
+
+</article>
-<?php
-// $Id: page.tpl.php,v 1.4 2009/07/13 23:52:58 andregriffin Exp $
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
-  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" >
-  <head>
-    <title><?php print $head_title ?></title>
-    <?php print $head ?>
-    <?php print $styles ?>
-    <?php print $scripts ?>
-    <!--[if lte IE 7]><?php print framework_get_ie_styles(); ?><![endif]--> <!--If Less Than or Equal (lte) to IE 7-->
-  </head>
-  <body<?php print framework_body_class($left, $right); ?>>
-    <!-- Layout -->
-    <div class="container"> <!-- add "showgrid" class to display grid -->
-  
-      <div id="header" class="clearfix">
-        <?php print $header; ?>
-
-        <?php if ($logo): ?>
-          <a href="<?php print check_url($front_page); ?>" title="<?php print check_plain($site_name); ?>">
-            <img src="<?php print check_url($logo); ?>" alt="<?php print check_plain($site_name); ?>" id="logo" />
-          </a>
-        <?php endif; ?>
-
-        <div id="sitename">
-					<?php if ($site_name): ?>
-            <h1><a href="<?php print check_url($front_page); ?>" title="<?php print check_plain($site_name); ?>"><?php print check_plain($site_name); ?></a></h1>
-          <?php endif; ?>
-  
-          <?php if ($site_slogan): ?>
-            <span id="siteslogan"><?php print check_plain($site_slogan); ?></span>
-          <?php endif; ?>
-        </div> <!-- /#sitename -->
-      
-        <?php if ($search_box): ?><?php print $search_box ?><?php endif; ?>
-      </div> <!-- /#header -->
-
-      <div id="nav">
-        <?php if ($nav): ?>
-          <?php print $nav ?>
-        <?php endif; ?>
-
-        <?php if (!$nav): ?> <!-- if block in $nav, overrides default $primary and $secondary links -->
-
-          <?php if (isset($primary_links)) : ?>
-            <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
-          <?php endif; ?>
-          <?php if (isset($secondary_links)) : ?>
-            <div id="secondary-links"><?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?></div>
-          <?php endif; ?>
-
-        <?php endif; ?>
-      </div> <!-- /#nav -->
-
-			<?php if ($left): ?>
-        <div id="sidebar-left" class="sidebar">
-          <?php print $left ?>
-        </div> <!-- /#sidebar-left -->
-      <?php endif; ?>
-
-      <div id="main">
-        <?php print $breadcrumb; ?>
-        <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
-        <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
-        <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block"><ul class="tabs primary">'. $tabs .'</ul>'; endif; ?>
-        <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
-        <?php if ($tabs): print '<span class="clear"></span></div>'; endif; ?>
-        <?php if ($show_messages && $messages): print $messages; endif; ?>
-        <?php print $help; ?>
-        <?php print $content ?>
-      </div> <!-- /#main -->
-
-      <?php if ($right): ?>
-        <div id="sidebar-right" class="sidebar">
-          <?php print $right ?>
-        </div> <!-- /#sidebar-right -->
-      <?php endif; ?>
-
-      <div id="footer" class="clear">
-        <?php print $footer_message . $footer ?>
-        <?php print $feed_icons ?>
-      </div> <!-- /#footer -->
-
-    </div> <!-- /.container -->
-    <!-- /layout -->
-
-  <?php print $closure ?>
-
-  </body>
-</html>
+<?php
+// $Id: page.tpl.php,v 1.1.6.2 2008/11/28 06:14:30 andregriffin Exp $
+
+/**
+ @todo: HTML5 minimal DOCTYPE
+*/
+?>
+<!DOCTYPE html>
+<html lang="<?php echo $language->language ?>" dir="<?php echo $language->dir ?>">
+  <head>
+    <meta charset=utf-8>
+    <link rel="html5" title="Learn about HTML 5" href="http://whatwg.org/html5/">
+
+    <title><?php print $head_title ?></title>
+
+<!-- A hack to make IE able to apply CSS to elements that it doesn't usually know about.
+ See http://blog.whatwg.org/supporting-new-elements-in-ie
+ Legacy IE support: 'abbr'.
+ -->
+<!--[if IE]>
+<script>
+var el=['abbr', 'header', 'footer', 'aside', 'nav', 'article', 'section', 'time', 'figure'];
+for (var ix=0; ix < el.length; ix++) {
+  document.createElement(el[ix]);
+}
+</script>
+<![endif]-->
+
+    <?php print $head ?>
+    <?php print $styles ?>
+    <?php print $scripts ?>
+    <!--[if lte IE 7]><?php print phptemplate_get_ie_styles(); ?><![endif]--><!--If Less Than or Equal (lte) to IE 7-->
+  </head>
+  <body<?php print phptemplate_body_class($left, $right); ?>>
+
+<!-- Layout -->
+    <div id="wrapper">
+      <header role="banner">
+        <?php print $header; ?>
+
+        <?php if ($logo): ?>
+          <a href="<?php print check_url($front_page); ?>" title="<?php print check_plain($site_name); ?>">
+            <img src="<?php print check_url($logo); ?>" alt="<?php print check_plain($site_name); ?>" id="logo" />
+          </a>
+        <?php endif; ?>
+        <?php print '<h1><a href="'. check_url($front_page) .'" title="'. check_plain($site_name) .'">';
+          if ($site_name) {
+            print '<span id="sitename">'. check_plain($site_name) .'</span>';
+          }
+          if ($site_slogan) {
+            print '<span id="siteslogan">'. check_plain($site_slogan) .'</span>';
+          }
+          print '</a></h1>';
+        ?>
+
+        <?php if ($search_box): ?><?php print $search_box ?><?php endif; ?>
+        <div class="clear"></div>
+      </header>
+
+      <?php if (isset($primary_links) OR isset($secondary_links)) { ?>
+      <nav>
+        <h2 id="links-heading"><?php print t('Main menu') ?></h2>
+      <?php } ?>
+        <?php if (isset($primary_links)) : ?>
+          <?php print theme('links', $primary_links, array('class'=>'links primary-links', 'role'=>'navigation', 'aria-labelledby'=>'links-heading')) ?>
+        <?php endif; ?>
+        <?php if (isset($secondary_links)) : ?>
+          <?php print theme('links', $secondary_links, array('class'=>'links secondary-links', 'role'=>'navigation')) ?>
+        <?php endif; ?>
+      <?php if (isset($primary_links) OR isset($secondary_links)) { ?>
+      </nav>
+      <?php } ?>
+
+      <div id="container">
+
+        <?php if ($left): ?>
+          <div role="complementary" id="sidebar-left" class="sidebar">
+            <?php print $left ?>
+          </div> <!-- /#sidebar-left -->
+        <?php endif; ?>
+
+        <div id="center">
+          <?php print $breadcrumb; ?>
+          <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
+          <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
+          <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
+          <?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
+          <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
+          <?php if ($show_messages && $messages): print '<aside role="status">'.$messages.'</aside>'; endif; ?>
+          <?php print $help; ?>
+          <div role="main"><?php print $content ?></div>
+        </div> <!-- /#center -->
+  
+        <?php if ($right): ?>
+          <div role="complementary" id="sidebar-right" class="sidebar">
+            <?php print $right ?>
+          </div> <!-- /#sidebar-right -->
+        <?php endif; ?>
+
+        <footer role="contentinfo" id="footer" class="clear">
+          <?php print $footer_message . $footer ?>
+          <?php print $feed_icons ?>
+        </footer>
+
+      </div> <!-- /#container -->
+      <span class="clear"></span>
+    </div> <!-- /#wrapper -->
+<!-- /layout -->
+
+  <?php print $closure ?>
+
+  </body>
+</html>

screenshot.png

Old
Old image
New
New image
-@charset "utf-8"; 
-/* $Id: style.css,v 1.5 2009/07/13 23:52:57 andregriffin Exp $ */
-/* Drupal 6 Framework - Created by Andre Griffin
-----------------------------------------------------------------
-[Table of contents]
-
- 0.Reset
- 1.Global
- 2.Layout
- 3.Main
- 4.Sidebars
- 5.Header
- 6.Navigation
- 7.Nodes
- 8.Comments
- 9.Blocks
-10.Footer
-12.CSS Support
-13.Advanced
-
-[Font sizes - based on 75%/12px body]
-36px = 3em
-30px = 2.5em
-24px = 2em
-18px = 1.5em
-16px = 1.333333em
-14px = 1.1667em
-12px = 1em
-11px = .9167em
-10px = .8333em
-
-Equasion for font sizing: 
--Desired in px ÷ Default (or parent) in px = sizing in em
-
-----------------------------------------------------------------*/
-
-/**
- * 0.RESET 
- */
-@import "reset.css";
-
-/**
- * 1.GLOBAL
- */
-body {
-  background: #fff;
-  color: #222;
-  font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
-  font-size: 75%;
-  line-height:1.5;
-  margin: 0;
-  padding: 0;
-}
-
-h1, h2, h3, h4, h5, h6 {
-  color: #111;
-  font-family: Helvetica, Arial, sans-serif;
-  font-weight: normal;
-}
-
-h1 {
-  font-size: 3em;
-  line-height: 1em;
-  margin-bottom: .5em; 
-}
-
-h2 {
-  font-size: 2em;
-}
-
-h3 {
-  font-size: 1.5em;
-  line-height: 2em;
-}
-
-h4 {
-  font-size: 1.2em;
-  line-height: 1.25em;
-  margin-bottom: 1.25em; 
-}
-
-h5 {
-  font-size: 1em;
-  font-weight: bold;
-  margin-bottom: 1.5em; 
-}
-
-h6 {
-  font-size: 1em;
-  font-weight: bold;
-}
-
-h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
-  margin: 0;
-}
-
-p {
-  margin: 0 0 1.5em 0;
-}
-
-p a:link {
-  text-decoration: underline;
-}
-
-a:link, a:visited {
-  color: #069;
-  outline: none;
-  text-decoration: none;
-}
-
-a:focus {
-  outline: 1px dotted;
-}
-
-a:hover, a:active, li a.active {
-  color: #069;
-  outline: none;
-  text-decoration: underline;
-}
-
-/**
- * 2.LAYOUT
- */
-.container {
-  margin: 0 auto;
-  padding: 0;
-  width: 950px;
-}
-
-/* add this class to div.container in page.tpl to show grid */
-.showgrid {
-  background: url(images/grid.png) repeat;
-}
-
-/**
- * 3.MAIN
- */
-/* 1 column */
-#main {
-  margin: 0 0 1.5em;
-  position: relative;
-}
-
-/* 3 columns */
-body.sidebars #main {
-  float: left;
-  width: 630px;
-}
-
-/* 2 columns - sidebar-left */
-body.sidebar-left #main {
-  float: right;
-  width: 790px;
-}
-
-/* 2 columns - sidebar-right */
-body.sidebar-right #main {
-  float: left;
-  width: 790px;
-}
-
-/**
- * 4.SIDEBARS
- */
-.sidebar {
-  width: 150px;
-}
-
-#sidebar-left {
-  float: left;
-  margin-right: 10px;
-}
-
-#sidebar-right {
-  float: right;
-  margin-left: 10px;
-}
-
-/**
- * 5.HEADER
- */
-#header {
-  margin: 0;
-  padding: 3em 0 0;
-}
-
-#header #logo {
-  float: left;
-  padding: .5em 10px 0 0;
-}
-
-#header #sitename {
-  float: left;
-  margin-bottom: 1.5em;
-}
-
-#header h1 {
-  font-weight: bold;
-  margin: 0;
-}
-
-#header h1 a {
-  text-decoration: none;
-}
-
-#header #siteslogan {
-  display: block;
-  font-size: 1.5em;
-  line-height: 1em;
-}
-
-#search-theme-form {
-  float: right;
-  margin: 0;
-}
-
-#search-theme-form input {
-  margin: 1em 0 1.85em;
-}
-
-
-/* removes "Search this site:" label from search forms */
-div#edit-search-theme-form-1-wrapper label, 
-div#edit-search-block-form-1-wrapper label {
-  display: none;
-}
-
-/**
- * 6.NAVIGATION
- */
-ul.links li {
-  background: none;
-  margin: 0 1em 0 0;
-  padding: 0;
-}
-
-/* bottom margin leaves space for secondary links */
-#nav {
-  font-size: 1em;
-  line-height: 1em;
-  margin: 0 0 3em; 
-  position: relative;
-}
-
-#nav ul.primary-links, 
-#nav ul.dynamic-persistent-menu-menu {
-  background: #eee;
-  font-weight: bold;
-  margin: 0;
-  padding: 0 .5em;
-}
-
-#nav ul.primary-links li, 
-#nav ul.secondary-links li, 
-#nav div.block-dynamic_persistent_menu li {
-  background: none;
-  margin: 0;
-  padding: 0;
-}
-
-#nav ul.primary-links li a:link, 
-#nav ul.primary-links li a:visited, 
-#nav ul.dynamic-persistent-menu-menu li a:link, 
-#nav ul.dynamic-persistent-menu-menu li a:visited {
-  display: inline-block;
-  line-height: 3em;
-  margin: 0 1em 0 0;
-  padding: 0;
-}
-
-#nav ul.primary-links li a:hover, 
-#nav ul.primary-links li a:active, 
-#nav ul.dynamic-persistent-menu-menu li a:hover, 
-#nav ul.dynamic-persistent-menu-menu li a:active {
-  text-decoration: underline;
-}
-
-#nav div#secondary-links, 
-#nav ul.dynamic-persistent-menu-sub-menu {
-  padding: 0;
-  position: absolute;
-  width: 100%;
-}
-
-#nav ul.secondary-links li a:link, 
-#nav ul.secondary-links li a:visited, 
-#nav ul.dynamic-persistent-menu-sub-menu li a:link, 
-#nav ul.dynamic-persistent-menu-sub-menu li a:visited {
-  display: inline-block;
-  line-height: 3em;
-  margin: 0;
-  padding: 0 .5em;
-}
-
-#nav ul.secondary-links li a:hover, 
-#nav ul.secondary-links li a:active, 
-#nav ul.dynamic-persistent-menu-sub-menu li a:hover, 
-#nav ul.dynamic-persistent-menu-sub-menu li a:active {
-  text-decoration: underline;
-}
-
-#nav .block {
-  margin: 0;
-}
-
-#nav ul.dynamic-persistent-menu-menu {
-  display: block !important;
-}
-
-.breadcrumb {
-  color: #ccc;
-  padding: 0;
-}
-
-.breadcrumb a:link, 
-.breadcrumb a:visited {
-  color: #666;
-}
-
-.breadcrumb a:hover {
-  color: #999;
-}
-
-/**
- * 7.NODES
- */
-span.submitted {
-  color: #898989;
-  font-size: .8333em;
-  line-height: 1.5em;
-}
-
-.node .picture {
-  float: left;
-  margin: .5em .5em .5em 0;
-}
-
-.meta {
-  margin: 0 0 3em;
-}
-
-.meta div.links {
-  float: left;
-}
-
-.meta div.terms {
-  float: right;
-}
-
-.meta div.terms span {
-  float: left;
-}
-
-.meta div.links ul.links li {
-  float: left;
-  padding: 0 1em 0 0;
-}
-
-.meta div.terms ul.links li {
-  float: left;
-  padding: 0 0 0 1em;
-}
-
-.node_read_more {
-  font-weight: bold;
-}
-
-/* pagination */
-.item-list ul.pager li {
-  margin: 0;
-  padding: 0;
-}
-
-.item-list ul.pager li a:link, 
-.item-list ul.pager li a:visited, 
-.item-list ul.pager li.pager-current {
-  margin: 0;
-  padding: 0 .2em;
-  text-decoration: none;
-}
-
-.item-list ul.pager li a:hover, 
-.item-list ul.pager li a:active {
-  text-decoration: underline;
-}
-
-.item-list ul.pager li.pager-current {
-  border-bottom: 2px solid;
-  color: #069;
-  font-weight: bold;
-}
-
-/**
- * 8.COMMENTS
- */
-.comment {
-  margin: 0;
-  padding: 0;
-}
-
-.comment-bar {
-  font-size: 1em;
-  line-height: 1.5em;
-  position: relative;
-}
-
-.comment span.submitted {
-  color: #898989;
-}
-
-.comment span.new {
-  color: red;
-}
-
-.comment-title {
-  display: none;
-}
-
-.comment .picture {
-  float: right;
-  margin: 0 0 .5em .5em;
-}
-
-.comment ul.links {
-  margin: 0 0 1.5em;
-}
-
-.comment ul.links li a {
-  text-decoration: underline;
-}
-
-.indented {
-  border-left: 1px solid #ddd;
-  margin-left: 2em;
-  padding-left: 1em;
-}
-
-/**
- * 9.BLOCKS
- */
-.block {
-  margin: 0 0 1.5em;
-  position: relative;
-}
-
-/* login block */
-#user-login-form {
-  padding: 0 .5em;
-  text-align: left;
-}
-
-#user-login-form .form-item {
-  margin: 0;
-}
-
-#user-login-form .item-list ul li {
-  background: none;
-  padding: 0;
-}
-
-/* block configuration links */
-div.block div.edit {
-  background-color: #f5f5f5;
-  border: 1px solid #ddd;
-  display: none;
-  font-size: 9px;
-  padding: 2px 0 2px 10px;
-  position: absolute;
-  right: 0;
-  top: 0;
-  z-index: 40;
-}
-
-div.block:hover div.edit {
-  display:block;
-}
-
-div.block div.edit a {
-  color: #999;
-  margin-right: 10px;
-}
-
-div.block div.edit:hover a {
-  color: #000;
-}
-
-/* views configuration links */
-div.view {
-  position: relative;
-}
-
-div.view div.views-hide-hover,
-div.view:hover div.views-hide,
-div.view div.views-admin-links,
-div.view div.views-admin-links-hover,
-div.view div.views-admin-links:hover {
-  background-color: #f5f5f5;
-  border: 1px solid #ddd;
-  font-size: 9px;
-  margin-right: 0;
-  margin-top: 0;
-  padding: 0;
-  padding-left: 10px;
-  position: absolute;
-  right: 0;
-  top: 0;
-  width: auto;
-}
-
-div.view div.views-admin-links li a {
-  color: #999;
-}
-
-/**
- * 10.FOOTER
- */
-#footer {
-  margin: 0 0 1.5em;
-  padding: 1.5em 0;
-  position: relative;
-}
-
-#footer a.feed-icon {
-  position: absolute;
-  right: 0;
-  top: 1.416667em;
-}
-
-/* support drupal */
-#footer #block-system-0 {
-  position: absolute;
-  right: 25px;
-  top: 1.5em;
-}
-
-/**
- * 11.CSS SUPPORT
- */
-span.clear       { clear: both; display: block; font-size: 0; height: 1px; line-height: 0; margin-bottom: -1px; }
-.clear           { clear: both; }
-.clear-block     { display: block; }
-
-.clearfix:after,
-.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; }
-.clearfix,
-.container       { display: block; }
-
-.float-left      { float: left; }
-.float-right     { float: right; }
-.img-left        { float: left; margin: 1.5em 1.5em 1.5em 0; }
-.img-right       { float: right; margin: 1.5em 0 1.5em 1.5em; }
-
-.first           { margin-left: 0; padding-left: 0; }
-.last            { margin-right: 0; padding-right: 0; }
-.top             { margin-top: 0; padding-top: 0; }
-.bottom          { margin-bottom: 0; padding-bottom: 0; }
-
-.text-left       { text-align: left; }
-.text-right      { text-align: right; }
-.text-center     { text-align: center; }
-.text-justify    { text-align: justify; }
-
-.bold            { font-weight: bold; }
-.italic          { font-style: italic; }
-.underline       { border-bottom: 1px solid; }
-.highlight       { background: #ffc; }
-.quiet           { color: #666; }
-.loud            { color: #000; }
-.added           { background: #060; color: #fff; }
-.removed         { background: #900; color: #fff; }
-.small           { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
-.large           { font-size: 1.2em; line-height: 1.25em; margin-bottom: 1.25em; }
-
-.nopadding       { padding: 0; }
-.noindent        { margin-left: 0; padding-left: 0; }
-.nobullet        { background: none; list-style: none; list-style-image: none; }
-
-.wrap            { width: 950px; margin: 0 auto; }
-
-.hide            { display: none; }
-
-/**
- * 12.ADVANCED
- */
- 
-/* lists */
-ol{margin:0 0 1.5em;padding:0;}
-ol li{margin:0 0 0 1.5em;}
-ul{margin:0 0 1.5em;padding:0;}
-ul li{background:transparent url(images/menu-leaf.gif) no-repeat 1px .4em;list-style-image:none;list-style-type:none;margin:0;padding:0 0 0 1.5em;}
-li ol,li ul,ul ul,ol ol{margin:0;}
-ul.menu,.item-list ul{margin:0 0 1.5em;padding:0;}
-ul.menu ul,.item-list ul ul{margin:0;}
-ul.menu li,.item-list ul li,li.leaf{background:transparent url(images/menu-leaf.gif) no-repeat 1px .4em;list-style-image:none;list-style-type:none;margin:0;padding:0 0 0 1.5em;}
-ul li.expanded{background:transparent url(images/menu-expanded.gif) no-repeat 1px .35em;}
-ul li.collapsed{background:transparent url(images/menu-collapsed.gif) no-repeat 0 .35em;}
-ul li.leaf a,ul li.expanded a,ul li.collapsed a{display:block;}
-ul li.fake-leaf{font-size:1em;font-weight:bold;}
-ul.inline li{background:none;margin:0;padding:0 1em 0 0;}
-dl{margin:0 0 1.5em;}
-dl dt{font-weight:bold;}
-dl dd{margin-left:1.5em;}
-
-/* forms & fieldsets */
-input{color:#494949;font:1em Verdana, sans-serif;}
-textarea,select{color:#494949;font:1em Verdana, sans-serif;}
-fieldset ul.clear-block li{background-image:none;margin:0;padding:0;}
-fieldset{background:#fff;border:1px solid #ccc;margin:1em 0;padding:1em;}
-fieldset legend{padding:0 0.5em;}
-html.js fieldset.collapsed{background:transparent;padding-bottom:.6em;padding-top:0;}
-html.js fieldset.collapsible legend a{background:url(images/menu-expanded.gif) no-repeat 0 50%;}
-html.js fieldset.collapsed legend a{background:url(images/menu-collapsed.gif) no-repeat 0 50%;}
-.form-checkboxes,.form-radios,.form-checkboxes .form-item,.form-radios .form-item{margin:.25em 0;}
-.form-button,.form-submit{margin:1em .5em 1em 0;}
-.confirmation .form-submit,.search-form .form-submit,.poll .form-submit,fieldset .form-button,fieldset .form-submit,.sidebar .form-button,.sidebar .form-submit,table .form-button,table .form-submit{margin:0 0 1.2em;}
-#autocomplete li{cursor:pointer;margin:0;padding:2px;}
-#autocomplete li.selected{background:#027ac6;color:#fff;}
-
-/* admin tab links */
-#tabs-wrapper{border-bottom:1px solid #ccc;margin:0 0 .75em;padding:0;}
-ul.primary{border-bottom:5px solid #eee;margin:0;padding:.25em 0;}
-ul.primary li{background:none;border-top:3px solid #ccc;margin:0 .5em 0 0;padding:.25em 0;}
-ul.primary li.active{background:#eee;}
-ul.primary li:hover{background:#f5f5f5;}
-ul.secondary{background:#eee;border:none;margin:0;padding:.5em 1em;}
-ul.secondary li{background:none;border:none;display:inline;line-height:2em;margin:0;padding:0 1em 0 0;}
-ul.primary li a,ul.primary li.active a,ul.primary li a:hover,ul.primary li a:visited{background:none;border:0;margin:0;padding:0 1em;text-decoration:none;}
-ul.secondary li a,ul.secondary li a:visited{background:none;border:0;margin:0;padding:0;text-decoration:none;}
-ul.secondary li.active a,ul.secondary li a:hover{text-decoration:underline;}
-ul.primary li.active a,ul.secondary li.active a{font-weight:bold;text-decoration:none;}
-
-/* admin styling */
-div.admin,div.admin .left,div.admin .right,div.admin-panel,div.admin-panel .body,div.admin .expert-link{margin:0;padding:0;}
-div.admin .left{float:left;width:48%;}
-div.admin .right{float:right;width:48%;}
-div.admin-panel .description,.form-item .description{color:#666;font-size:0.9167em;line-height:1.636364em;margin:0 0 1.63636em;padding:0;}
-div.admin-panel { }
-body.admin dt{font-weight:normal;}
-body.admin dd{color:#898989;font-size:.9167em;line-height:1.636364em;}
-.more-help-link {font-size:.8333em;padding:0.2em 0 0.1em;}
-.block-region {font-size:0.8333em;line-height:1.5em;margin:0;padding:0.15em 0.5em;}
-
-/* tables */
-#forum thead th {border-bottom:3px solid #ccc;}
-#forum td.posts,#forum td.topics,#forum td.replies,#forum td.pager{text-align:left;}
-#forum tr td.forum{background-position:4px 9px;}
-.forum-topic-navigation{background:#eee;border:none;border-bottom:1px solid #ccc;margin-bottom:1em;padding:5px;}
-body.admin table{margin:0 0 1.4em;width:100%;}
-body.admin thead th{border-bottom:2px solid #ccc;font-weight:bold;padding:0 1em 0 0;}
-body.admin tbody{border-top:none;}
-body.admin td,body.admin th{padding:.3em .5em;vertical-align:middle;}
-body.admin tr.even,body.admin tr.odd,body.admin tbody th{border:solid #ccc;border-width:1px 0;}
-body.admin tr.odd td.active{background-color:#e9e9e9;}
-body.admin tr.even td.active{background-color:#eee;}
-body.admin tr.odd,body.admin tr.info{background-color:#eee;}
-body.admin tr.even{background-color:#f5f5f5;}
-body.admin tr.drag{background-color:#fffff0;}
-body.admin tr.drag-previous{background-color:#ffd;}
-body.admin td.region,body.admin td.module,body.admin td.container,body.admin td.category{background-color:#ddd;border-bottom:1px solid #ccc;border-top:1em solid #fff;color:#666;font-weight:bold;}
-body.admin tr:first-child td.region,body.admin tr:first-child td.module,body.admin tr:first-child td.container,body.admin tr:first-child td.category{border-top-width:0;}
-body.admin table.sticky-header{margin:0 0 0 1px;z-index:1;}
-body.admin table.sticky-header th{padding-top:.5em;}
-span.form-required{color:#ffae00;}
-
-/* messages */
-.messages{background-color:#fff;border:1px solid #b8d3e5;}
-.messages,.preview,div.warning,div.error{margin:0 0 1.5em;padding:8px 1em;}
-.messages ul{margin:0;}
-.preview{background-color:#fcfce8;border:1px solid #e5e58f;}
-.preview .node{background-color:#fcfce8;}
-div.status{border-color:#c7f2c8;color:#33a333;}
-div.error,tr.error{background-color:#fcc;color:#a30000;}
-.form-item input.error,.form-item textarea.error{border:1px solid #c52020;color:#363636;}
-
-/* status report */
-table.system-status-report tr.error,table.system-status-report tr.error th{background-color:#fcc;border-color:#ebb;color:#200;}
-table.system-status-report tr.warning,table.system-status-report tr.warning th{background-color:#ffd;border-color:#eeb;}
-table.system-status-report tr.ok,table.system-status-report tr.ok th{background-color:#dfd;border-color:#beb;}
-table.system-status-report th{padding-bottom:6px;padding-top:6px;}
-table.system-status-report th,table.system-status-report tr.merge-up td{padding-left:30px;}
+@charset "utf-8"; 
+/* $Id: style.css,v 1.1.6.2 2008/11/28 06:14:30 andregriffin Exp $ */
+/* Drupal 6 Framework - Created by Andre Griffin
+----------------------------------------------------------------
+[Table of contents]
+
+ 1.Global
+ 2.Layout
+ 3.Header
+ 4.Navigation
+ 5.Nodes
+ 6.Comments
+ 7.Sidebars
+ 8.Blocks
+ 9.Footer
+10.CSS Support
+11.Administration
+
+[Color codes]
+
+ Typography
+ # Dark Grey:        #333
+ # Dark Blue:        #069
+ # Pink:             #f66
+
+ Layout
+ # Mid Blue:         #b4d7f0
+ # Light Blue:       #d4e7f3
+ # Very Light Blue:  #edf5fa
+
+[Font sizes - based on 75% body]
+
+26px = 2.166667em
+24px = 2em
+22px = 1.8333em
+21px = 1.75em
+20px = 1.6667em
+19px = 1.5833em
+18px = 1.5em
+17px = 1.416667em
+16px = 1.333333em
+15px = 1.25em
+14px = 1.1667em
+13px = 1.083333em
+12px = 1em
+11px = .9167em
+10px = .8333em
+
+Equasion for font sizing: 
+-Desired in px ÷ Default (or parent) in px = sizing in em
+
+----------------------------------------------------------------*/
+
+/* HTML 5: */
+header,footer,aside,nav,article,section, figure { display:block; margin:0; padding: 0; }
+
+/* HTML 5: abbr is in (even in IE!), acronym out. */
+abbr { border-bottom:1px dotted gray; cursor:help; }
+
+#links-heading, .offscreen { position:absolute; top:-999em; }
+
+
+/**
+ * 1.GLOBAL
+ */
+body {
+  background: #fff;
+  color: #333;
+  font: 75% Arial, Helvetica, sans-serif;
+  margin: 0;
+  padding: 0;
+}
+
+h1, h2, h3, h4, h5, h6 {
+  font-weight: 700;
+  margin: 0;
+  padding: 0;
+}
+
+h1 {
+  font-size: 2em;
+  margin: .5em 0;
+}
+
+h2 {
+  font-size: 1.6667em;
+  margin: .75em 0 .5em;
+}
+
+h3 {
+  font-size: 1.333333em;
+  margin: .5em 0;
+}
+
+h4 {
+  font-size: 1.1667em;
+  margin: .5em 0;
+}
+
+a:link, a:visited {
+  color: #069;
+  text-decoration: none;
+}
+
+a:focus {
+  outline: 1px dotted;
+}
+
+a:hover, a:active, li a.active {
+  color: #f66;
+  outline: none;
+  text-decoration: none;
+}
+
+p {
+  font-size: 1em;
+  line-height: 1.5em;
+  margin: 0 0 1.5em;
+}
+
+blockquote {
+  margin: 1.25em;
+  padding: 1.25em 1.25em 0 1.25em;
+}
+
+em {
+  padding: 0 3px 0 0;
+}
+
+hr {
+  background: #7f7f7f;
+  border: none;
+  height: 1px;
+  margin: 0;
+  padding: 0;
+}
+
+img, a img {
+  border: none;
+  outline: none;
+}
+
+/**
+ * 2.LAYOUT
+ */
+#wrapper {
+  margin: 0 auto;
+  width: 960px;
+}
+
+#container {
+  margin: 0 0 10px;
+}
+
+/* 1 column */
+#center {
+  margin: 0 0 10px;
+  position: relative;
+}
+
+/* 3 columns */
+body.sidebars #center {
+  border-left: 1px solid #b4d7f0;
+  border-right: 1px solid #b4d7f0;
+  float: left;
+  padding: 0 10px;
+  width: 600px;
+}
+
+/* 2 columns - sidebar-left */
+body.sidebar-left #center {
+  border-left: 1px solid #b4d7f0;
+  float: right;
+  padding-left: 10px;
+  width: 780px;
+}
+
+/* 2 columns - sidebar-right */
+body.sidebar-right #center {
+  border-right: 1px solid #b4d7f0;
+  float: left;
+  padding-right: 10px;
+  width: 780px;
+}
+
+/**
+ * 3.HEADER
+ */
+header {
+  margin: 0;
+  padding: 10px 0;
+}
+
+header h1 {
+  float: left;
+}
+
+header #logo {
+  float: left;
+  padding: 15px 10px 0 0;
+}
+
+header #sitename {
+  display: block;
+}
+
+header #siteslogan {
+  display: block;
+  font-size: .75em;
+}
+
+#search-theme-form {
+  float: right;
+  margin: 2.5em 0 0;
+}
+
+#search-theme-form .form-button, #search-theme-form .form-submit {
+  margin: 0;
+}
+
+/**
+ * 4.NAVIGATION
+ */
+ul.links li {
+  background: none;
+  margin: 0 10px 0 0;
+  padding: 0;
+}
+
+nav {
+  border-bottom: 1px solid #b4d7f0;
+  border-top: 1px solid #b4d7f0;
+  font-size: 1em;
+  margin: 0 0 10px;
+}
+
+nav ul.primary-links {
+  background: #d4e7f3;
+  font-weight: 700;
+  padding: 5px;
+}
+
+nav ul.primary-links li {
+  margin: 0;
+  padding: 0;
+}
+
+nav ul.primary-links li a:link, #nav ul.primary-links li a:visited {
+  margin: 0 10px 0 0;
+  padding: 5px 0;
+}
+
+nav ul.primary-links li a:hover, #nav ul.primary-links li a:active {
+  text-decoration: underline;
+}
+
+nav ul.secondary-links {
+  border-top: 1px solid #b4d7f0;
+  padding: 2px 5px;
+}
+
+nav ul.secondary-links li {
+  margin: 0;
+  padding: 0;
+}
+
+nav ul.secondary-links li a:link, #nav ul.secondary-links li a:visited {
+  margin: 0 10px 0 0;
+  padding: 2px 0;
+}
+
+nav ul.secondary-links li a:hover, #nav ul.secondary-links li a:active {
+  text-decoration: underline;
+}
+
+/*negative margin keeps from pushing node h2 titles down*/
+.breadcrumb {
+  color: #ccc;
+  font-size: 1em;
+  margin: 0 0 -1.25em;
+  padding: 0;
+}
+
+.breadcrumb a:link, .breadcrumb a:visited {
+  color: #666;
+}
+
+.breadcrumb a:hover {
+  color: #999;
+}
+
+/**
+ * 5.NODES
+ */
+span.submitted {
+  color: #898989;
+  display: block;
+  font-size: .8333em;
+  margin: -5px 0 4px;
+}
+
+.node .picture {
+  float: left;
+  margin: .3em .5em .1em 0;
+}
+
+.meta {
+  background: #edf5fa;
+  border-bottom: 1px solid #b4d7f0;
+  margin: 0 0 1px;
+  padding: 0 10px;
+}
+
+.meta div.links {
+  float: left;
+}
+
+.meta div.terms {
+  float: right;
+}
+
+.meta div.links ul.links li {
+  float: left;
+  padding: 5px 10px 5px 0;
+}
+
+.meta div.terms ul.links li {
+  float: left;
+  padding: 5px 0 5px 10px;
+}
+
+.node_read_more {
+  font-weight: bold;
+}
+
+.item-list ul.pager {
+  margin: 1em 0;
+}
+
+.item-list ul.pager li {
+  margin: 0;
+  padding: 0;
+}
+
+.item-list ul.pager li a:link, .item-list ul.pager li a:visited, .item-list ul.pager li.pager-current {
+  background-color: #f5f5f5;
+  border: 1px solid #ccc;
+  color: #999;
+  font-size: .8333em;
+  font-weight: 700;
+  margin: .3em .1em;
+  padding: .3em .5em;
+}
+
+.item-list ul.pager li a:hover, .item-list ul.pager li a:active {
+  border: 1px solid #999;
+  color: #666;
+}
+
+.item-list ul.pager li.pager-current {
+  background-color: #069;
+  border: 1px solid #069;
+  color: #fff;
+}
+
+/**
+ * 6.COMMENTS
+ */
+#comments h2.comments {
+  margin: .5em 0 -15px;
+} 
+
+.comment {
+  margin: 20px 0 0;
+  padding: 0;
+}
+
+.comment-bar {
+  background: #edf5fa;
+  border-bottom: 1px solid #b4d7f0;
+  padding: 5px;
+  position: relative;
+}
+
+.comment span.submitted {
+  color: #898989;
+  display: inline;
+  font-size: .8333em;
+  margin: 0;
+}
+
+.comment span.new {
+  color: red;
+  font-size: .8333em;
+}
+
+.comment .content {
+  padding: 5px;
+}
+
+.comment .picture {
+  float: right;
+  margin: .3em 0 .1em .3em;
+}
+
+.comment h3 {
+  font-size: 1.1667em;
+  margin: .5em 5px 0;
+}
+
+.comment ul.links {
+  margin: -10px 0 0 25px;
+}
+
+.comment ul.links li a {
+  text-decoration: underline;
+}
+
+.indented {
+  border-left: 1px solid #ddd;
+  margin-left: 14px;
+  padding-left: 5px;
+}
+
+/**
+ * 7.SIDEBARS
+ */
+.sidebar {
+  width: 160px;
+}
+
+#sidebar-left {
+  float: left;
+  margin-right: 9px;
+}
+
+#sidebar-right {
+  float: right;
+  margin-left: 9px;
+}
+
+/**
+ * 8.BLOCKS
+ */
+.block {
+  margin: 0 0 10px;
+}
+
+.block h3 {
+  font-size: 1.6667em;
+  margin: .75em 0 .5em;
+}
+
+#user-login-form .item-list ul li {
+  background: none;
+  padding: 0;
+}
+
+#search-block-form .form-text {
+  width: 8em;
+}
+
+#search-block-form input.form-submit {
+  font-size: .9em;
+  width: 5em;
+  padding: 0;
+}
+
+/**
+ * 9.FOOTER
+ */
+footer#footer {
+  border-top: 1px solid #b4d7f0;
+  margin: 0 0 10px;
+  padding: 5px 0;
+  position: relative;
+}
+
+#footer a.feed-icon {
+  position: absolute;
+  right: 0;
+  top: 5px;
+}
+
+#footer #block-system-0 {
+  position: absolute;
+  right: 25px;
+  top: 6px;
+}
+
+/**
+ * 10.CSS SUPPORT
+ */
+span.clear     { clear: both; display: block; font-size: 0; height: 1px; line-height: 0; margin-bottom: -1px; }
+.clear         { clear: both; }
+.clear-block   { display: block; }
+.float-left    { float: left; }
+.float-right   { float: right; }
+
+.text-left     { text-align: left; }
+.text-right    { text-align: right; }
+.text-center   { text-align: center; }
+.text-justify  { text-align: justify; }
+
+.bold          { font-weight: bold; }
+.italic        { font-style: italic; }
+.underline     { border-bottom: 1px solid; }
+.highlight     { background: #ffc; }
+
+.wrap          { width: 960px; margin: 0 auto; }
+
+.img-left      { float: left; margin: 4px 10px 4px 0; }
+.img-right     { float: right; margin: 4px 0 4px 10px; }
+
+.nopadding     { padding: 0 }
+.noindent      { margin-left: 0; padding-left: 0 }
+.nobullet li     { list-style: none; list-style-image: none; } /* NDF. */
+
+/**
+ * 11.ADMINISTRATION
+ */
+
+/* lists */
+dl { margin: .5em 0 1em; padding: 0; }
+dl dd { margin: 0 0 .5em 1.5em; }
+ol { margin: .5em 0 1em; padding: 0 0 0 1.5em; }
+ol li { margin: .15em 0 .15em .5em; padding: 0 0 .2em; }
+ol ul li { margin-left: .5em; padding: 0 0 .2em 1.5em; }
+ul { margin: .5em 0 1em; padding: 0; }
+.item-list ul { margin: .35em 0 0 -.5em; padding: 0; }
+.item-list ul ul { margin-left: 0; }
+ul li, ul li.leaf, .item-list ul li { background: transparent url(images/menu-leaf.gif) no-repeat 1px .35em; list-style-image: none; list-style-type: none; margin: .15em 0 .15em .5em; padding: 0 0 .2em 1.5em; }
+ul li.expanded { background: transparent url(images/menu-expanded.gif) no-repeat 1px .35em; }
+ul li.collapsed { background: transparent url(images/menu-collapsed.gif) no-repeat 0 .35em; }
+ul li.leaf a, ul li.expanded a, ul li.collapsed a { display: block; }
+ul.inline li { background: none; margin: 0; padding: 0 1em 0 0; }
+ul ol li { background: none; list-style-type: decimal; margin-left: 2em; padding: 0 0 .2em; }
+ul ul li { margin-left: 2em; }
+
+/* menu */
+ul.menu { margin: 0; padding: 0; }
+ul.menu li { background-position: .3em .6em; list-style-image: none; list-style-type: none; margin: 0; padding: .1em 0 .1em 0; }
+ul.menu li a { padding: .1em 0 .1em 1.5em; }
+ul.menu li ul li { background-position: 1.5em .6em; }
+ul.menu li ul li a { padding-left: 2.7em; }
+ul.menu li ul li ul li { background-position: 2.7em .6em; }
+ul.menu li ul li ul li a { padding-left: 3.9em; }
+ul.menu li ul li ul li ul li { background-position: 3.9em .6em; }
+ul.menu li ul li ul li ul li a { padding-left: 5.1em; }
+ul.menu li.expanded { padding-bottom: 0; }
+ul.menu li.expanded ul { margin-top: .1em; }
+
+/* menu zebra coloring */
+ul.menu li { border-bottom: 1px solid #d4e7f3; padding: .2em 0 .2em 0; }
+ul.menu li a { padding: .2em 0 .2em 1.5em; }
+ul.menu li.odd { background-color: #fff; }
+ul.menu li.even { background-color: #edf5fa; }
+ul.menu li.expanded { background-color: #d4e7f3; border: none; padding-bottom: 0; }
+ul.menu li.expanded ul { border-bottom: 3px solid #d4e7f3; border-top: 1px solid #b4d7f0; margin-top: .2em; }
+
+/* legacy list support -- MUST COMMENT OUT [LISTS/MENU/ZEBRA COLORING] ABOVE -- remove brackets around asterisk to enable -- [*]/
+ul { margin: .5em 0 1em; padding: 0; }
+ol { margin: .75em 0 1.25em; padding: 0; }
+ol li, ul li { margin: .4em 0 .4em .5em; }
+ul.menu, .item-list ul { margin: .35em 0 0 -.5em; padding:0; }
+ul.menu ul, .item-list ul ul { margin-left: 0; }
+ol li, ul li, ul.menu li, .item-list ul li, li.leaf { margin: .15em 0 .15em .5em; }
+ul li, ul.menu li, .item-list ul li, li.leaf { background: transparent url(images/menu-leaf.gif) no-repeat 1px .35em; list-style-image: none; list-style-type: none; padding: 0 0 .2em 1.5em; }
+ol li { margin-left: 2em; padding: 0 0 .3em; }
+ul li.expanded { background: transparent url(images/menu-expanded.gif) no-repeat 1px .35em; }
+ul li.collapsed { background: transparent url(images/menu-collapsed.gif) no-repeat 0 .35em; }
+ul li.leaf a, ul li.expanded a, ul li.collapsed a { display: block; }
+ul.inline li { background: none; margin: 0; padding: 0 1em 0 0; }
+dl { margin: .5em 0 1em 1.5em; }
+dl dd { margin: 0 0 .5em 1.5em; }
+/* end legacy list support */
+
+/* admin tab links */
+ul.primary, ul.primary li, ul.secondary, ul.secondary li { background: none; border: 0; margin: 0; padding: 0; }
+ul.secondary { border-bottom: 1px solid #b4d7f0; clear: both; margin: 0 0 1em; padding: .5em 0; text-align: left; }
+ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited, ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited { background: none; border: 0; margin: 0; padding: 0 1em 0 0; text-decoration: none; }
+ul.primary li.active a, ul.secondary li.active a { font-weight: 700; }
+
+/* position admin tab links and style admin h2 */
+#tabs-wrapper { margin: 0; padding: 0; }
+h2.with-tabs { margin-bottom: 0; }
+#tabs-wrapper ul.tabs { margin: 0 0 .5em; padding: 0; }
+
+/* stuff you probably will not need to change - includes admin coloring */
+quote, code, fieldset { margin: .5em 0; }
+input { color: #494949; font: 1em Verdana, sans-serif; }
+textarea, select { color: #494949; font: 1em Verdana, sans-serif; }
+fieldset ul.clear-block li { background-image: none; margin: 0; padding: 0; }
+fieldset { background: #fff; border: 1px solid #d4e7f3; margin: 1em 0; padding: 1em; }
+fieldset legend { display: block; }
+html.js fieldset.collapsed { background: transparent; padding-bottom: .6em; padding-top: 0; }
+html.js fieldset.collapsible legend a { background: url(images/menu-expanded.gif) no-repeat 0 50%; padding-left: 2em; }
+html.js fieldset.collapsed legend a { background: url(images/menu-collapsed.gif) no-repeat 0 50%; }
+
+table { margin: 1em 0; width: 100%}
+thead th { border-bottom: 2px solid #d4e7f3; color: #494949; font-weight: 700; }
+tbody { border-top:none; }
+th a:link, th a:visited { color: #7f7f7f; }
+td, th { padding: .3em .5em; }
+tr.even, tr.odd, tbody th { border: solid #d4e7f3; border-width: 1px 0; }
+tr.odd, tr.info { background-color: #edf5fa; }
+tr.even { background-color: #fff; }
+tr.drag { background-color: #fffff0; }
+tr.drag-previous { background-color: #ffd; }
+tr.odd td.active { background-color: #d4e7f3; }
+tr.even td.active { background-color: #edf5fa; }
+td.region, td.module, td.container, td.category { background-color: #d4e7f3; border-bottom: 1px solid #b4d7f0; border-top: 1.5em solid #fff; color: #666; font-weight: 700; }
+tr:first-child td.region, tr:first-child td.module, tr:first-child td.container, tr:first-child td.category { border-top-width: 0; }
+tr.odd td.menu-disabled { background-color: #edf5fa; }
+tr.even td.menu-disabled { background-color: #fff; }
+tr.selected td a:link, tr.selected td a:visited, tr.selected td a:active { color: #d4e7f3; }
+tr.taxonomy-term-divider-top { border-bottom: none; }
+tr.taxonomy-term-divider-bottom { border-top: 1px dotted #ccc; }
+
+#autocomplete li { cursor: default; margin: 0; padding: 2px; }
+#autocomplete li.selected, tr.selected td, tr.selected td.active { background: #027ac6; color: #fff; }
+.form-checkboxes, .form-radios, .form-checkboxes .form-item, .form-radios .form-item { margin: .25em 0; }
+#center form { margin-bottom: 2em; }
+.form-button, .form-submit { margin: 2em .5em 1em 0; }
+#dblog-form-overview .form-submit, .confirmation .form-submit, .search-form .form-submit, .poll .form-submit, fieldset .form-button, fieldset .form-submit, .sidebar .form-button, .sidebar .form-submit, table .form-button, table .form-submit { margin: 0; }
+
+div.admin-panel, div.admin-panel .description, div.admin-panel .body, div.admin, div.admin .left, div.admin .right, div.admin .expert-link, div.item-list, .menu { margin: 0; padding: 0; }
+div.admin h3 { margin-bottom: 0; }
+div.admin .left { float: left; width: 48%; }
+div.admin .right { float: right; width: 48%; }
+div.admin-panel { background: none; padding: 1em 1em 1.5em; }
+div.admin-panel .description { margin-bottom: 1.5em; }
+div.admin-panel dl { margin: 0; }
+div.admin-panel dd { color: #898989; font-size: .92em; line-height: 1.3em; margin-bottom: .65em; margin-top: -.2em; }
+
+.messages { background-color: #fff; border: 1px solid #b8d3e5; }
+.preview { background-color: #fcfce8; border: 1px solid #e5e58f; }
+.preview .node { background-color: #fcfce8; }
+
+span.form-required { color: #ffae00; }
+.description { color: #898989; font-size: .92em; line-height: 150%; margin-bottom: .75em; }
+.messages, .preview { margin: .75em 0; padding: .5em 1em; }
+.messages ul { margin: 0; }
+.box { margin-bottom: 2.5em; }
+.profile dd { margin-bottom: 1.6em; }
+.profile h3 { border-bottom: none; }
+
+div.status { border-color: #c7f2c8; color: #33a333; }
+div.error, tr.error { background-color: #fcc; color: #a30000; }
+.form-item input.error, .form-item textarea.error { border: 1px solid #c52020; color: #363636; }
+table.system-status-report th { border-color: #d4e7f3; }
+table.system-status-report tr.error, table.system-status-report tr.error th { background-color: #fcc; border-color: #ebb; color: #200; }
+table.system-status-report tr.warning, table.system-status-report tr.warning th { background-color: #ffd; border-color: #eeb; }
+table.system-status-report tr.ok, table.system-status-report tr.ok th { background-color: #dfd; border-color: #beb; }
-<?php
-// $Id: template.php,v 1.4 2009/07/13 23:52:57 andregriffin Exp $
-
-/**
- * Sets the body-tag class attribute.
- *
- * Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed.
- */
-function framework_body_class($left, $right) {
-  $class = array();
-
-  if ($left != '' && $right != '') {
-    $class[] = 'sidebars';
-  }
-  elseif ($left != '') {
-    $class[] = 'sidebar-left';
-  }
-  elseif ($right != '') {
-    $class[] = 'sidebar-right';
-  }
-
-  if (arg(0) == 'admin') {
-    $class[] = 'admin';
-  }
-
-  if ($class) {
-    print ' class="' . implode(' ', $class) . '"';
-  }
-}
-
-/**
- * Return a themed breadcrumb trail.
- *
- * @param $breadcrumb
- *   An array containing the breadcrumb links.
- * @return a string containing the breadcrumb output.
- */
-function phptemplate_breadcrumb($breadcrumb) {
-  if (!empty($breadcrumb)) {
-// uncomment the next line to enable current page in the breadcrumb trail
-//    $breadcrumb[] = drupal_get_title();
-    return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
-  }
-}
-
-/**
- * Allow themable wrapping of all comments.
- */
-function framework_comment_wrapper($content, $node) {
-  if (!$content || $node->type == 'forum') {
-    return '<div id="comments">'. $content .'</div>';
-  }
-  else {
-    return '<div id="comments"><h2 class="comments">'. t('Comments') .'</h2>'. $content .'</div>';
-  }
-}
-
-/**
- * Override or insert PHPTemplate variables into the templates.
- */
-function framework_preprocess_page(&$vars) {
-  $vars['tabs2'] = menu_secondary_local_tasks();
-}
-
-/**
- * Returns the rendered local tasks. The default implementation renders
- * them as tabs. Overridden to split the secondary tasks.
- *
- * @ingroup themeable
- */
-function phptemplate_menu_local_tasks() {
-  return menu_primary_local_tasks();
-}
-
-function framework_comment_submitted($comment) {
-  return t('by <strong>!username</strong> | !datetime',
-    array(
-      '!username' => theme('username', $comment),
-      '!datetime' => format_date($comment->timestamp)
-    ));
-}
-
-function phptemplate_node_submitted($node) {
-  return t('!datetime | by <strong>!username</strong>',
-    array(
-      '!username' => theme('username', $node),
-      '!datetime' => format_date($node->created),
-    ));
-}
-
-/**
- * Override or insert variables into the block templates.
-	*
- * @param $vars
- *   An array of variables to pass to the theme template.
- * @param $hook
- *   The name of the template being rendered ("block" in this case.)
- */
-function framework_preprocess_block(&$vars, $hook) {
-  $block = $vars['block'];
-
-  // Special classes for blocks.
-  $classes = array('block');
-  $classes[] = 'block-' . $block->module;
-  $classes[] = 'region-' . $vars['block_zebra'];
-  $classes[] = $vars['zebra'];
-  $classes[] = 'region-count-' . $vars['block_id'];
-  $classes[] = 'count-' . $vars['id'];
-
-  $vars['edit_links_array'] = array();
-  $vars['edit_links'] = '';
-  if (user_access('administer blocks')) {
-    include_once './' . drupal_get_path('theme', 'framework') . '/template.block-editing.inc';
-    framework_preprocess_block_editing($vars, $hook);
-    $classes[] = 'with-block-editing';
-  }
-
-  // Render block classes.
-  $vars['classes'] = implode(' ', $classes);
-}
-
-/**
- * Generates IE CSS links.
- */
-function framework_get_ie_styles() {
-  $iecss = '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . path_to_theme() .'/ie.css" />';
-  return $iecss;
-}
-
-function framework_get_ie6_styles() {
-  $iecss = '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . path_to_theme() .'/ie6.css" />';
-  return $iecss;
-}
-
-/**
- * Adds even and odd classes to <li> tags in ul.menu lists
- */ 
-function phptemplate_menu_item($link, $has_children, $menu = '', $in_active_trail = FALSE, $extra_class = NULL) {
-  static $zebra = FALSE;
-  $zebra = !$zebra;
-  $class = ($menu ? 'expanded' : ($has_children ? 'collapsed' : 'leaf'));
-  if (!empty($extra_class)) {
-    $class .= ' '. $extra_class;
-  }
-  if ($in_active_trail) {
-    $class .= ' active-trail';
-  }
-  if ($zebra) {
-    $class .= ' even';
-  }
-  else {
-    $class .= ' odd';
-  }
-  return '<li class="'. $class .'">'. $link . $menu ."</li>\n";
-}
+<?php
+// $Id: template.php,v 1.1.6.2 2008/11/28 06:14:30 andregriffin Exp $
+
+/**
+ * Sets the body-tag class attribute.
+ *
+ * Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed.
+ */
+function phptemplate_body_class($left, $right) {
+  if ($left != '' && $right != '') {
+    $class = 'sidebars';
+  }
+  else {
+    if ($left != '') {
+      $class = 'sidebar-left';
+    }
+    if ($right != '') {
+      $class = 'sidebar-right';
+    }
+  }
+
+  if (isset($class)) {
+    print ' class="'. $class .'"';
+  }
+}
+
+/**
+ * Return a themed breadcrumb trail.
+ *
+ * @param $breadcrumb
+ *   An array containing the breadcrumb links.
+ * @return a string containing the breadcrumb output.
+ */
+function phptemplate_breadcrumb($breadcrumb) {
+  if (!empty($breadcrumb)) {
+// uncomment the next line to enable current page in the breadcrumb trail
+//    $breadcrumb[] = drupal_get_title();
+    return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
+  }
+}
+
+/**
+ * Allow themable wrapping of all comments.
+ */
+function phptemplate_comment_wrapper($content, $node) {
+  if (!$content || $node->type == 'forum') {
+    return '<div id="comments">'. $content .'</div>';
+  }
+  else {
+    return '<div id="comments"><h2 class="comments">'. t('Comments') .'</h2>'. $content .'</div>';
+  }
+}
+
+/**
+ * Override or insert PHPTemplate variables into the templates.
+ */
+function phptemplate_preprocess_page(&$vars) {