hasPriv("admin") && !$_SESSION['current']->isMaintainer($oComment->iVersionId) && !$_SESSION['current']->isSuperMaintainer($oComment->iAppId)) { util_show_error_page("You don't have sufficient privileges to delete this comment."); exit; } if($_SESSION['current']->getPref("confirm_comment_deletion") != "no" && !isset($aClean['iDeleteIt'])) { apidb_header("Delete Comment"); $mesTitle = "Please state why you are deleting the following comment"; echo "
\n"; echo html_frame_start($mesTitle,500,"",0); echo "
"; echo html_frame_start($oComment->sSubject,500); echo htmlify_urls($oComment->sBody), "

\n"; echo html_frame_end(); echo '',"\n"; echo "\n"; echo "\n"; echo "
\n"; echo " \n"; echo "
\n"; echo html_frame_end(); echo "\n"; echo "iCommentId."\" />"; echo "
"; apidb_footer(); } else { $oComment->delete($aClean['sWhy']); redirect(apidb_fullurl("appview.php?iVersionId=".$oComment->iVersionId)); } ?>