Reverts test code committed in a52514a3

This commit is contained in:
Simon Welsh 2012-11-10 15:42:45 +13:00
parent 0fe93796c4
commit d006c08db3

View File

@ -51,13 +51,10 @@ class SiteConfig extends DataObject implements PermissionProvider {
$fields = new FieldList( $fields = new FieldList(
new TabSet("Root", new TabSet("Root",
$tabMain = new TabSet('Main', $tabMain = new Tab('Main',
new Tab('bla', $titleField = new TextField("Title", _t('SiteConfig.SITETITLE', "Site title")),
$titleField = new TextField("Title", _t('SiteConfig.SITETITLE', "Site title")), $taglineField = new TextField("Tagline", _t('SiteConfig.SITETAGLINE', "Site Tagline/Slogan")),
$taglineField = new TextField("Tagline", _t('SiteConfig.SITETAGLINE', "Site Tagline/Slogan")), $themeDropdownField = new DropdownField("Theme", _t('SiteConfig.THEME', 'Theme'), $this->getAvailableThemes())
$themeDropdownField = new DropdownField("Theme", _t('SiteConfig.THEME', 'Theme'), $this->getAvailableThemes())
),
new Tab('blubb')
), ),
$tabAccess = new Tab('Access', $tabAccess = new Tab('Access',
$viewersOptionsField = new OptionsetField("CanViewType", _t('SiteConfig.VIEWHEADER', "Who can view pages on this site?")), $viewersOptionsField = new OptionsetField("CanViewType", _t('SiteConfig.VIEWHEADER', "Who can view pages on this site?")),