mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
only allow users having the a_user permission to search by email address (later on there will most likely a new permission for general email visibility)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8460 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -53,10 +53,12 @@ function insert_single(user)
|
||||
<dt><label for="username">{L_USERNAME}:</label></dt>
|
||||
<dd><input type="text" name="username" id="username" value="{USERNAME}" class="inputbox" /></dd>
|
||||
</dl>
|
||||
<!-- IF S_EMAIL_SEARCH_ALLOWED -->
|
||||
<dl>
|
||||
<dt><label for="email">{L_EMAIL}:</label></dt>
|
||||
<dd><input type="text" name="email" id="email" value="{EMAIL}" class="inputbox" /></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label for="icq">{L_ICQ}:</label></dt>
|
||||
<dd><input type="text" name="icq" id="icq" value="{ICQ}" class="inputbox" /></dd>
|
||||
|
@@ -84,8 +84,12 @@
|
||||
<td class="row2"><input class="post" type="text" name="icq" value="{ICQ}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- IF S_EMAIL_SEARCH_ALLOWED -->
|
||||
<td class="row1"><b class="genmed">{L_EMAIL}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" /></td>
|
||||
<!-- ELSE -->
|
||||
<td colspan="2" class="row1"> </td>
|
||||
<!-- ENDIF -->
|
||||
<td class="row1"><b class="genmed">{L_AIM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="aim" value="{AIM}" /></td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user