* Separated the MVC-Webframework from core
[project/luci.git] / core / src / view / cbi / mvalue.htm
diff --git a/core/src/view/cbi/mvalue.htm b/core/src/view/cbi/mvalue.htm
deleted file mode 100644 (file)
index bed66e5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<%
-local v = self:valuelist(section)      
-%>
-<%+cbi/valueheader%>
-<% if self.widget == "select" then %>
-                                                               <select multiple="multiple" name="cbid.<%=self.config.."."..section.."."..self.option%>[]"<% if self.size then %> size="<%=self.size%>"<% end %>>
-<%for i, key in pairs(self.keylist) do %>
-                                                                       <option<% if luci.util.contains(v, key) then %> selected="selected"<% end %> value="<%=key%>"><%=self.vallist[i]%></option>
-<% end %>
-                                                               </select>
-<% elseif self.widget == "checkbox" then
-       local c = 0;
-       for i, key in pairs(self.keylist) do
-       c = c + 1%>
-                                                               <%=self.vallist[i]%><input type="checkbox" name="cbid.<%=self.config.."."..section.."."..self.option%>[]"<% if luci.util.contains(v, key) then %> checked="checked"<% end %> value="<%=key%>" />
-<% if c == self.size then c = 0 %><br />
-<% end end %>
-<% end %>
-<%+cbi/valuefooter%>
\ No newline at end of file