]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/editpage.tmpl
fix fib zeros
[git.ikiwiki.info.git] / templates / editpage.tmpl
index efe077f84ad07dfc3eee8403333a7137e57de1db..696c8dcad197134bb7264d17d9f5cf950c24aba0 100644 (file)
@@ -44,7 +44,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}}">
 </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>
         <td>${humansize}</td>
         {{if error}}
         <td class="error" colspan="2">failed!</td>
@@ -62,9 +62,7 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget
 </div>
 <TMPL_VAR FIELD-ATTACHMENT>
 <noscript><TMPL_VAR FIELD-UPLOAD></noscript>
 </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_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE>
-</TMPL_IF>
 </div> 
 </div>
 </TMPL_IF>
 </div> 
 </div>
 </TMPL_IF>