aboutsummaryrefslogtreecommitdiff
path: root/templates/editpage.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-02 15:42:32 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-02 15:42:32 -0400
commitd593533af58d5133ef6ecfc4323e3e1d55d71c48 (patch)
tree473573b1835f97013d78d9e45cc3e37e358c0fa1 /templates/editpage.tmpl
parente9982352406c2c10a8d36f8df60d44d12c2dbc3d (diff)
downloadikiwiki-d593533af58d5133ef6ecfc4323e3e1d55d71c48.tar
ikiwiki-d593533af58d5133ef6ecfc4323e3e1d55d71c48.tar.gz
attachments interface visibility toggling
Diffstat (limited to 'templates/editpage.tmpl')
-rw-r--r--templates/editpage.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
index 1a27beb6f..fdb142c70 100644
--- a/templates/editpage.tmpl
+++ b/templates/editpage.tmpl
@@ -60,10 +60,10 @@ 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">
-<div id=attachments>
-<br />
-<table><caption>Attachments</caption>
+<div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
+<table>
<tr><td colspan=5><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
<TMPL_LOOP NAME="ATTACHMENT_LIST">
<tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr>
@@ -86,3 +86,5 @@ Optional comment about this change:<br />
<TMPL_VAR PAGE_PREVIEW>
</div>
</TMPL_IF>
+
+<TMPL_VAR JAVASCRIPT>