X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Ftblsection.htm;h=02246106748e769b75775ef94ddc2086ef92152e;hb=7b23839dce0c09953142a5af946ab642027bc3c5;hp=898645a72bf3599069a15021e97a7bb84c4e4243;hpb=76f8a9cfd2a3c17f3967351b3c6e027b7f864908;p=project%2Fluci.git diff --git a/libs/cbi/luasrc/view/cbi/tblsection.htm b/libs/cbi/luasrc/view/cbi/tblsection.htm index 898645a72..022461067 100644 --- a/libs/cbi/luasrc/view/cbi/tblsection.htm +++ b/libs/cbi/luasrc/view/cbi/tblsection.htm @@ -31,11 +31,15 @@ end <%- if not self.anonymous then -%> - + <%- if self.sectionhead then -%> + + <%- else -%> + + <%- end -%> <%- end -%> <%- for i, k in pairs(self.children) do if not k.optional then -%> @@ -45,7 +49,11 @@ end <%- if not self.anonymous then -%> - + <%- if self.sectiondesc then -%> + + <%- else -%> + + <%- end -%> <%- end -%> <%- for i, k in pairs(self.children) do if not k.optional then -%> @@ -61,7 +69,7 @@ end -%> <% if not self.anonymous then -%> - + <%- end %> @@ -82,9 +90,9 @@ end <%- elseif type(self.extedit) == "function" then -%> <%=self:extedit(section)%> <%- end -%> - " title="<%:edit%>"><%:edit%> + " title="<%:Edit%>"><%:Edit%> <%- end; if self.addremove then %> - + <%- end -%> <%- end -%> @@ -93,7 +101,7 @@ end <%- if isempty then -%> - + <%- end -%>
 <%=self.sectionhead%>  - <%- if k.titleref then -%><%- end -%> + <%- if k.titleref then -%><%- end -%> <%-=k.title-%> <%- if k.titleref then -%><%- end -%>
<%=self.sectiondesc%><%=k.description%>

<%=k%>

<%=(type(self.sectiontitle) == "function") and self:sectiontitle(section) or k%>


<%:cbi_sectempty%>

<%:This section contains no values yet%>
@@ -101,7 +109,7 @@ end <% if self.error then %>
<% end %> @@ -110,13 +118,13 @@ end <% 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 -%> -
<%:cbi_invalid%>
+
<%:Invalid%>
<%- end %> <% end %>