Merge pull request #1088 from dibdot/luci-app-adblock

luci-app-adblock: fix XHTML/HTML5 markup
This commit is contained in:
Hannu Nyman 2017-03-28 21:12:27 +03:00 committed by GitHub
commit 3dc08a354b
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ m = SimpleForm("input", nil)
s = m:section(SimpleSection, nil,
translatef("This form allows you to modify the content of the adblock blacklist (%s).<br />", adbinput)
.. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards & regex are not."))
.. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards and regex are not."))
f = s:option(TextValue, "data")
f.rmempty = true

View file

@ -17,7 +17,7 @@ m = SimpleForm("input", nil)
s = m:section(SimpleSection, nil,
translatef("This form allows you to modify the content of the adblock whitelist (%s).<br />", adbinput)
.. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards & regex are not."))
.. translate("Please add only one domain per line. Comments introduced with '#' are allowed - ip addresses, wildcards and regex are not."))
f = s:option(TextValue, "data")
f.rmempty = true

View file

@ -6,6 +6,6 @@ This is free software, licensed under the Apache License, Version 2.0
<%+cbi/valueheader%>
<input name="runtime" id="runtime" type="text" class="cbi-input-text" style="border: none; box-shadow: none; background-color: #ffffff; color: #0069d6;" value="<%=self:cfgvalue(section)%>" disabled />
<input name="runtime" id="runtime" type="text" class="cbi-input-text" style="border: none; box-shadow: none; background-color: #ffffff; color: #0069d6;" value="<%=self:cfgvalue(section)%>" disabled="disabled" />
<%+cbi/valuefooter%>