Merge branch 'pulls/selectiongroup'

This commit is contained in:
Ingo Schommer 2012-12-11 11:08:30 +01:00
commit 8cd29b627c

View File

@ -46,13 +46,21 @@ class CMSPageAddController extends CMSPageEditController {
$parentModeField = new SelectionGroup(
"ParentModeField",
array(
"top//$topTitle" => null, //new LiteralField("Dummy", ''),
"child//$childTitle" => $parentField = new TreeDropdownField(
new SelectionGroup_Item(
"top",
null,
$topTitle
),
new SelectionGroup_Item(
'child',
$parentField = new TreeDropdownField(
"ParentID",
"",
'SiteTree',
'ID',
'TreeTitle'
),
$childTitle
)
)
),