Changed Dropdown value to language specific to allow setting default to 'any'

This commit is contained in:
Tim Klein 2011-09-12 09:17:52 +12:00
parent aefda19ffa
commit 7e1b8a834c

View File

@ -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);