From 4789128c9e41cb1a6ab8f04fd5ddf4899d70a0bc Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 19 Feb 2010 14:38:08 +0100 Subject: [PATCH] generate_lang_file.php : Added LSsearch predefinedFilters labels support --- public_html/lang/generate_lang_file.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php index 4379105a..a077fc1a 100755 --- a/public_html/lang/generate_lang_file.php +++ b/public_html/lang/generate_lang_file.php @@ -73,6 +73,13 @@ if (loadDir('../'.LS_OBJECTS_DIR)) { add($lay['label']); } } + // LSsearch + if (is_array($conf['LSsearch']['predefinedFilters'])) { + foreach($conf['LSsearch']['predefinedFilters'] as $lay) { + add($lay); + } + } + if(is_array($conf['attrs'])) { foreach($conf['attrs'] as $attr) {