From a0331199ae2f15b58b147833950fbcc968e69a3a Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 4 Feb 2009 19:46:54 -0500 Subject: [PATCH] This file is no longer used --- kronolith/themes/categoryCSS.php | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 kronolith/themes/categoryCSS.php diff --git a/kronolith/themes/categoryCSS.php b/kronolith/themes/categoryCSS.php deleted file mode 100644 index b783f9183..000000000 --- a/kronolith/themes/categoryCSS.php +++ /dev/null @@ -1,36 +0,0 @@ - - */ - -@define('AUTH_HANDLER', true); -@define('KRONOLITH_BASE', dirname(__FILE__) . '/..'); -require_once KRONOLITH_BASE . '/lib/base.php'; -require_once 'Horde/Image.php'; - -header('Content-Type: text/css'); - -$colors = $cManager->colors(); -$fgColors = $cManager->fgColors(); -foreach ($colors as $category => $color) { - if ($category == '_unfiled_') { - continue; - } elseif ($category == '_default_') { - echo '.month-eventBox, .week-eventBox, .day-eventBox, .block-eventBox, .legend-eventBox, ', - '.month-eventBox a, .week-eventBox a, .day-eventBox a, .block-eventBox a, .legend-eventBox a, ', - '.month-eventBox a:hover, .week-eventBox a:hover, .day-eventBox a:hover, .block-eventBox a:hover, .legend-eventBox a:hover { '; - } else { - $class = '.category' . hash('md5', $category); - echo "$class, .linedRow td$class, $class a, $class a:hover { "; - } - - echo 'color: ' . (isset($fgColors[$category]) ? $fgColors[$category] : $fgColors['_default_']) . '; ', - 'background: ' . $color . "; }\n"; -} -- 2.11.0