etemplate2.css is now in api

This commit is contained in:
Ralf Becker 2016-04-28 18:23:44 +00:00
parent 66cdf2c089
commit b74b3d84f4

View File

@ -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
@ -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;
}