Ticket #2876: mythweb_highlighting.diff

File mythweb_highlighting.diff, 661 bytes (added by stuartm, 17 years ago)
  • mythplugins/mythweb/includes/css.php

     
    3232        else {
    3333            global $Categories;
    3434            foreach ($Categories as $cat => $details) {
     35                if ($category == strtolower($details[0])) {
     36                    $css_class[] = $cache[$category] = 'cat_'.$cat;
     37                    break;
     38                }
    3539                if (!$details[1])
    3640                    continue;
    3741                if (preg_match('/'.$details[1].'/', $category)) {