GetPluginForCurrentPage(); $Schema = new MetadataSchema($Blog->GetSchemaId()); $Field = $Schema->GetFieldByName($FieldName); $DBFieldName = $Field->DBFieldName(); $Entry = "".$DisplayName.""; $Entry .= ($SortField != $DBFieldName) ? "" : ($SortAscending ? " ↑" : " ↓"); return $Entry; } /** * Print a blog entry. * @param Blog_Entry $Entry Blog entry to print. */ function Blog_PrintBlogEntry(Blog_Entry $Entry) { $Blog = $GLOBALS["G_PluginManager"]->GetPluginForCurrentPage(); $SafeId = defaulthtmlentities($Entry->Id()); $SafeTitle = defaulthtmlentities(NeatlyTruncateString($Entry->TitleForDisplay(), 32)); $SafeAuthor = defaulthtmlentities($Entry->AuthorForDisplay()); $SafeEditor = defaulthtmlentities($Entry->EditorForDisplay()); $SafeCreationDate = defaulthtmlentities($Entry->CreationDateForDisplay()); $SafeModificationDate = defaulthtmlentities($Entry->ModificationDateForDisplay()); $SafePublicationDate = defaulthtmlentities($Entry->PublicationDateForDisplay()); ?>
View Edit NotificationsCouldBeSent($Entry, $GLOBALS["G_User"])) { ?> Notify NotificationsCouldBeSent()) { ?> Notify

# Blog Entries

UserCanAuthorBlogEntries($GLOBALS["G_User"])) { ?> New Entry
0) { ?>

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

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

There are no blog entries.