X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fmap.htm;h=949edea5c584038c35dff13664dd113469f27e66;hb=39efe2207d968f6dd3f4eb91a6969a79aba9d658;hp=e61f8543ab8bf258e04ea92db1660e24911b505e;hpb=9befed193ae828c2b58390e8c0efafdab37f45b8;p=project%2Fluci.git diff --git a/libs/cbi/luasrc/view/cbi/map.htm b/libs/cbi/luasrc/view/cbi/map.htm index e61f8543a..949edea5c 100644 --- a/libs/cbi/luasrc/view/cbi/map.htm +++ b/libs/cbi/luasrc/view/cbi/map.htm @@ -14,21 +14,23 @@ $Id$ -%>
-

<%=self.title%>

+

<%=self.title%>

<%=self.description%>
- <%- if self._apply then -%><%:cbi_applying%>: - - <% - local fp = self._apply() - self._apply = nil - local line = fp:read() - while line do - write(line) - line = fp:read() - end - fp:close() - -%> - <%- end -%> + <%- if self._apply then -%> +
+ <%:cbi_applying%> + +
+ <%- end -%> <%- self:render_children() %>