### Eclipse Workspace Patch 1.0
#P Studio
Index: canvas/template.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/studio/canvas/template.php,v
retrieving revision 1.5
diff -u -r1.5 template.php
--- canvas/template.php	26 Aug 2009 16:44:04 -0000	1.5
+++ canvas/template.php	20 Jan 2010 23:35:35 -0000
@@ -117,6 +117,18 @@
     }
   }
 
+  // Add support for the Skinr module.
+  if (module_exists('skinr') && !empty($vars['skinr'])) {
+    $skinr_class = explode(' ', $vars['skinr']);
+
+    if (isset($vars['attributes'][$hook]['#attributes']['class'])) {
+      $vars['attributes'][$hook]['#attributes']['class'] = array_merge($vars['attributes'][$hook]['#attributes']['class'], $skinr_class);
+    }
+    else {
+      $vars['attributes'][$hook]['#attributes']['class'] = $skinr_class;
+    }
+  }
+
   // Merge in required attributes and then process all of a hooks attributes and
   // format them for output in the template.
   $vars['attributes'] = theme('process_attributes', $vars['attributes'], $vars[$hooks[0]]->studio_attributes);
