Index: page.tpl.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/burnt/page.tpl.php,v
retrieving revision 1.5.2.2
diff -u -p -r1.5.2.2 page.tpl.php
--- page.tpl.php	8 Feb 2008 04:03:37 -0000	1.5.2.2
+++ page.tpl.php	24 Feb 2008 14:18:34 -0000
@@ -11,11 +11,11 @@
     <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
   </head>
 
-<body>
+<body class="<?php print $body_classes; ?>">
 <div id="container">
 	<div id="header">
Index: style.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/burnt/style.css,v
retrieving revision 1.4
diff -u -p -r1.4 style.css
--- style.css	13 Sep 2007 14:56:20 -0000	1.4
+++ style.css	24 Feb 2008 14:18:34 -0000
@@ -108,7 +108,8 @@ input, .search-form input {
 		
 /* CONTENT ELEMENTS */
 /* admin content layout */
-#content.admin {
+#content.admin,
+body.one-sidebar #content {
   width: 570px;
 }
 #content {
Index: template.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/burnt/template.php,v
retrieving revision 1.2.2.1
diff -u -p -r1.2.2.1 template.php
--- template.php	14 Feb 2008 20:55:33 -0000	1.2.2.1
+++ template.php	24 Feb 2008 14:18:34 -0000
@@ -39,3 +39,24 @@ function burnt_is_admin() {
     return true;
   }
 }
+
+function _phptemplate_variables($hook, $vars) {
+  switch ($hook) {
+    case 'page' :
+      $body_classes = array();
+      if ($vars['sidebar_left'] && $vars['sidebar_right']) {
+        $body_classes[] = 'two-sidebars';
+      }
+      elseif ($vars['sidebar_left']) {
+        $body_classes[] = 'one-sidebar sidebar-left';
+      }
+      elseif ($vars['sidebar_right']) {
+        $body_classes[] = 'one-sidebar sidebar-right';
+      }
+      else {
+        $body_classes[] = 'no-sidebars';
+      }
+      $vars['body_classes'] = implode(' ', $body_classes); // Concatenate with spaces
+  }
+  return $vars;
+}
