Vergleich memberlist_search - 1.8.1 - 1.8.36

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 19Zeile 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>
&nbsp;
<input type="text" class="textbox" name="username" id="username" />

		</select>
&nbsp;
<input type="text" class="textbox" name="username" id="username" />

Zeile 30Zeile 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 72Zeile 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 90Zeile 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"></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 99Zeile 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,

		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 132Zeile 106
				return {id:term, text:term};
}
},

				return {id:term, text:term};
}
},

 
	});

$('[for=username]').on('click', function(){
$("#username").select2('open');
return false;

	});
}
// -->

	});
}
// -->