commentlist fixxing
authorrk <rk>
Tue, 2 Apr 2002 21:49:19 +0000 (21:49 +0000)
committerrk <rk>
Tue, 2 Apr 2002 21:49:19 +0000 (21:49 +0000)
source/mircoders/producer/Producer.java
source/mircoders/producer/ProducerStartPage.java
templates-dist/admin/commentlist.template

index f8eb656..b641371 100755 (executable)
@@ -130,7 +130,7 @@ abstract public class Producer {
 
     logHTML(htmlout, "Producer."+moduleName+" finished producing: " +
             overall + " ms for "+ pageCount+" Pages = " +pagesPerMinute + " pages/min");
-    logHTML(htmlout, "Back to <a href=\""+actionRoot+"\">Admin-Startage</a>");
+    printHTML(htmlout, "Back to <a href=\""+actionRoot+"\">Admin-Startage</a>");
   }
 
        public void logHTML(PrintWriter out, String s) {
index 8ae3e5b..94400e7 100755 (executable)
@@ -56,7 +56,7 @@ public class ProducerStartPage extends Producer {
     if(sync==true){
       logHTML(htmlout, "Producer.Startpage: rsyncing...");
       Helper.rsync();
-      logHTML(htmlout, "Producer.Startpage: rsync done");
+      printHTML(htmlout, "Producer.Startpage: rsync done");
     }
   }
 }
index 7951a98..92b9406 100755 (executable)
                </td>
 
                <td>
+                               ${data.articleHash[entry.to_media]["title"]}<br>
                                <a href="${config.actionRoot}?module=Content&do=edit&id=${data.articleHash[entry.to_media]["id"]}">
-                               ${data.articleHash[entry.to_media]["title"]}</a>
+                               edit</a> |
+                               <a href="${config.producerDocRoot}${data.articleHash[entry.to_media]["publish_path"]}${data.articleHash[entry.to_media]["id"]}.shtml">
+                               view</a>
                </td>
 
                <td><font size="1">&nbsp;<a href="${config.actionRoot}?module=Comment&do=delete&id=${entry.id}">${lang("delete")}</a>
@@ -71,7 +74,7 @@
 
        </tr>
   </list>
-  
+
   <tr>
     <td colspan="4" bgcolor="#006600"><font color="#ffffff">${data.count} ${lang("records")}
       / ${lang("show_from_to", data.from, data.to)}</font></td>