mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #26 from icecaster/patch-1
ENHANCEMENT: Added translatable call for search page type dropdown.
This commit is contained in:
commit
b3721d718c
@ -151,7 +151,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
function SearchForm() {
|
||||
// get all page types in a dropdown-compatible format
|
||||
$pageTypes = SiteTree::page_type_classes();
|
||||
array_unshift($pageTypes, 'All');
|
||||
array_unshift($pageTypes, _t('CMSMain.PAGETYPEANYOPT','Any'));
|
||||
$pageTypes = array_combine($pageTypes, $pageTypes);
|
||||
asort($pageTypes);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user