map.htm 589 B

12345678910111213
  1. <%- if firstmap and messages then local msg; for _, msg in ipairs(messages) do -%>
  2. <div class="errorbox"><%=pcdata(msg)%></div>
  3. <%- end end -%>
  4. <%-+cbi/apply_xhr-%>
  5. <div class="cbi-map" id="cbi-<%=self.config%>">
  6. <% if self.title and #self.title > 0 then %><h2><a id="content" name="content"><%=self.title%></a></h2><% end %>
  7. <% if self.description and #self.description > 0 then %><div class="cbi-map-descr"><%=self.description%></div><% end %>
  8. <%- if firstmap and applymap then cbi_apply_xhr(self.config, parsechain, redirect) end -%>
  9. <%- self:render_children() %>
  10. <br />
  11. </div>