setTableClass("table table-striped"); $FormTable->addRowsWithHeaders([ ["Resource", defaulthtmlentities("Comment On: " . $H_Title)], ["Body", nl2br(defaulthtmlentities($H_Body))] ]); } $AF = ApplicationFramework::getInstance(); if (isset($H_MessageId)) { $AF->setPageTitle("Update Resource Comment"); } elseif ($H_Preview) { $AF->setPageTitle("Preview Resource Comment"); } else { $AF->setPageTitle("Add Resource Comment"); } $UpdateButton = new HtmlButton("Update Comment"); $UpdateButton->setIcon("Pencil.svg"); $UpdateButton->makeSubmitButton(); $AddCommentButton = new HtmlButton("Add Comment"); $AddCommentButton->setIcon("Plus.svg"); $AddCommentButton->makeSubmitButton(); $CancelButton = new HtmlButton("Cancel"); $CancelButton->setIcon("Cross.svg"); $CancelButton->addSemanticClass("btn-danger"); $CancelButton->makeSubmitButton(); $DeleteButton = new HtmlButton("Delete Comment"); $DeleteButton->setIcon("Delete.svg"); $DeleteButton->makeSubmitButton(); $PreviewButton = new HtmlButton("Preview"); $PreviewButton->setIcon("EyeOpen.svg"); $PreviewButton->makeSubmitButton(); # ----- DISPLAY -------------------------------------------------------------- if ($H_Preview) { ?>

# Preview Comment

Id(); if (isset($H_MessageId)) { print "&MI=".$H_MessageId; } ?>" method="post"> getHtml(); ?> getHtml() ?> getHtml() ?> getHtml() ?> getHtml() ?>

# Comment

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