X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_lists.inc;h=62a34df9b9c5612c2e4e62bbc5b3088b8defa243;hb=6bdb8986a143a35e8f8a1c318bd14fab839000b2;hp=785ab74604515bae2e260e1fe6599615bf692faf;hpb=c935a4090e3f152dd5549217d69b5b5036197024;p=fa-stable.git
diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc
index 785ab746..62a34df9 100644
--- a/includes/ui/ui_lists.inc
+++ b/includes/ui/ui_lists.inc
@@ -1,20 +1,28 @@
.
+***********************************************************************/
include_once($path_to_root . "/includes/banking.inc");
-include_once($path_to_root . "/includes/reserved.inc");
include_once($path_to_root . "/includes/types.inc");
include_once($path_to_root . "/includes/current_user.inc");
-$_search_button = " ";
+$_search_button = " ";
-$_select_button = " ";
+$_select_button = " ";
-$all_items = reserved_words::get_all();
+$all_items = ALL_TEXT;
//----------------------------------------------------------------------------
-// Universal combo generator
+// Universal sql combo generator
// $sql must return selector values and selector texts in columns 0 & 1
// Options are merged with defaults.
@@ -30,6 +38,7 @@ $opts = array( // default options
'spec_option'=>false, // option text or false
'spec_id' => 0, // option id
// submit on select parameters
+ 'default' => '', // default value when $_POST is not set
'select_submit' => false, //submit on select: true/false
'async' => true, // select update via ajax (true) vs _page_body reload
// search box parameters
@@ -46,41 +55,47 @@ $opts = array( // default options
'cells' => false, // combo displayed as 2