local uci = require "luci.model.uci".cursor_state()
local wat = require "luci.tools.webadmin"
local fs = require "nixio.fs"
local uci = require "luci.model.uci".cursor_state()
local wat = require "luci.tools.webadmin"
local fs = require "nixio.fs"
s += '<option value="normal" selected="selected"><%:splashed%></option>';
s += '<option value="kicked"><%:temporarily blocked%></option>'
} else {
s += '<option value="normal" selected="selected"><%:splashed%></option>';
s += '<option value="kicked"><%:temporarily blocked%></option>'
} else {
};
if (splash.policy == 'blacklist') {
s+= '<option value="blacklist" selected="selected"><%:blacklisted%></option>'
};
if (splash.policy == 'blacklist') {
s+= '<option value="blacklist" selected="selected"><%:blacklisted%></option>'
<tr class="cbi-section-table-row cbi-rowstyle-<%=2-(count%2)%>">
<td class="cbi-section-table-cell"><%=c.hostname or "<em>" .. translate("unknown") .. "</em>"%></td>
<td class="cbi-section-table-cell"><%=c.ip or "<em>" .. translate("unknown") .. "</em>"%></td>
<tr class="cbi-section-table-row cbi-rowstyle-<%=2-(count%2)%>">
<td class="cbi-section-table-cell"><%=c.hostname or "<em>" .. translate("unknown") .. "</em>"%></td>
<td class="cbi-section-table-cell"><%=c.ip or "<em>" .. translate("unknown") .. "</em>"%></td>