diff --git a/Controller.php b/Controller.php
index 4db611f..bdf46d1 100644
--- a/Controller.php
+++ b/Controller.php
@@ -104,4 +104,25 @@ class Controller extends ModuleAbstract implements WebInterface
return $view;
}
+ /**
+ * @param RequestAbstract $request Request
+ * @param ResponseAbstract $response Response
+ * @param mixed $data Generic data
+ *
+ * @return \Serializable
+ *
+ * @since 1.0.0
+ */
+ public function viewDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
+ {
+ $view = new View($this->app, $request, $response);
+ $view->setTemplate('/Modules/Calendar/Theme/Backend/dashboard-calendar');
+
+ $calendar = CalendarMapper::get(1);
+ $calendar->setDate(new SmartDateTime($request->getData('date') ?? 'now'));
+ $view->addData('calendar', $calendar);
+
+ return $view;
+ }
+
}
diff --git a/Theme/Backend/calendar-dashboard.tpl.php b/Theme/Backend/calendar-dashboard.tpl.php
index 0c4ee91..bcd7a65 100644
--- a/Theme/Backend/calendar-dashboard.tpl.php
+++ b/Theme/Backend/calendar-dashboard.tpl.php
@@ -90,4 +90,4 @@ $calendar = $this->getData('calendar');
-= htmlspecialchars($this->getData('calendarEventPopup')->render('iCalendarEvent'), ENT_COMPAT, 'utf-8'); ?>
\ No newline at end of file
+= $this->getData('calendarEventPopup')->render('iCalendarEvent'); ?>
\ No newline at end of file
diff --git a/Theme/Backend/dashboard-calendar.tpl.php b/Theme/Backend/dashboard-calendar.tpl.php
index 1b4bc6b..793b2e5 100644
--- a/Theme/Backend/dashboard-calendar.tpl.php
+++ b/Theme/Backend/dashboard-calendar.tpl.php
@@ -1,3 +1,33 @@
-