diff options
Diffstat (limited to 'phpBB/styles/prosilver/template')
| -rw-r--r-- | phpBB/styles/prosilver/template/memberlist_search.html | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/phpBB/styles/prosilver/template/memberlist_search.html b/phpBB/styles/prosilver/template/memberlist_search.html index 59b7b0a5a7..15f44bf2e5 100644 --- a/phpBB/styles/prosilver/template/memberlist_search.html +++ b/phpBB/styles/prosilver/template/memberlist_search.html @@ -1,24 +1,3 @@ -<script> - function showHint(str) { - if (str.length<3) { - document.getElementById("livesearch").innerHTML=""; - return; - } - - $.ajax({ - url:'{S_LIVE_SEARCH_ACTION}'+"&q="+str, - success:function(result) { - $("#livesearch").html(result); - } - }); - } - function clearSearch() { - setTimeout(function () { - document.getElementById("livesearch").innerHTML=""; - }, 500); - } -</script> - <h2 class="solo">{L_FIND_USERNAME}</h2> <form method="post" action="{S_MODE_ACTION}" id="search_memberlist"> @@ -30,7 +9,7 @@ <fieldset class="fields1 column1"> <dl> <dt><label for="username">{L_USERNAME}{L_COLON}</label></dt> - <dd><input type="text" name="username" id="username" value="{USERNAME}" class="inputbox" autocomplete="off" onkeyup="showHint(this.value)" onblur="clearSearch()" /> <table class="table1" id="livesearch"></table> </dd> + <dd><input type="text" name="username" id="username" value="{USERNAME}" class="inputbox liveinput" autocomplete="off" /> <table class="table1" id="livesearch"></table></dd> </dl> <!-- IF S_EMAIL_SEARCH_ALLOWED --> <dl> |
