$template->set('show_slots', true, true);
echo $template->fetch(KRONOLITH_TEMPLATES . '/day/rows.html')
. '</tbody></table>';
-
- require KRONOLITH_TEMPLATES . '/category_legend.inc';
}
/**
$template->set('show_slots', !$more_timeslots, true);
echo $template->fetch(KRONOLITH_TEMPLATES . '/day/rows.html')
. '</tbody></table>';
-
- require KRONOLITH_TEMPLATES . '/category_legend.inc';
}
/**
+++ /dev/null
-<div id="footer">
-<?php
-require_once 'Horde/Text.php';
-if ($GLOBALS['prefs']->getValue('show_legend') && count($eventCategories)) {
- $html = '';
-
- ksort($eventCategories);
- foreach ($eventCategories as $category => $v) {
- if (empty($category)) {
- continue;
- }
-
- $html .= ' <span class="legend-eventbox event category' . hash('md5', $category) . '">' .
- Text::htmlAllSpaces($category) . '</span>';
- }
-
- if (Auth::getAuth() && (!$GLOBALS['prefs']->isLocked('categories') ||
- !$GLOBALS['prefs']->isLocked('category_colors'))) {
- $categoryUrl = Util::addParameter(Horde::url($GLOBALS['registry']->get('webroot', 'horde') . '/services/prefs.php'), array('app' => 'horde', 'group' => 'categories'));
- $html .= ' ' . Horde::link($categoryUrl, _("Edit categories and colors"), 'iconEdit', '_blank', 'popup(this.href); return false;') . Horde::img('colorpicker.png', _("Edit categories and colors"), '', $GLOBALS['registry']->getImageDir('horde')) . '</a>';
- }
-
- echo $html;
-}
-?>
-</div>