|
@@ -14,7 +14,7 @@ |
|
|
block discarded – undo |
|
14
|
14
|
]; |
|
15
|
15
|
|
|
16
|
16
|
public function updateCMSFields(FieldList $fields) { |
|
17
|
|
- $fields->addFieldToTab('Root.Canonical', LiteralField::create('Info', '<p>'._t(__CLASS__ . '.InfoField', 'The canonical domain will be added to the HTML head of your pages. It should be specified with the full protocol and with no trailing slash, eg. https://www.example.com').'</p>')); |
|
|
17
|
+ $fields->addFieldToTab('Root.Canonical', LiteralField::create('Info', '<p>' . _t(__CLASS__ . '.InfoField', 'The canonical domain will be added to the HTML head of your pages. It should be specified with the full protocol and with no trailing slash, eg. https://www.example.com') . '</p>')); |
|
18
|
18
|
$fields->addFieldToTab('Root.Canonical', TextField::create('CanonicalDomain')->setDescription(_t(__CLASS__ . '.CanonicalDomainDescription', 'eg. https://www.example.com'))); |
|
19
|
19
|
return $fields; |
|
20
|
20
|
} |
Please login to merge, or discard this patch.