fvalue.htm 461 B

123456789
  1. <%+cbi/valueheader%>
  2. <input type="hidden" value="1"<%=
  3. attr("name", "cbi.cbe." .. self.config .. "." .. section .. "." .. self.option)
  4. %> />
  5. <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)" type="checkbox"<%=
  6. attr("id", cbid) .. attr("name", cbid) .. attr("value", self.enabled or 1) ..
  7. ifattr((self:cfgvalue(section) or self.default) == self.enabled, "checked", "checked")
  8. %> />
  9. <%+cbi/valuefooter%>