<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: map.htm 5773 2010-03-09 02:05:49Z jow $ -%>
<% if self.title and #self.title > 0 then %>

<% if self.breadcrumb then local elem for _, elem in ipairs(self.breadcrumb) do -%> <%=luci.util.pcdata(elem[2])%> » <% end end -%> <%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %> <%- if self._apply then -%>
<%:cbi_applying%>
    <%- local fp = self._apply() self._apply = nil local line = fp:read() while line do write("
  • " .. luci.util.pcdata(line) .. "
  • \n") line = fp:read() end fp:close() -%>
<%- end -%> <%- self:render_children() %>