2010-11-27 18:18:06 +00:00
|
|
|
<%- if firstmap and messages then local msg; for _, msg in ipairs(messages) do -%>
|
|
|
|
<div class="errorbox"><%=pcdata(msg)%></div>
|
|
|
|
<%- end end -%>
|
|
|
|
|
2010-10-15 21:56:44 +00:00
|
|
|
<%-+cbi/apply_xhr-%>
|
|
|
|
|
2008-07-15 17:27:58 +00:00
|
|
|
<div class="cbi-map" id="cbi-<%=self.config%>">
|
2009-11-09 00:33:45 +00:00
|
|
|
<% if self.title and #self.title > 0 then %><h2><a id="content" name="content"><%=self.title%></a></h2><% end %>
|
|
|
|
<% if self.description and #self.description > 0 then %><div class="cbi-map-descr"><%=self.description%></div><% end %>
|
2010-11-22 00:32:54 +00:00
|
|
|
<%- if firstmap and applymap then cbi_apply_xhr(self.config, parsechain, redirect) end -%>
|
2008-07-15 17:27:58 +00:00
|
|
|
<%- self:render_children() %>
|
|
|
|
<br />
|
|
|
|
</div>
|