X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_lists.inc;h=72abeecb1879f5b9bf20ab0719edbff241fe3a97;hb=af78fbb535a6fedbc2eb70a26ddc39739be2b986;hp=e6d9f512a754e0266e7be85bce7f4ddf4f4a2537;hpb=c76c9607be58ce1d344f117556ac97da0dfcf218;p=fa-stable.git
diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc
index e6d9f512..72abeecb 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,8 @@ $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
+ 'multi' => false, // multiple select
'select_submit' => false, //submit on select: true/false
'async' => true, // select update via ajax (true) vs _page_body reload
// search box parameters
@@ -43,45 +53,53 @@ $opts = array( // default options
'search_submit' => true, //search submit button: true/false
'size' => 8, // size and max of box tag
'max' => 50,
+ 'height' => false, // number of lines in select box
'cells' => false, // combo displayed as 2