overview_enabled.htm 683 B

123456789101112131415
  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. <%+cbi/valuefooter%>
  12. <!-- ++ END ++ Dynamic DNS ++ overview_enabled.htm ++ -->