GetPluginForCurrentPage(); $Schema = new MetadataSchema($Plugin->GetSchemaId()); $Field = $Schema->GetFieldByName($FieldName); $DBFieldName = $Field->DBFieldName(); $Entry = "".$DisplayName.""; $Entry .= ($SortField != $DBFieldName) ? "" : ($SortAscending ? " ↑" : " ↓"); return $Entry; } /** * Print an event. * @param CalendarEvents_Event $Event Event to print. */ function CalendarEvents_PrintEvent(CalendarEvents_Event $Event) { $SafeId = defaulthtmlentities($Event->Id()); $SafeTitle = defaulthtmlentities($Event->Get("Title")); $SafeShortTitle = defaulthtmlentities(NeatlyTruncateString($Event->Get("Title"), 32)); $SafeAuthor = defaulthtmlentities($Event->AuthorForDisplay()); $SafeEditor = defaulthtmlentities($Event->EditorForDisplay()); $SafeCreationDate = defaulthtmlentities($Event->CreationDateForDisplay()); $SafeModificationDate = defaulthtmlentities($Event->ModificationDateForDisplay()); $SafeReleaseFlag = defaulthtmlentities($Event->Get("Release Flag") ? "Yes" : "No"); ?>
edit

# Calendar Events

New Event
Search: "(any field)", "Title" => "Title", "ShortTitle" => "Short Title", "Description" => "Description", "URL" => "URL", "ContactEmail" => "Contact Email", "Venue" => "Venue", "Locality" => "City", "Region" => "State", "StartDate" => "Start Date", "EndDate" => "End Date", ); PrintOptionList("F_Field", $FieldList, GetFormValue("F_Field"), FALSE, 1, 1, FALSE, NULL, "auto"); $ConditionList = array( "contains" => "contains", "equals" => "equals", "is before" => "is before", "is after" => "is after", ); PrintOptionList("F_Condition", $ConditionList, GetFormValue("F_Condition"), FALSE, 1, 1, FALSE, NULL, "auto"); ?> "/>
0) { ?>

Stats: past event, event currently occurring, and future event

|  |  |  |  |  | Actions
--- | --- | --- | --- | --- | --- | ---

".($H_StartingIndex + 1)." - " .min(($H_StartingIndex + $H_EventsPerPage), $H_EventCount) ." of ".$H_EventCount.""; PrintTransportControls($TransportLink, $H_StartingIndex, $H_EventsPerPage, $H_EventCount, $ExtraMsg); ?>

There are no events. Create one.