]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/editpage.tmpl
Change Projects link to point to projects DB
[ikiwiki.git] / templates / editpage.tmpl
index 27c4aa6ed25ebdcc690ad2d7aab7fffb8e934e83..e94ccce96fcfc2a15d67eca736fc49b6092b97e2 100644 (file)
 <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>
@@ -66,6 +69,15 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget
 </div> 
 </div>
 </TMPL_IF>
+<div class="license">
+    <p>By submitting content to this wiki, you agree to release your work under
+    the dual license of</p>
+    <ul>
+      <li>the Creative Commons Attribution-Share Alike license, and</li>
+      <li>the GNU Free Documentation License, with no Invariant Sections, no
+         Front-Cover Texts, and no Back-Cover-Texts.</li>
+    </ul>
+</div>
 <TMPL_VAR FORM-END>
 <TMPL_VAR WMD_PREVIEW>
 <TMPL_IF NAME="PAGE_PREVIEW">