From 8dec126e7dd19ebb068b1a4f42804f8c0205af9d Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Mon, 30 Mar 2020 10:26:46 -0700 Subject: add channel selection to event interface --- views/event.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'views/event.php') diff --git a/views/event.php b/views/event.php index 81742d8..c485f31 100644 --- a/views/event.php +++ b/views/event.php @@ -44,6 +44,24 @@ + channels): ?> +
+ +
+ '; + echo ''; + foreach($this->channels as $ch) { + echo ''; + } + echo ''; + ?> +
+
+ +
@@ -229,6 +247,9 @@ properties.end = event_end; } + if($("#note_channel").val()) { + properties['p3k-channel'] = $("#note_channel").val(); + } $.post("/micropub/postjson", { data: JSON.stringify({ -- cgit v1.2.3