Added custum action feature
[ldapsaisie.git] / public_html / lang / generate_lang_file.php
index 07e0a2d..3b293c4 100755 (executable)
@@ -71,6 +71,15 @@ if (loadDir('../'.LS_OBJECTS_DIR)) {
         add($rel['emptyText']);
       }
     }
+    // Custom Actions
+    if (is_array($conf['customActions'])) {
+      foreach($conf['customActions'] as $act) {
+        add($act['label']);
+        add($act['question_format']);
+        add($act['onSuccessMsgFormat']);
+      }
+    }
+
     // LSform
     if (is_array($conf['LSform']['layout'])) {
       foreach($conf['LSform']['layout'] as $lay) {