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 32 | Zeile 33 |
---|
</tr> {$contact_fields['skype']} {$contact_fields['google']}
|
</tr> {$contact_fields['skype']} {$contact_fields['google']}
|
{$contact_fields['yahoo']}
| |
{$contact_fields['icq']} <tr> <td class="tcat" colspan="2"><strong>{$lang->search_options}</strong></td>
| {$contact_fields['icq']} <tr> <td class="tcat" colspan="2"><strong>{$lang->search_options}</strong></td>
|
Zeile 75 | Zeile 75 |
---|
placeholder: "{$lang->search_user}", minimumInputLength: 2, multiple: false,
|
placeholder: "{$lang->search_user}", minimumInputLength: 2, multiple: false,
|
| allowClear: true,
|
ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users", dataType: 'json',
| ajax: { // instead of writing the function to execute the request we use Select2's convenient helper url: "xmlhttp.php?action=get_users", dataType: 'json',
|
Zeile 107 | Zeile 108 |
---|
}, });
|
}, });
|
$('[for=username]').click(function(){
| $('[for=username]').on('click', function(){
|
$("#username").select2('open'); return false; });
| $("#username").select2('open'); return false; });
|