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"); ?>
Stats: past event, event currently occurring, and future event
Actions |
---|
There are no events. Create one.