<% TopicMgr.topiclist %> |
function renders the list of topics as links |
Sourcecode in TopicMgr/macros.js:
1: function topiclist_macro(param) { 2: if (!this.size()) 3: return; 4: for (var i=0;i<this.size();i++) { 5: var topic = this.get(i); 6: res.write(param.itemprefix); 7: Html.link({href: topic.href()}, topic.groupname); 8: res.write(param.itemsuffix); 9: } 10: return; 11: } |