FIX Field labels for subsites virtual pages are no longer repeated

This commit is contained in:
Robbie Averill 2019-05-31 11:04:41 +12:00
parent d1fc84d15c
commit c60acb3190
1 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ class SubsitesVirtualPage extends VirtualPage
'Root.Main', 'Root.Main',
TextareaField::create( TextareaField::create(
'CustomMetaKeywords', 'CustomMetaKeywords',
$this->fieldLabel('CustomMetaTitle') $this->fieldLabel('CustomMetaKeywords')
)->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')), )->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')),
'MetaKeywords' 'MetaKeywords'
); );
@ -121,7 +121,7 @@ class SubsitesVirtualPage extends VirtualPage
'Root.Main', 'Root.Main',
TextareaField::create( TextareaField::create(
'CustomMetaDescription', 'CustomMetaDescription',
$this->fieldLabel('CustomMetaTitle') $this->fieldLabel('CustomMetaDescription')
)->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')), )->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')),
'MetaDescription' 'MetaDescription'
); );
@ -129,7 +129,7 @@ class SubsitesVirtualPage extends VirtualPage
'Root.Main', 'Root.Main',
TextField::create( TextField::create(
'CustomExtraMeta', 'CustomExtraMeta',
$this->fieldLabel('CustomMetaTitle') $this->fieldLabel('CustomExtraMeta')
)->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')), )->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')),
'ExtraMeta' 'ExtraMeta'
); );