From 4c8f6e7f4d805aa04111497f15a5e6481a0aaf96 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sun, 18 Dec 2011 16:59:49 +0100 Subject: [PATCH] MINOR Reduced HTML validation errors in CMS --- code/controllers/CMSMain.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index 4ab91696..9cfdc8cf 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -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('', $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");