Wrap comments in tab

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44280 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-11-05 21:03:19 +00:00
parent a557f8260d
commit cf9cde8928

View File

@ -63,7 +63,15 @@ class CommentAdmin extends LeftAndMain {
$table = new CommentTableField($this, "Comments", "PageComment", $section, $tableFields, $popupFields, array($filter));
$table->setParentClass(false);
$fields = new FieldSet(new LiteralField("Title", $title), $idField, $table);
$fields = new FieldSet(
new TabSet( 'Root',
new Tab('Comments',
new LiteralField("Title", $title),
$idField,
$table
)
)
);
$actions = new FieldSet();