Removed calls to zen_id_safe(['node']->type), since content types are already lowerca...
authorJohnAlbin
Thu, 8 Nov 2007 08:49:37 +0000 (08:49 +0000)
committerJohnAlbin
Thu, 8 Nov 2007 08:49:37 +0000 (08:49 +0000)
template.php

index 2b6efbf..e533453 100644 (file)
@@ -178,7 +178,7 @@ function _phptemplate_variables($hook, $vars = array()) {
       $body_classes[] = ($vars['logged_in']) ? 'logged-in' : 'not-logged-in';
       if ($vars['node']->type) {
         // If on an individual node page, put the node type in the body classes
-        $body_classes[] = 'node-type-'. zen_id_safe($vars['node']->type);
+        $body_classes[] = 'node-type-'. $vars['node']->type;
       }
       if ($vars['sidebar_left'] && $vars['sidebar_right']) {
         $body_classes[] = 'two-sidebars';
@@ -225,7 +225,7 @@ function _phptemplate_variables($hook, $vars = array()) {
         $node_classes[] = 'node-mine';
       }
       // Class for node type: "node-type-page", "node-type-story", "node-type-my-custom-type", etc.
-      $node_classes[] = 'node-type-'. zen_id_safe($vars['node']->type);
+      $node_classes[] = 'node-type-'. $vars['node']->type;
       $vars['node_classes'] = implode(' ', $node_classes); // implode with spaces
 
       break;