diff --git a/_ajax/get_user_list.php b/_ajax/get_user_list.php index d96f821..56a2bec 100644 --- a/_ajax/get_user_list.php +++ b/_ajax/get_user_list.php @@ -7,7 +7,7 @@ else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos'); $filter1 = ""; if (!empty($_POST['uk_filter_name'])) { - $filter1 = "AND uk_name LIKE '%".$_POST['uk_filter_name']."%'"; + $filter1 = "AND uk_name LIKE '".$_POST['uk_filter_name']."%'"; } $filter2 = ""; diff --git a/index.php b/index.php index 975813a..d5c43e9 100644 --- a/index.php +++ b/index.php @@ -73,6 +73,10 @@ setlocale(LC_ALL, 'hu_HU'); onReady(function () { show('main_content', true); show('loading', false); + //user list autofocus Firefox fix + if ($("#uk_filter_name").length) { + $("#uk_filter_name").focus(); + } }); diff --git a/template/templates/nav.tpl b/template/templates/nav.tpl index 14c1b95..73c62ec 100755 --- a/template/templates/nav.tpl +++ b/template/templates/nav.tpl @@ -2,8 +2,7 @@ {if $can_logout}
  • - Menü - ☰ + Menü ≡ {if $page == 'admin'} diff --git a/template/templates/user_list.tpl b/template/templates/user_list.tpl index 8483fca..5da5069 100755 --- a/template/templates/user_list.tpl +++ b/template/templates/user_list.tpl @@ -10,7 +10,7 @@
    - +