comment-wrapper.pre.php 402 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * @file template.preprocess-comment-wrapper.inc
  4. */
  5. global $theme;
  6. $classes = array();
  7. # Add support for Skinr module classes http://drupal.org/project/skinr
  8. if (function_exists('node_skinr_data') && !empty($vars['skinr'])) {
  9. $classes[] = $vars['skinr'];
  10. }
  11. # Class for content types: "forum-comments", "blog-comments", etc.
  12. $vars['classes'] .= ' '. $vars['node']->type .'-comments';