summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-21 12:15:55 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-21 12:15:55 -0400
commit3da279ddd4f3e18b1fcc964b0abc71ebfd6979dd (patch)
treee29bdb0f8d37379cc340ab3e76330d2fc9b0ecec /templates
parent3f1a81c8e58a1c582968ef15c3b8ad9675c22af6 (diff)
editpage: Don't show attachments link when attachments are disabled.
Diffstat (limited to 'templates')
-rw-r--r--templates/editpage.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
index 7f6c2a97a..987531803 100644
--- a/templates/editpage.tmpl
+++ b/templates/editpage.tmpl
@@ -62,8 +62,8 @@ Optional comment about this change:<br />
</TMPL_IF>
<TMPL_VAR FORM-SUBMIT>
<TMPL_VAR HELPONFORMATTINGLINK>
-<a class="toggle" href="#attachments">Attachments</a>
<TMPL_IF NAME="FIELD-ATTACHMENT">
+<a class="toggle" href="#attachments">Attachments</a>
<div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
<table>
<tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>