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 CALENDAR_CSS = '/calendar/templates/default/app.css';
const ETEMPLATE_CSS = '/etemplate/templates/default/etemplate2.css'; const ETEMPLATE_CSS = '/api/templates/default/etemplate2.css';
/** /**
* Constructor * Constructor
@ -28,7 +28,7 @@ class module_calendar_planner extends Module
function __construct() function __construct()
{ {
parent::__construct(); parent::__construct();
$this->arguments = array( $this->arguments = array(
'sortby' => array( 'sortby' => array(
'type' => 'select', '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']; $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; $this->arguments['cat_id']['multiple'] = 5;
} }
@ -315,7 +315,7 @@ class module_calendar_planner extends Module
{ {
$html .= '<div class="message" align="center">'.lang('No owner selected').'</div>'; $html .= '<div class="message" align="center">'.lang('No owner selected').'</div>';
} }
while(@ob_end_clean()); while(@ob_end_clean());
return $html; return $html;