aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2019-05-28 10:15:59 +0200
committerJakub Senko <jakubsenko@gmail.com>2019-05-28 10:15:59 +0200
commit9e985af1e885c5f99d7944f2367547b58b810569 (patch)
treef550ba7fad1ae65f18203b760bf2c37b44792479 /phpBB/styles/prosilver/template
parent97e92f52d7b60ec7194bbee772ab14592c551e82 (diff)
downloadforums-9e985af1e885c5f99d7944f2367547b58b810569.tar
forums-9e985af1e885c5f99d7944f2367547b58b810569.tar.gz
forums-9e985af1e885c5f99d7944f2367547b58b810569.tar.bz2
forums-9e985af1e885c5f99d7944f2367547b58b810569.tar.xz
forums-9e985af1e885c5f99d7944f2367547b58b810569.zip
[ticket/15932] Disallow deleting locked attachments
PHPBB3-15932
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r--phpBB/styles/prosilver/template/ucp_attachments.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_attachments.html b/phpBB/styles/prosilver/template/ucp_attachments.html
index 696f621116..cfdbf9c7ea 100644
--- a/phpBB/styles/prosilver/template/ucp_attachments.html
+++ b/phpBB/styles/prosilver/template/ucp_attachments.html
@@ -44,7 +44,7 @@
</dt>
<dd class="extra">{attachrow.DOWNLOAD_COUNT}</dd>
<dd class="time"><span>{attachrow.POST_TIME}</span></dd>
- <dd class="mark"><input type="checkbox" name="attachment[{attachrow.ATTACH_ID}]" value="1" /></dd>
+ <dd class="mark"><input type="checkbox" name="attachment[{attachrow.ATTACH_ID}]" value="1"{% if attachrow.S_LOCKED %} disabled title="{{ lang('ATTACHMENT_LOCKED') }}"{% endif %} /></dd>
</dl>
</li>
<!-- END attachrow -->