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

# Error

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

# Error

No rule found with specified ID.setPageTitle("Rule Not Found"); } else { # display appropriate heading if ($H_DisplayMode == "RuleDeleted") { $AF->setPageTitle("Rule Deleted"); ?>

## Rule Deleted

setPageTitle("Confirm Rule Deletion"); ?>

## Confirm Rule Deletion

Name | Name() ?>
Condition | SearchParameters()->TextDescription() ?>

getHtml(); ?>

getHtml(); ?> getHtml(); ?>