From: garvinhicking Date: Fri, 4 Nov 2005 18:25:29 +0000 (+0000) Subject: * Make calendar plugin also accept links to external events X-Git-Tag: 1.0~327 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4b0298f875a29589fc36419c2f0c35a1e0a0b6df;p=s9y.git * Make calendar plugin also accept links to external events (garvinhicking) --- diff --git a/docs/NEWS b/docs/NEWS index c0def53..9e410b8 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -10,6 +10,9 @@ Version 1.0 () 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) {