*** empty log message ***
[mir.git] / templates / admin / content.template
index 506440b..4fdcb3b 100755 (executable)
     <input type="hidden" name="do" value="update">
   </if>
 
-<table width="90%" cellspacing="3" cellpadding="2">
+<table width="100%" cellspacing="0" cellpadding="5">
   <tr>
     <td align="left" valign="top">
       <if new=="0">
-        [ <a href="${config.actionRoot}?module=Comment&do=articlecomments&articleid=${article.id}&returnurl=${thisurl}">${lang("content.comments")}</a> ] &nbsp;&nbsp;
-          [ <a href="${article.publicurl}">${lang("preview")}</a> ]
+        <call showButton(
+          "module=Comment&do=articlecomments&articleid="+article.id+"&returnurl="+utility.encodeURI(thisurl),
+          lang("content.comments"))>
+        <call showAbsoluteLinkButton(
+          article.publicurl,
+          lang("preview"))>
+        <list article.operations as op>
+          <call showButton(
+            "module=Localizer&do=articleoperation&operation="+op+"&articleid="+article.id+"&returnurl="+utility.encodeURI(thisurl), 
+            lang("content.operation."+op))>
+        </list>
       </if>
       
     </td>
@@ -38,7 +47,8 @@
       </if>
     </td>
   </tr>
-
+</table>
+<table width="100%" cellspacing="3" cellpadding="2">
   <tr>
     <td align="right" class="table-left">
       id # :
@@ -67,7 +77,6 @@
     </td>
   </tr>
 
-
   <call PulldownTableRow (lang("content.articletype"), "to_article_type", articletypes, "id", "name", article.to_article_type, "articletypes.")>
   <call PulldownTableRow (lang("content.language"), "to_language", languages, "id", "name", article.to_language, "")>