setIcon("BackArrow.svg"); $ReturnButton->setLink("index.php?P=P_Pages_ListPages"); $DeleteButton = new HtmlButton("Delete"); $DeleteButton->setIcon("Delete.svg"); $DeleteButton->addSemanticClass("btn-danger"); $CancelButton = new HtmlButton("Cancel"); $CancelButton->setIcon("Cross.svg"); # ----- DISPLAY -------------------------------------------------------------- # if no page ID available if ($H_DisplayMode == "NoPageSpecified") { # display error message indicating no ID ?>

# Error

No page ID was supplied.setPageTitle("No Page Specified"); } elseif ($H_DisplayMode == "PageDoesNotExist") { # else if no page found with specified ID # display error message indicating page not found ?>

# Error

No page found with specified ID.setPageTitle("Page Not Found"); } else { # if page has been deleted if ($H_DisplayMode == "PageDeleted") { # display deleted notice ?>

## Page Deleted

getHtml(); ?>
">

## Confirm Page Deletion

WARNING: Content cannot be recovered after page is deleted!

getHtml(); ?> getHtml(); ?>
setPageTitle($H_Page->Get("Title")); $AF->requireUIFile('Pages_Controls.css'); print $H_Page->Get("Content"); }