Permalink
Browse files

Reverts test code committed in a52514a

  • Loading branch information...
1 parent 0fe9379 commit d006c08db3817dd848a097da8dc48516447c1fcc @simonwelsh simonwelsh committed Nov 10, 2012
Showing with 4 additions and 7 deletions.
  1. +4 −7 code/model/SiteConfig.php
View
@@ -51,13 +51,10 @@ public function getCMSFields() {
$fields = new FieldList(
new TabSet("Root",
- $tabMain = new TabSet('Main',
- new Tab('bla',
- $titleField = new TextField("Title", _t('SiteConfig.SITETITLE', "Site title")),
- $taglineField = new TextField("Tagline", _t('SiteConfig.SITETAGLINE', "Site Tagline/Slogan")),
- $themeDropdownField = new DropdownField("Theme", _t('SiteConfig.THEME', 'Theme'), $this->getAvailableThemes())
- ),
- new Tab('blubb')
+ $tabMain = new Tab('Main',
+ $titleField = new TextField("Title", _t('SiteConfig.SITETITLE', "Site title")),
+ $taglineField = new TextField("Tagline", _t('SiteConfig.SITETAGLINE', "Site Tagline/Slogan")),
+ $themeDropdownField = new DropdownField("Theme", _t('SiteConfig.THEME', 'Theme'), $this->getAvailableThemes())
),
$tabAccess = new Tab('Access',
$viewersOptionsField = new OptionsetField("CanViewType", _t('SiteConfig.VIEWHEADER', "Who can view pages on this site?")),

0 comments on commit d006c08

Please sign in to comment.