MINOR Reduced HTML validation errors in CMS

This commit is contained in:
Ingo Schommer 2011-12-18 16:59:49 +01:00
parent ae0ec6304d
commit 4c8f6e7f4d

View File

@ -1052,9 +1052,9 @@ JS;
// new HiddenField("ParentID", false, ($this->parentRecord) ? $this->parentRecord->ID : null),
// TODO Should be part of the form attribute, but not possible in current form API
$hintsField = new LiteralField('Hints', sprintf('<span class="hints" data-hints="%s"></span>', $this->SiteTreeHints())),
$label1 = new LabelField("1", _t('CMSMain.1', '1').$labelTriangle),
$label1 = new LabelField("Triangle1", _t('CMSMain.1', '1').$labelTriangle),
$parentField = new TreeDropdownField("ParentID", _t('CMSMain.AddFormParentLabel', 'Choose parent'), 'SiteTree'),
$label2 = new LabelField("1", _t('CMSMain.2', '2').$labelTriangle),
$label2 = new LabelField("Triangle2", _t('CMSMain.2', '2').$labelTriangle),
new OptionsetField("PageType", _t('CMSMain.ChoosePageType', 'Choose page type'), $pageTypes, 'Page')
);
$label1->addExtraClass("numeric-label");