<%# Copyright 2017-2018 Dirk Brenken (dev@brenken.org) This is free software, licensed under the Apache License, Version 2.0 -%> <%- local anonclass = (not self.anonymous or self.sectiontitle) and "named" or "anonymous" -%> <%+adblock/adblock_css%>
<% if self.title then -%>

<%=self.title%>

<%- end %>
<%=self.description%>
<%- for i, k in pairs(self.children) do -%>
<%-=k.title-%>
<%- end -%>
<%- local section, scope, isempty = true for i, k in ipairs(self:cfgsections()) do section = k local sectionname = striptags((type(self.sectiontitle) == "function") and self:sectiontitle(section) or k) local sectiontitle = ifattr(sectionname and (not self.anonymous or self.sectiontitle), "data-title", sectionname, true) isempty = false scope = { valueheader = "cbi/cell_valueheader", valuefooter = "cbi/cell_valuefooter" } -%>
> <%- for k, node in ipairs(self.children) do node:render(section, scope or {}) end if not scope.cbid:match("adb_src_cat") then -%>
 
<%- end -%>
<%- end -%>