X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fucisection.htm;h=db32c904390734f8f442e75723f5d6aee1e8ba76;hb=7b23839dce0c09953142a5af946ab642027bc3c5;hp=5504a7476c562db0cd9ed2ca580d11212a20a9d6;hpb=38e60dcf9bbd7208ae15282c333d2f1f7ea4d0a3;p=oweals%2Fluci.git diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index 5504a7476..db32c9043 100644 --- a/libs/cbi/luasrc/view/cbi/ucisection.htm +++ b/libs/cbi/luasrc/view/cbi/ucisection.htm @@ -13,11 +13,35 @@ $Id$ -%> -<% self:render_children(section, scope or {}) %> +<%- + if type(self.hidden) == "table" then + for k, v in pairs(self.hidden) do +-%> + +<%- + end + end +%> + +<% if self.tabs then %> + <%+cbi/tabcontainer%> +<% else %> + <% self:render_children(section, scope or {}) %> +<% end %> <% if self.error and self.error[section] then -%>
- +
<%- end %> @@ -36,12 +60,12 @@ $Id$ <%- end -%> - }, '', '<%-:cbi_manual-%>'); + }, '', '<%-: -- custom -- -%>'); <% end %> <% else %> + <% end %>