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 -------------------------------------------------------------- # we have to use ResourceCommentPreview's old HTML here because: # 1) we can't display HTML in comments with FormUI paragraphs, as FormUI's ReadOnly fields # do not display HTML with the proper formatting, and # 2) it's difficult to pull values out of the FormUI and place them into a different field, # which is why we don't move the comment values into a HTML-friendly custom-content box. ?>

Preview Comment

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

Comment

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