mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Split user search from memberlist_body
git-svn-id: file:///svn/phpbb/trunk@4725 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e86b1d248b
commit
bdbbc7544b
1 changed files with 86 additions and 0 deletions
86
phpBB/styles/subSilver/template/memberlist_search.html
Normal file
86
phpBB/styles/subSilver/template/memberlist_search.html
Normal file
|
@ -0,0 +1,86 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
<!--
|
||||
function insert_user(user)
|
||||
{
|
||||
opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = ( opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value.length && opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.type == "textarea" ) ? opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value + "\n" + user : user;
|
||||
}
|
||||
|
||||
function insert_marked(users)
|
||||
{
|
||||
for(i = 0; i < users.length; i++)
|
||||
{
|
||||
if ( users[i].checked )
|
||||
{
|
||||
insert_user(users[i].value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function marklist(status)
|
||||
{
|
||||
for (i = 0; i < document.results.length; i++)
|
||||
{
|
||||
document.results.elements[i].checked = status;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<form method="post" action="{S_MODE_ACTION}" name="search"><table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<th colspan="2">{L_FIND_USERNAME}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" colspan="2"><span class="gensmall">{L_FIND_USERNAME_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_USERNAME}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="username" value="{USERNAME}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_EMAIL}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_ICQ}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="icq" value="{ICQ}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_AIM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="aim" value="{AIM}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_YIM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="yahoo" value="{YAHOO}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_MSNM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="msn" value="{MSNM}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_JOINED}:</b></td>
|
||||
<td class="row2"><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="post" type="text" name="joined" value="{JOINED}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_LAST_ACTIVE}:</b></td>
|
||||
<td class="row2"><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="post" type="text" name="active" value="{ACTIVE}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POSTS}:</b></td>
|
||||
<td class="row2"><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="post" type="text" name="count" value="{COUNT}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POST_IP}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="ip" value="{IP}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_SORT_BY}:</b></td>
|
||||
<td class="row2" nowrap="nowrap"><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cat" colspan="2" align="center"><input class="btnlite" type="submit" name="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
||||
</tr>
|
||||
</table></form>
|
||||
|
||||
<br clear="all" />
|
Loading…
Add table
Reference in a new issue