<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008-2009 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$ -%> <% if self:cfgvalue(self.section) then section = self.section %>
<% if self.title and #self.title > 0 then -%> <%=self.title%> <%- end %> <% if self.description and #self.description > 0 then -%>
<%=self.description%>
<%- end %> <% if self.addremove then -%>
<%- end %> <%+cbi/tabmenu%>
<%+cbi/ucisection%>

<% elseif self.addremove then %> <% if self.template_addremove then include(self.template_addremove) else -%>
<% if self.title and #self.title > 0 then -%> <%=self.title%> <%- end %>
<%=self.description%>
<%- end %> <% end %>