From 7e1b8a834cc2c9b5f518ab395fb6b8aadeca85cf Mon Sep 17 00:00:00 2001 From: Tim Klein Date: Mon, 12 Sep 2011 09:17:52 +1200 Subject: [PATCH] Changed Dropdown value to language specific to allow setting default to 'any' --- code/controller/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controller/CMSMain.php b/code/controller/CMSMain.php index 39db1246..a68acd17 100755 --- a/code/controller/CMSMain.php +++ b/code/controller/CMSMain.php @@ -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);