From b92d438dae2bc48cc4189380c4ef3fb6332fca3b Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 4 Feb 2009 12:03:15 -0500 Subject: [PATCH] Remove the category_legend.inc file now that we color per-calendar. --- kronolith/lib/Views/Day.php | 2 -- kronolith/lib/Views/Month.php | 1 - kronolith/lib/Views/Week.php | 2 -- kronolith/templates/category_legend.inc | 26 -------------------------- 4 files changed, 31 deletions(-) delete mode 100644 kronolith/templates/category_legend.inc diff --git a/kronolith/lib/Views/Day.php b/kronolith/lib/Views/Day.php index 33e013e47..1dccef9d5 100644 --- a/kronolith/lib/Views/Day.php +++ b/kronolith/lib/Views/Day.php @@ -290,8 +290,6 @@ class Kronolith_View_Day extends Kronolith_Day { $template->set('show_slots', true, true); echo $template->fetch(KRONOLITH_TEMPLATES . '/day/rows.html') . ''; - - require KRONOLITH_TEMPLATES . '/category_legend.inc'; } /** diff --git a/kronolith/lib/Views/Month.php b/kronolith/lib/Views/Month.php index 4af00e576..c08d490ed 100644 --- a/kronolith/lib/Views/Month.php +++ b/kronolith/lib/Views/Month.php @@ -232,7 +232,6 @@ class Kronolith_View_Month { } echo $html . ''; - require KRONOLITH_TEMPLATES . '/category_legend.inc'; } function getMonth($offset = 0) diff --git a/kronolith/lib/Views/Week.php b/kronolith/lib/Views/Week.php index e0f369838..6fa4c58ed 100644 --- a/kronolith/lib/Views/Week.php +++ b/kronolith/lib/Views/Week.php @@ -307,8 +307,6 @@ class Kronolith_View_Week { $template->set('show_slots', !$more_timeslots, true); echo $template->fetch(KRONOLITH_TEMPLATES . '/day/rows.html') . ''; - - require KRONOLITH_TEMPLATES . '/category_legend.inc'; } /** diff --git a/kronolith/templates/category_legend.inc b/kronolith/templates/category_legend.inc deleted file mode 100644 index d9346640d..000000000 --- a/kronolith/templates/category_legend.inc +++ /dev/null @@ -1,26 +0,0 @@ - -- 2.11.0