generate_lang_file.php : Added LSsearch predefinedFilters labels support
authorBenjamin Renard <brenard@easter-eggs.com>
Fri, 19 Feb 2010 13:38:08 +0000 (14:38 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Fri, 19 Feb 2010 13:38:08 +0000 (14:38 +0100)
public_html/lang/generate_lang_file.php

index 4379105..a077fc1 100755 (executable)
@@ -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) {