diff --git a/calendar/sitemgr/class.module_calendar.inc.php b/calendar/sitemgr/class.module_calendar.inc.php new file mode 100644 index 0000000000..9293d1f31e --- /dev/null +++ b/calendar/sitemgr/class.module_calendar.inc.php @@ -0,0 +1,32 @@ +arguments = array(); + + $this->title = lang('Calendar'); + $this->description = lang('This module displays the current month'); + } + + function get_content(&$arguments,$properties) + { + if (!is_object($GLOBALS['egw']->jscalendar)) + { + $GLOBALS['egw']->jscalendar =& CreateObject('phpgwapi.jscalendar'); + } + return $GLOBALS['egw']->jscalendar->flat('#'); + } +}