Zeile 2 | Zeile 2 |
---|
<head>
|
<head>
|
<title>{$mybb->settings['bbname']} - {$lang->find_users}</title>
| <title>{$mybb->settings['bbname']} - {$lang->find_users}</title>
|
{$headerinclude} </head> <body> {$header}
|
{$headerinclude} </head> <body> {$header}
|
<form action="modcp.php?action=finduser" method="post"> <table width="100%" border="0" align="center"> <tr> {$modcp_nav} <td valign="top"> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="thead" colspan="5"><strong>{$lang->users}</strong></td> </tr> <tr> <td class="tcat" width="30%"><span class="smalltext"><strong>{$lang->username}</strong></span></td> <td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->usergroup}</strong></span></td> <td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->regdate}</strong></span></td> <td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->lastvisit}</strong></span></td> <td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->postnum}</strong></span></td> </tr> {$users} </table> {$multipage} <br />
| <table width="100%" border="0" align="center"> <tr> {$modcp_nav} <td valign="top"> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="thead" colspan="5"><strong>{$lang->users}</strong></td> </tr> <tr> <td class="tcat" width="30%"><span class="smalltext"><strong>{$lang->username}</strong></span></td> <td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->usergroup}</strong></span></td> <td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->regdate}</strong></span></td> <td class="tcat" align="center" width="15%"><span class="smalltext"><strong>{$lang->lastvisit}</strong></span></td> <td class="tcat" align="center" width="10%"><span class="smalltext"><strong>{$lang->postnum}</strong></span></td> </tr> {$users} </table> {$multipage} <br /> <form action="modcp.php?action=finduser" method="post">
|
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="thead" colspan="2"><strong>{$lang->find_users}</strong></td> </tr> <tr> <td class="trow1" width="25%"><strong>{$lang->username_contains}</strong></td>
|
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td class="thead" colspan="2"><strong>{$lang->find_users}</strong></td> </tr> <tr> <td class="trow1" width="25%"><strong>{$lang->username_contains}</strong></td>
|
<td class="trow1" width="75%"><input type="text" name="username" id="username" value="{$mybb->input['username']}" class="textbox" /></td>
| <td class="trow1" width="75%"><input type="text" name="username" id="username" value="{$username}" class="textbox" /></td>
|
</tr> <tr> <td class="trow1" width="25%"><strong>{$lang->sort_by}</strong></td>
| </tr> <tr> <td class="trow1" width="25%"><strong>{$lang->sort_by}</strong></td>
|
Zeile 55 | Zeile 55 |
---|
<div align="center"> <input type="submit" class="button" value="{$lang->find_users}" /> </div>
|
<div align="center"> <input type="submit" class="button" value="{$lang->find_users}" /> </div>
|
</td> </tr> </table> </form>
| </form> </td> </tr> </table>
|
{$footer}
|
{$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 69 | Zeile 69 |
---|
MyBB.select2(); $("#username").select2({ placeholder: "{$lang->find_users}",
|
MyBB.select2(); $("#username").select2({ placeholder: "{$lang->find_users}",
|
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',
|