]> git.mjollnir.org Git - s9y.git/commitdiff
Forgot part of the patch by Anthem
authorgarvinhicking <garvinhicking>
Thu, 11 Aug 2005 09:30:39 +0000 (09:30 +0000)
committergarvinhicking <garvinhicking>
Thu, 11 Aug 2005 09:30:39 +0000 (09:30 +0000)
include/plugin_internal.inc.php

index ceafc56b1d35b0020ec5aae4f52897fe9e1a25c5..2e4bd5379ffaae0aa4bcc8028980550b22e88afd 100644 (file)
@@ -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);