X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_lists.inc;h=86968c9fbe644a6c13336ae6dc7a082fb5902af2;hb=3e2a432dd72688dbac39a07716201b2b00c16c8b;hp=864c486afcfa79938e85054f6c4870b448b99640;hpb=e69cba03db9c0f74d3febcdc9014e81aafa5914e;p=fa-stable.git
diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc
index 864c486a..86968c9f 100644
--- a/includes/ui/ui_lists.inc
+++ b/includes/ui/ui_lists.inc
@@ -6,10 +6,10 @@ include_once($path_to_root . "/includes/types.inc");
include_once($path_to_root . "/includes/current_user.inc");
$_search_button = " ";
+ ."%s/images/locate.png) no-repeat;%s' aspect='fallback' name='%s' value=' ' title='"._("Set filter")."'> ";
$_select_button = " ";
+ ."%s/images/button_ok.png) no-repeat;%s' aspect='fallback' name='%s' value=' ' title='"._("Select")."'> ";
$all_items = reserved_words::get_all();
@@ -72,7 +72,7 @@ $opts = array( // default options
'' : _('Press Space tab for search pattern entry');
if ($opts['box_hint'] === null)
- $opts['box_hint'] = $search_box ?
+ $opts['box_hint'] = $search_box && $search_submit != false ?
($by_id ? _('Enter code fragment to search or * for all')
: _('Enter description fragment to search or * for all')) :'';
@@ -1427,10 +1427,7 @@ function bank_account_types_list($name, $selected_id=null)
$items = array();
foreach ($types as $type)
{
- if (payment_person_types::has_items($type['id']))
- {
$items[$type['id']] = $type['name'];
- }
}
return array_selector($name, $selected_id, $items );