mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Re-activated user search
git-svn-id: file:///svn/phpbb/trunk@3024 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1,6 +1,91 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<form method="post" action="{S_MODE_ACTION}"><table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
|
||||
<!-- You should retain this javascript in your own template! -->
|
||||
<!-- IF S_SEARCH_USER -->
|
||||
<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 width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0">
|
||||
<tr>
|
||||
<th class="thHead" colspan="2" height="25">{L_SEARCH_USERNAME}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2" colspan="2"><span class="gensmall">{L_SEARCH_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><span class="gen">{L_USERNAME}: </span></td>
|
||||
<td class="row1"><input class="post" type="text" name="username" value="{USERNAME}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2"><span class="gen">{L_EMAIL}: </span></td>
|
||||
<td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><span class="gen">{L_ICQ_NUMBER}: </span></td>
|
||||
<td class="row1"><input class="post" type="text" name="icq" value="{ICQ}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2"><span class="gen">{L_AIM}: </span></td>
|
||||
<td class="row2"><input class="post" type="text" name="aim" value="{AIM}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><span class="gen">{L_YAHOO}: </span></td>
|
||||
<td class="row1"><input class="post" type="text" name="yahoo" value="{YAHOO}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2"><span class="gen">{L_MESSENGER}: </span></td>
|
||||
<td class="row2"><input class="post" type="text" name="msn" value="{MSNM}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><span class="gen">{L_JOINED}: </span></td>
|
||||
<td class="row1"><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="post" type="text" name="joined" value="{JOINED}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2"><span class="gen">{L_ACTIVE}: </span></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"><span class="gen">{L_POSTS}: </span></td>
|
||||
<td class="row1"><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="post" type="text" name="count" value="{COUNT}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2"><span class="gen">{L_SORT_BY}: </span></td>
|
||||
<td class="row2" valign="middle" nowrap="nowrap"><span class="genmed">{S_SORT_OPTIONS} {S_ORDER_SELECT}</span> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="catBottom" colspan="2" align="center"><input class="liteoption" type="submit" name="submit" value="{L_SEARCH}" /> <input class="liteoption" type="reset" value="{L_RESET}" /></td>
|
||||
</tr>
|
||||
</table></form>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_SEARCH_USER --><form method="post" name="results" action="{S_MODE_ACTION}" onsubmit="insert_marked(this.user);return false"><!-- ELSE --><form method="post" action="{S_MODE_ACTION}"><!-- ENDIF --><table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
|
||||
<tr>
|
||||
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
|
||||
<td align="right" nowrap="nowrap"><span class="genmed">{L_SELECT_SORT_METHOD}: {S_MODE_SELECT} {L_ORDER} {S_ORDER_SELECT} <input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" /></span></td>
|
||||
@@ -8,7 +93,7 @@
|
||||
</table>
|
||||
|
||||
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
|
||||
<tr>
|
||||
<tr>
|
||||
<th height="25" class="thCornerL" nowrap="nowrap">#</th>
|
||||
<th class="thTop" nowrap="nowrap"> </th>
|
||||
<th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
|
||||
@@ -17,6 +102,7 @@
|
||||
<th class="thTop" nowrap="nowrap">{L_JOINED}</th>
|
||||
<th class="thTop" nowrap="nowrap">{L_POSTS}</th>
|
||||
<th class="thCornerR" nowrap="nowrap">{L_WEBSITE}</th>
|
||||
<!-- IF S_SEARCH_USER --><th width="2%" class="thCornerR" nowrap="nowrap">{L_MARK}</th><!-- ENDIF -->
|
||||
</tr>
|
||||
<!-- BEGIN memberrow -->
|
||||
<!-- IF memberrow.S_ROW_COUNT is even -->
|
||||
@@ -32,28 +118,23 @@
|
||||
<td align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
|
||||
<td align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
|
||||
<td align="center"> {memberrow.WWW_IMG} </td>
|
||||
<!-- IF S_SEARCH_USER --><td align="center" valign="middle"><span class="gensmall"><input type="checkbox" name="user" value="{memberrow.USERNAME}" /></span></td><!-- ENDIF -->
|
||||
</tr>
|
||||
<!-- END memberrow -->
|
||||
<tr>
|
||||
<td class="catbottom" colspan="8" height="28"> </td>
|
||||
<tr>
|
||||
<td class="catbottom" colspan="<!-- IF S_SEARCH_USER -->9<!-- ELSE -->8<!-- ENDIF -->" height="28" align="right"><!-- IF S_SEARCH_USER --><input class="liteoption" type="submit" value="{L_SELECT_MARKED}" /><!-- ENDIF --></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
|
||||
<tr>
|
||||
<td align="right" valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td><span class="nav">{PAGE_NUMBER}</span></td>
|
||||
<td align="right"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
|
||||
<table width="100%" cellspacing="2" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td valign="top"><span class="nav">{PAGE_NUMBER}</span></td>
|
||||
<td align="right"><span class="gensmall"><!-- IF S_SEARCH_USER --><b><span class="gensmall"><a href="javascript:marklist(true);" class="gensmall">{L_MARK_ALL}</a> :: <a href="javascript:marklist(false);" class="gensmall">{L_UNMARK_ALL}</a></span></b><br /><br /><!-- ENDIF -->{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
|
||||
</tr>
|
||||
</table></form>
|
||||
|
||||
<table width="100%" cellspacing="2" border="0" align="center">
|
||||
<tr>
|
||||
<tr>
|
||||
<td valign="top" align="right"><!-- INCLUDE jumpbox.html --></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user