From b74b3d84f47f5c14b67e5af0932f0d5779ded3cd Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 28 Apr 2016 18:23:44 +0000 Subject: [PATCH] etemplate2.css is now in api --- calendar/sitemgr/class.module_calendar_planner.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/calendar/sitemgr/class.module_calendar_planner.inc.php b/calendar/sitemgr/class.module_calendar_planner.inc.php index 5b58cba04a..e8625eecff 100644 --- a/calendar/sitemgr/class.module_calendar_planner.inc.php +++ b/calendar/sitemgr/class.module_calendar_planner.inc.php @@ -20,7 +20,7 @@ class module_calendar_planner extends Module */ const CALENDAR_CSS = '/calendar/templates/default/app.css'; - const ETEMPLATE_CSS = '/etemplate/templates/default/etemplate2.css'; + const ETEMPLATE_CSS = '/api/templates/default/etemplate2.css'; /** * Constructor @@ -28,7 +28,7 @@ class module_calendar_planner extends Module function __construct() { parent::__construct(); - + $this->arguments = array( 'sortby' => array( 'type' => 'select', @@ -92,7 +92,7 @@ class module_calendar_planner extends Module { $this->arguments['cat_id']['options'][$cat['id']] = str_repeat('  ',$cat['level']).$cat['name']; } - if (count($cat_ids) > 5) + if (count($this->arguments['cat_id']['options']) > 5) { $this->arguments['cat_id']['multiple'] = 5; } @@ -315,7 +315,7 @@ class module_calendar_planner extends Module { $html .= '
'.lang('No owner selected').'
'; } - + while(@ob_end_clean()); return $html;