mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FEATURE: Allow Title and Navigation Label to be searched separately
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@75153 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
36cfa2cc15
commit
859cfe66bd
@ -60,6 +60,8 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
* SiteTree Columns that can be filtered using the the Site Tree Search button
|
* SiteTree Columns that can be filtered using the the Site Tree Search button
|
||||||
*/
|
*/
|
||||||
static $site_tree_filter_options = array(
|
static $site_tree_filter_options = array(
|
||||||
|
'Title' => array('CMSMain.TITLE', 'Title'),
|
||||||
|
'MenuTitle' => array('CMSMain.MENUTITLE', 'Navigation Label'),
|
||||||
'ClassName' => array('CMSMain.PAGETYPE', 'Page Type'),
|
'ClassName' => array('CMSMain.PAGETYPE', 'Page Type'),
|
||||||
'Status' => array('CMSMain.STATUS', 'Status'),
|
'Status' => array('CMSMain.STATUS', 'Status'),
|
||||||
'MetaDescription' => array('CMSMain.METADESC', 'Description'),
|
'MetaDescription' => array('CMSMain.METADESC', 'Description'),
|
||||||
@ -68,10 +70,12 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
|
|
||||||
static function T_SiteTreeFilterOptions(){
|
static function T_SiteTreeFilterOptions(){
|
||||||
return array(
|
return array(
|
||||||
|
'Title' => _t('CMSMain.TITLEOPT', 'Title', 0, 'The dropdown title in CMSMain left SiteTreeFilterOptions'),
|
||||||
|
'MenuTitle' => _t('CMSMain.MENUTITLEOPT', 'Navigation Label', 0, 'The dropdown title in CMSMain left SiteTreeFilterOptions'),
|
||||||
'ClassName' => _t('CMSMain.PAGETYPEOPT', 'Page Type', 0, "The dropdown title in CMSMain left SiteTreeFilterOptions"),
|
'ClassName' => _t('CMSMain.PAGETYPEOPT', 'Page Type', 0, "The dropdown title in CMSMain left SiteTreeFilterOptions"),
|
||||||
'Status' => _t('CMSMain.STATUSOPT', 'Status', 0, "The dropdown title in CMSMain left SiteTreeFilterOptions"),
|
'Status' => _t('CMSMain.STATUSOPT', 'Status', 0, "The dropdown title in CMSMain left SiteTreeFilterOptions"),
|
||||||
'MetaDescription' => _t('CMSMain.METADESCOPT', 'Description', 0, "The dropdown title in CMSMain left SiteTreeFilterOptions"),
|
'MetaDescription' => _t('CMSMain.METADESCOPT', 'Description', 0, "The dropdown title in CMSMain left SiteTreeFilterOptions"),
|
||||||
'MetaKeywords' => _t('CMSMain.METAKEYWORDSOPT', 'Keywords', 0, "The dropdown title in CMSMain left SiteTreeFilterOptions"),
|
'MetaKeywords' => _t('CMSMain.METAKEYWORDSOPT', 'Keywords', 0, "The dropdown title in CMSMain left SiteTreeFilterOptions")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user