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

<!-- ++ 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")
%> />

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