scripts/mir-setup/README: update with link to new doc on wiki
[mir.git] / templates / admin / content.template
index c75de47..e0f620f 100755 (executable)
             <call showGETButton(
               "module=Comment&do=articlecomments&articleid="+article.id+"&returnurl="+utility.encodeURI(thisurl),
               lang("content.comments"))>
+              
+            <list article.previews as p>              
+              <call showGETButton(
+                "module=Content&do=showPreview&preview="+p+"&id="+article.id+"&returnurl="+utility.encodeURI(thisurl),
+                lang("content.preview."+p))>
+            </list>
         </td>
         <td align="right" valign="top">
           <if article.is_locked=="1" && article.lockinguser>
     </tr>
   </if>    
 </table>
-  
+
+<if mayEdit=="1">
+  </form>
+</if>  
+
 <if new=="0">
   <table width="90%" cellspacing="0" cellpadding="0">
   
     </table>
   </td>
     <td align="right" valign="top">
-      <call showArticleAttachments(article, mayEdit)>
+      <call showArticleAttachments(article, mayEdit, thisurl)>
     </td>
   </tr>
 </table>
 
 </if>          
-<if mayEdit=="1">
-  </form>
-</if>  
 
   <include "foot.template">
 </body>