<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008-2010 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$ -%> <%+cbi/valueheader%> <% local vals = self:cfgvalue(section) or {} for i=1, #vals + 1 do local val = vals[i] %> /> <% if i <= #vals then %> " alt="<%:Delete%>" title="<%:Delete%>" src="<%=resource%>/cbi/remove.gif" /> <% else %> " alt="<%:Add%>" title="<%:Add%>" src="<%=resource%>/cbi/add.gif" /> <% end %> <% if #self.keylist > 0 then -%> <% end -%> <% if i <= #vals then %>
<% end end %> <% if self.datatype then -%> <% end -%> <%+cbi/valuefooter%>