summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/luasrc/view/ddns/overview_enabled.htm
blob: 2efc125fccf8f56415114ae1998de4eccb383180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

<!-- ++ BEGIN ++ Dynamic DNS ++ overview_enabled.htm ++ -->
<%+cbi/valueheader%>

<input type="hidden" value="1"<%=
	attr("name", "cbi.cbe." .. self.config .. "." .. section .. "." .. self.option)
%> />
                                                                 <!-- modified to call own function -->
<input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="onchange_enabled(this.id)" type="checkbox"<%=
	attr("id", cbid) .. attr("name", cbid) .. attr("value", self.enabled or 1) ..
	ifattr((self:cfgvalue(section) or self.default) == self.enabled, "checked", "checked")
%> />
<label<%= attr("for", cbid)%>></label>

<%+cbi/valuefooter%>
<!-- ++ END ++ Dynamic DNS ++ overview_enabled.htm ++ -->