some indy.nl related updates
[mir.git] / source / mircoders / servlet / ServletModuleComment.java
index 03d4235..dc5383d 100755 (executable)
@@ -106,7 +106,7 @@ public class ServletModuleComment extends ServletModule
                                                mergeData.put("articleHash", articleHash);
 
                                                // get comment
-                                               mergeData.put("contentlist",HTMLTemplateProcessor.makeSimpleList(theList));
+                                               mergeData.put("contentlist",theList);
                                                mergeData.put("count", (new Integer(theList.getCount())).toString());
                                                mergeData.put("from", (new Integer(theList.getFrom())).toString());
                                                mergeData.put("to", (new Integer(theList.getTo())).toString());
@@ -117,7 +117,7 @@ public class ServletModuleComment extends ServletModule
                                        }
                                }
                                // raus damit
-                               HTMLTemplateProcessor.process(res,getLanguage(req)+"/"+templateListString, mergeData, res.getWriter());
+                               HTMLTemplateProcessor.process(res, templateListString, mergeData, res.getWriter(), getLocale(req));
                        }
                        catch (ModuleException e) {throw new ServletModuleException(e.toString());}
                        catch (IOException e) {throw new ServletModuleException(e.toString());}