From 8b50f4686bdee89bdd339c507e699534b9281f82 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 7 May 2007 07:14:52 +0000 Subject: [PATCH] moved modules into the app-dir --- .../sitemgr/class.module_calendar.inc.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 calendar/sitemgr/class.module_calendar.inc.php 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('#'); + } +}