aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-10-11 17:01:43 +0000
committerChris Smith <toonarmy@phpbb.com>2008-10-11 17:01:43 +0000
commit853a12cf00ef5d8b1bc1f2590d7b069ce04ac690 (patch)
treef72e7148f51ab5c7fef4c199406b57a2f97b7f32 /phpBB/styles/prosilver
parenta203d52e4feeb295e4d222310383c0bb4a3c5652 (diff)
downloadforums-853a12cf00ef5d8b1bc1f2590d7b069ce04ac690.tar
forums-853a12cf00ef5d8b1bc1f2590d7b069ce04ac690.tar.gz
forums-853a12cf00ef5d8b1bc1f2590d7b069ce04ac690.tar.bz2
forums-853a12cf00ef5d8b1bc1f2590d7b069ce04ac690.tar.xz
forums-853a12cf00ef5d8b1bc1f2590d7b069ce04ac690.zip
Do not send PMs with warnings if the user cannot read PMs or they are disabled. #30815
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9002 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r--phpBB/styles/prosilver/template/mcp_warn_post.html2
-rw-r--r--phpBB/styles/prosilver/template/mcp_warn_user.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/mcp_warn_post.html b/phpBB/styles/prosilver/template/mcp_warn_post.html
index 5937598a52..d09209f5a4 100644
--- a/phpBB/styles/prosilver/template/mcp_warn_post.html
+++ b/phpBB/styles/prosilver/template/mcp_warn_post.html
@@ -52,11 +52,13 @@
<fieldset>
<textarea name="warning" id="warning" class="inputbox" cols="40" rows="3">{L_WARNING_POST_DEFAULT}</textarea>
+ <!-- IF S_CAN_NOTIFY -->
<br /><br />
<dl class="panel">
<dt>&nbsp;</dt>
<dd><label><input type="checkbox" name="notify_user" checked="checked" /> {L_NOTIFY_USER_WARN}</label></dd>
</dl>
+ <!-- ENDIF -->
</fieldset>
<span class="corners-bottom"><span></span></span></div>
diff --git a/phpBB/styles/prosilver/template/mcp_warn_user.html b/phpBB/styles/prosilver/template/mcp_warn_user.html
index c807a6b640..5b5156f3a1 100644
--- a/phpBB/styles/prosilver/template/mcp_warn_user.html
+++ b/phpBB/styles/prosilver/template/mcp_warn_user.html
@@ -36,11 +36,13 @@
<fieldset>
<textarea name="warning" id="warning" class="inputbox" cols="40" rows="3"></textarea>
+ <!-- IF S_CAN_NOTIFY -->
<br /><br />
<dl class="panel">
<dt>&nbsp;</dt>
<dd><label><input type="checkbox" name="notify_user" checked="checked" /> {L_NOTIFY_USER_WARN}</label></dd>
</dl>
+ <!-- ENDIF -->
</fieldset>
<span class="corners-bottom"><span></span></span></div>