clean up _list_subf_cat.html.ep
This commit is contained in:
parent
e31aa8148f
commit
86a3551bc1
|
@ -16,17 +16,16 @@
|
||||||
"><a href="/board/<%= $_subf_id %>"><%= $_name %></a></div>
|
"><a href="/board/<%= $_subf_id %>"><%= $_name %></a></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%
|
% foreach my $category ($category_tree->getAllChildren) {
|
||||||
foreach my $category ($category_tree->getAllChildren) { %>
|
|
||||||
<%= $cat_header->(
|
<%= $cat_header->(
|
||||||
$category->getNodeValue,
|
$category->getNodeValue,
|
||||||
$c->schema->resultset('Categories')->
|
$c->schema->resultset('Categories')->
|
||||||
title_from_id($category->getNodeValue)) %>
|
title_from_id($category->getNodeValue)) %>
|
||||||
<%
|
|
||||||
foreach my $subforum ($category->getAllChildren) { %>
|
% foreach my $subforum ($category->getAllChildren) {
|
||||||
<%= $subf_item->(
|
<%= $subf_item->(
|
||||||
$subforum->getNodeValue,
|
$subforum->getNodeValue,
|
||||||
$category->getNodeValue,
|
$category->getNodeValue,
|
||||||
$c->schema->resultset('Subforums')->
|
$c->schema->resultset('Subforums')->
|
||||||
title_from_id($subforum->getNodeValue)) %>
|
title_from_id($subforum->getNodeValue)) %>
|
||||||
<% }} %>
|
% }}
|
Loading…
Reference in New Issue