NotificationsCouldBeSent(); $UserIsSubscribed = $H_Blog->UserIsSubscribedToNotifications($User); $BlogSchema = new MetadataSchema($H_Blog->GetSchemaId()); $UnsubscribeButton = new HtmlButton("Unsubscribe"); $UnsubscribeButton->setIcon("BellMinus.svg"); $UnsubscribeButton->setTitle("Unsubscribe from new blog entry e-mail"); $UnsubscribeButton->setLink("index.php?P=P_Blog_Unsubscribe"); $SubscribeButton = new HtmlButton("Subscribe"); $SubscribeButton->setIcon("BellPlus.svg"); $SubscribeButton->setTitle("Subscribe to receive e-mail when new blog entries are posted"); $SubscribeButton->setLink("index.php?P=P_Blog_Subscribe"); $AdminListButton = new HtmlButton("Admin List"); $AdminListButton->setIcon("settings.png"); $AdminListButton->setLink("index.php?P=P_Blog_ListEntries"); $NewEntryButton = new HtmlButton("New Entry"); $NewEntryButton->setIcon("Plus.svg"); $NewEntryButton->setLink(str_replace('$ID', "NEW&SC=".$SafeSchemaId, $BlogSchema->getEditPage())); # ----- DISPLAY -------------------------------------------------------------- ?>

#

getHtml(); ?> getHtml(); ?> UserCanEdit($User)) { ?> getHtml(); ?> UserCanAuthor($User)) { ?> getHtml(); ?>
display(); } else { ?>

There are no blog entries.