aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-03-23 17:11:43 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-03-23 17:11:43 +0000
commitb33b5f63eba7dbf24421bea1d7cfcfe21667736c (patch)
treed384651ff561edf7b58f9bab557d06050cbc1584 /phpBB/styles
parentd182a88b681dda2893e569b87948f7012fa230c6 (diff)
downloadforums-b33b5f63eba7dbf24421bea1d7cfcfe21667736c.tar
forums-b33b5f63eba7dbf24421bea1d7cfcfe21667736c.tar.gz
forums-b33b5f63eba7dbf24421bea1d7cfcfe21667736c.tar.bz2
forums-b33b5f63eba7dbf24421bea1d7cfcfe21667736c.tar.xz
forums-b33b5f63eba7dbf24421bea1d7cfcfe21667736c.zip
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
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/memberlist_search.html2
-rw-r--r--phpBB/styles/subsilver2/template/memberlist_search.html4
2 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/memberlist_search.html b/phpBB/styles/prosilver/template/memberlist_search.html
index 1d1d45bf8e..65c4707944 100644
--- a/phpBB/styles/prosilver/template/memberlist_search.html
+++ b/phpBB/styles/prosilver/template/memberlist_search.html
@@ -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>
diff --git a/phpBB/styles/subsilver2/template/memberlist_search.html b/phpBB/styles/subsilver2/template/memberlist_search.html
index fff71a90d6..96ffad00d6 100644
--- a/phpBB/styles/subsilver2/template/memberlist_search.html
+++ b/phpBB/styles/subsilver2/template/memberlist_search.html
@@ -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">&nbsp;</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>