clean up _list_subf_cat.html.ep

This commit is contained in:
ngoomie 2024-08-24 01:25:20 -06:00
parent e31aa8148f
commit 86a3551bc1
1 changed files with 4 additions and 5 deletions

View File

@ -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)) %>
<% }} %> % }}