- theList = mainModule.getByWhereClause("", offset);
- mergeData.put("contentlist",((ModuleLinksImcs)mainModule).getLinksImcsAsSimpleHash());
+ theList = mainModule.getByWhereClause("to_parent_id=0", offset);
+ modelRoot.put("new", "1");
+ modelRoot.put("contentlist",HTMLTemplateProcessor.makeSimpleList(theList));
+ PrintWriter out = res.getWriter();