1
0

overview_enabled.htm 722 B

12345678910111213141516
  1. <!-- ++ BEGIN ++ Dynamic DNS ++ overview_enabled.htm ++ -->
  2. <%+cbi/valueheader%>
  3. <input type="hidden" value="1"<%=
  4. attr("name", "cbi.cbe." .. self.config .. "." .. section .. "." .. self.option)
  5. %> />
  6. <!-- modified to call own function -->
  7. <input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="onchange_enabled(this.id)" type="checkbox"<%=
  8. attr("id", cbid) .. attr("name", cbid) .. attr("value", self.enabled or 1) ..
  9. ifattr((self:cfgvalue(section) or self.default) == self.enabled, "checked", "checked")
  10. %> />
  11. <label<%= attr("for", cbid)%>></label>
  12. <%+cbi/valuefooter%>
  13. <!-- ++ END ++ Dynamic DNS ++ overview_enabled.htm ++ -->