From: garvinhicking Date: Fri, 4 Nov 2005 18:25:31 +0000 (+0000) Subject: * Make calendar plugin also accept links to external events X-Git-Tag: 0.9.1~42 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=144a2a68cf66bb5e26047fa4ffa07f8f9e03396e;p=s9y.git * Make calendar plugin also accept links to external events (garvinhicking) --- diff --git a/docs/NEWS b/docs/NEWS index 8ba3a1d..d465d5c 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 0.9.1 () ------------------------------------------------------------------------ + * Make calendar plugin also accept links to external events + (garvinhicking) + * Fix mod_rewrite rules to not differentiate on case-sensitivity for authors, archives and category URLs (garvinhicking) diff --git a/include/plugin_internal.inc.php b/include/plugin_internal.inc.php index 34f10cb..0fa5cd8 100644 --- a/include/plugin_internal.inc.php +++ b/include/plugin_internal.inc.php @@ -281,6 +281,9 @@ class serendipity_calendar_plugin extends serendipity_plugin { if (isset($externalevents[$currDay]['Title'])) { $cellProps['Title'] = htmlspecialchars($externalevents[$currDay]['Title']); } + if (isset($externalevents[$currDay]['Link'])) { + $cellProps['Link'] = $externalevents[$currDay]['Link']; + } } if (isset($activeDays[$currDay]) && $activeDays[$currDay] > 1) {