generate_lang_file.php : Added LSsearch predefinedFilters labels support

This commit is contained in:
Benjamin Renard 2010-02-19 14:38:08 +01:00
parent 8263629e6e
commit 4789128c9e

View file

@ -73,6 +73,13 @@ if (loadDir('../'.LS_OBJECTS_DIR)) {
add($lay['label']); add($lay['label']);
} }
} }
// LSsearch
if (is_array($conf['LSsearch']['predefinedFilters'])) {
foreach($conf['LSsearch']['predefinedFilters'] as $lay) {
add($lay);
}
}
if(is_array($conf['attrs'])) { if(is_array($conf['attrs'])) {
foreach($conf['attrs'] as $attr) { foreach($conf['attrs'] as $attr) {