X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Ftsection.htm;h=0fa285c160efa174352d8370ee650c247a0d2d27;hb=7b23839dce0c09953142a5af946ab642027bc3c5;hp=33d5c8e499b6bf5fff0e758d0f59368a3f1974db;hpb=898c45743aeda97da9e129d4d317d542eca3b4a4;p=project%2Fluci.git diff --git a/libs/cbi/luasrc/view/cbi/tsection.htm b/libs/cbi/luasrc/view/cbi/tsection.htm index 33d5c8e49..0fa285c16 100644 --- a/libs/cbi/luasrc/view/cbi/tsection.htm +++ b/libs/cbi/luasrc/view/cbi/tsection.htm @@ -21,15 +21,18 @@ $Id$ <% local isempty = true for i, k in ipairs(self:cfgsections()) do -%> <% if self.addremove then -%>
- +
<%- end %> - <% section = k; isempty = false %> + + <%- section = k; isempty = false -%> <% if not self.anonymous then -%> -

<%=k:upper()%>

+

<%=section:upper()%>

<%- end %> + <%+cbi/tabmenu%> +
<%+cbi/ucisection%>
@@ -37,17 +40,23 @@ $Id$ <%- end %> <% if isempty then -%> - <%:cbi_sectempty%>

+ <%:This section contains no values yet%>

<%- end %> <% if self.addremove then -%> + <% if self.template_addremove then include(self.template_addremove) else -%>
<% if self.anonymous then -%> - + <%- else -%> + <% if self.invalid_cts then -%>
<% end %> - + + <% if self.invalid_cts then -%> +
<%:Invalid%>
+ <%- end %> <%- end %>
+ <%- end %> <%- end %>