This function processes posting/editing/deleting a calendar event.
- calls @link Post.php|Post() function if event is linked to a post.
- calls @link Subs-Calendar.php|insertEvent() to insert the event if not linked to post.
It requires the calendar_post permission to use.
It uses the event_post sub template in the Calendar template.
It is accessed with ?action=calendar;sa=post.