FIX Limit ExtraMeta to only allow meta and link elements

This commit is contained in:
Hamish Friedlander 2014-02-17 12:08:09 +13:00
parent 9c46c7d1e8
commit 224033e518

View File

@ -105,7 +105,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
"MenuTitle" => "Varchar(100)", "MenuTitle" => "Varchar(100)",
"Content" => "HTMLText", "Content" => "HTMLText",
"MetaDescription" => "Text", "MetaDescription" => "Text",
"ExtraMeta" => "HTMLText", "ExtraMeta" => "HTMLText('meta, link')",
"ShowInMenus" => "Boolean", "ShowInMenus" => "Boolean",
"ShowInSearch" => "Boolean", "ShowInSearch" => "Boolean",
"Sort" => "Int", "Sort" => "Int",