From 4b0298f875a29589fc36419c2f0c35a1e0a0b6df Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Fri, 4 Nov 2005 18:25:29 +0000 Subject: [PATCH] * Make calendar plugin also accept links to external events (garvinhicking) --- docs/NEWS | 3 +++ include/plugin_internal.inc.php | 3 +++ 2 files changed, 6 insertions(+) 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) { -- 2.39.5