From: Jan Schneider Date: Fri, 26 Feb 2010 14:52:54 +0000 (+0100) Subject: Add private field. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e9dab884c00582cbb7ec297e4c17bccbaaab880d;p=horde.git Add private field. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 4d087f1d8..f9b8b27ce 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -3513,6 +3513,7 @@ KronolithCore = { $('kronolithEventEndTime').setValue(ev.et); $('kronolithEventStatus').setValue(ev.x); $('kronolithEventDescription').setValue(ev.d); + $('kronolithEventPrivate').setValue(ev.pv); $('kronolithEventLinkExport').up('span').show(); $('kronolithEventExport').href = Kronolith.conf.URI_EVENT_EXPORT.interpolate({ id: ev.id, calendar: ev.c, type: ev.ty }); diff --git a/kronolith/lib/Event.php b/kronolith/lib/Event.php index 9ba03fa96..843762788 100644 --- a/kronolith/lib/Event.php +++ b/kronolith/lib/Event.php @@ -1255,6 +1255,7 @@ abstract class Kronolith_Event $json->ed = $this->end->strftime('%x'); $json->et = $this->end->format($time_format); $json->a = $this->alarm; + $json->pv = $this->private; $json->tg = array_values($this->tags); $json->gl = $this->geoLocation; if ($this->recurs()) { diff --git a/kronolith/templates/index/edit.inc b/kronolith/templates/index/edit.inc index bab36d4a6..b0e568413 100644 --- a/kronolith/templates/index/edit.inc +++ b/kronolith/templates/index/edit.inc @@ -59,6 +59,9 @@
+ | + +