mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
a557f8260d
commit
cf9cde8928
@ -63,7 +63,15 @@ class CommentAdmin extends LeftAndMain {
|
|||||||
$table = new CommentTableField($this, "Comments", "PageComment", $section, $tableFields, $popupFields, array($filter));
|
$table = new CommentTableField($this, "Comments", "PageComment", $section, $tableFields, $popupFields, array($filter));
|
||||||
$table->setParentClass(false);
|
$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();
|
$actions = new FieldSet();
|
||||||
|
|
||||||
@ -237,4 +245,4 @@ JS;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user