From 64af59eb4d902dc5b05eaa0d436826a5dda61964 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Thu, 11 Aug 2005 09:30:39 +0000 Subject: [PATCH] Forgot part of the patch by Anthem --- include/plugin_internal.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/plugin_internal.inc.php b/include/plugin_internal.inc.php index ceafc56..2e4bd53 100644 --- a/include/plugin_internal.inc.php +++ b/include/plugin_internal.inc.php @@ -232,6 +232,12 @@ class serendipity_calendar_plugin extends serendipity_plugin { } // end switch + $externalevents = array(); + if (serendipity_db_bool($this->get_config('enableExtEvents', false))) { + serendipity_plugin_api::hook_event('frontend_calendar', $externalevents, array('Month' => $month, 'Year' => $year, + 'TS' => $ts, 'EndTS' => $endts)); + } + // Print the calendar $currDay = 1; $nrOfRows = ceil(($nrOfDays+$firstDayWeekDay)/7); -- 2.39.5