Zeile 19 | Zeile 19 |
---|
<select name="username_match"> <option value="begins">{$lang->begins_with}</option> <option value="contains">{$lang->username_contains}</option>
|
<select name="username_match"> <option value="begins">{$lang->begins_with}</option> <option value="contains">{$lang->username_contains}</option>
|
| <option value="exact">{$lang->username_exact}</option>
|
</select> <input type="text" class="textbox" name="username" id="username" />
| </select> <input type="text" class="textbox" name="username" id="username" />
|
Zeile 30 | Zeile 31 |
---|
<input type="text" class="textbox" name="website" id="website" /> </td> </tr>
|
<input type="text" class="textbox" name="website" id="website" /> </td> </tr>
|
<tr> <td class="trow1" width="20%"><strong><label for="aim">{$lang->search_aim}</label></strong></td> <td class="trow1"> <input type="text" class="textbox" name="aim" id="aim" /> </td> </tr> <tr> <td class="trow1" width="20%"><strong><label for="skype">{$lang->search_skype}</label></strong></td> <td class="trow1"> <input type="text" class="textbox" name="skype" id="skype" /> </td> </tr> <tr> <td class="trow1" width="20%"><strong><label for="google">{$lang->search_google}</label></strong></td> <td class="trow1"> <input type="text" class="textbox" name="google" id="google" /> </td> </tr> <tr> <td class="trow1" width="20%"><strong><label for="yahoo">{$lang->search_yahoo}</label></strong></td> <td class="trow1"> <input type="text" class="textbox" name="yahoo" id="yahoo" /> </td> </tr> <tr> <td class="trow1" width="20%"><strong><label for="icq">{$lang->search_icq}</label></strong></td> <td class="trow1"> <input type="text" class="textbox" name="icq" id="icq" /> </td> </tr>
| {$contact_fields['skype']} {$contact_fields['google']} {$contact_fields['icq']}
|
<tr> <td class="tcat" colspan="2"><strong>{$lang->search_options}</strong></td> </tr>
| <tr> <td class="tcat" colspan="2"><strong>{$lang->search_options}</strong></td> </tr>
|
Zeile 72 | Zeile 46 |
---|
<option value="lastvisit">{$lang->sort_by_lastvisit}</option> <option value="postnum">{$lang->sort_by_posts}</option> <option value="threadnum">{$lang->sort_by_threads}</option>
|
<option value="lastvisit">{$lang->sort_by_lastvisit}</option> <option value="postnum">{$lang->sort_by_posts}</option> <option value="threadnum">{$lang->sort_by_threads}</option>
|
<option value="referrals">{$lang->sort_by_referrals}</option>
| {$referrals_option}
|
</select><br /> <span class="smalltext"> <input type="radio" class="radio" name="order" id="order_asc" value="asc" /> <label for="order_asc">{$lang->order_asc}</label><br />
| </select><br /> <span class="smalltext"> <input type="radio" class="radio" name="order" id="order_asc" value="asc" /> <label for="order_asc">{$lang->order_asc}</label><br />
|
Zeile 90 | Zeile 64 |
---|
<div align="center"><br /><input type="submit" class="button" name="submit" value="{$lang->search}" /></div> </form> {$footer}
|
<div align="center"><br /><input type="submit" class="button" name="submit" value="{$lang->search}" /></div> </form> {$footer}
|
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css"> <script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1804"></script>
| <link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807"> <script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
|
<script type="text/javascript"> <!-- if(use_xmlhttprequest == "1")
| <script type="text/javascript"> <!-- if(use_xmlhttprequest == "1")
|
Zeile 99 | Zeile 73 |
---|
MyBB.select2(); $("#username").select2({ placeholder: "{$lang->search_user}",
|
MyBB.select2(); $("#username").select2({ placeholder: "{$lang->search_user}",
|
minimumInputLength: 3, maximumSelectionSize: 3,
| minimumInputLength: 2,
|
multiple: false, ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users",
| multiple: false, ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users",
|
Zeile 134 | Zeile 107 |
---|
}, });
|
}, });
|
$('[for=username]').click(function(){
| $('[for=username]').on('click', function(){
|
$("#username").select2('open'); return false; });
| $("#username").select2('open'); return false; });
|