X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fnsection.htm;h=d096ac3a050d65cbaf01bc895dfc8010652529a4;hb=7c0ea176236eb4232303fbc60aabb2e0448a169f;hp=27db4bfbfbb5bd4d1e61c11ed82cbfcc7125fada;hpb=5a92c0fc089f8af4cdd5c35e94a563526c872ffd;p=project%2Fluci.git diff --git a/libs/cbi/luasrc/view/cbi/nsection.htm b/libs/cbi/luasrc/view/cbi/nsection.htm index 27db4bfbf..d096ac3a0 100644 --- a/libs/cbi/luasrc/view/cbi/nsection.htm +++ b/libs/cbi/luasrc/view/cbi/nsection.htm @@ -1,7 +1,7 @@ <%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich +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. @@ -18,18 +18,22 @@ $Id$ <% if self.title and #self.title > 0 then -%> <%=self.title%> <%- end %> -
<%=self.description%>
+ <% 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%> @@ -37,5 +41,6 @@ $Id$
<%=self.description%>
+ <%- end %> <% end %>