X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6d01db205f41f16755fe7fbe49694b3bba2121c8..1d46ebef52412b3b93e547ce124d813cf34e3b56:/templates/editpage.tmpl?ds=sidebyside diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl index efe077f84..4736c95d0 100644 --- a/templates/editpage.tmpl +++ b/templates/editpage.tmpl @@ -18,13 +18,16 @@ <TMPL_VAR FIELD-EDITCONTENT><br /> </div> <TMPL_IF NAME="CAN_COMMIT"> -<label for="editmessage" class="block">Optional comment about this change:</label> +<label for="editmessage" class="block">Optional description of this change:</label> <TMPL_VAR FIELD-EDITMESSAGE><br /> </TMPL_IF> <TMPL_VAR FORM-SUBMIT> <TMPL_VAR HELPONFORMATTINGLINK> <TMPL_IF NAME="FIELD-ATTACHMENT"> <a class="toggle" href="#attachments">Attachments</a> +</TMPL_IF> +<TMPL_VAR FIELD-SUBSCRIBE> +<TMPL_IF NAME="FIELD-ATTACHMENT"> <div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments"> <div id="fileupload"> <script> @@ -44,7 +47,7 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget </script> <script id="template-download" type="text/x-jquery-tmpl"> <tr class="template-download{{if error}} ui-state-error{{/if}}"> - <td><input type="checkbox" name="attachment_select" value="${name}" />${name}</td> + <td><input type="checkbox" checked name="attachment_select" value="${name}" />${name}</td> <td>${humansize}</td> {{if error}} <td class="error" colspan="2">failed!</td> @@ -62,9 +65,7 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget </div> <TMPL_VAR FIELD-ATTACHMENT> <noscript><TMPL_VAR FIELD-UPLOAD></noscript> -<TMPL_IF NAME="ATTACHMENT_LIST"> <TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE> -</TMPL_IF> </div> </div> </TMPL_IF>