summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-15 00:30:39 +0000
committerSteven Barth <steven@midlink.org>2008-08-15 00:30:39 +0000
commitbe5c20195f71ff6187a31b4200ea1f23e1c9b13c (patch)
tree43cfeb948898d13db19cf542b7cfc0c52bca52fb /modules/admin-mini
parent1d7fb47126b669f86f72de1af11b2d8bdca18bd9 (diff)
modules/admin-mini: Remove unneeded checks
Diffstat (limited to 'modules/admin-mini')
-rw-r--r--modules/admin-mini/luasrc/view/mini/index.htm4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/admin-mini/luasrc/view/mini/index.htm b/modules/admin-mini/luasrc/view/mini/index.htm
index 52bca45b9e..e00100c18b 100644
--- a/modules/admin-mini/luasrc/view/mini/index.htm
+++ b/modules/admin-mini/luasrc/view/mini/index.htm
@@ -66,7 +66,6 @@ local iwconfig = luci.sys.wifi.getiwconfig()
</table>
-<%- if luci.model.uci.get_statevalue("network", "lan", "up") == "1" then %>
<br />
<h2><%:m_n_local%></h2>
<table cellspacing="0" cellpadding="6" class="smalltext">
@@ -79,10 +78,8 @@ local iwconfig = luci.sys.wifi.getiwconfig()
<td><%=luci.model.uci.get_statevalue("network", "lan", "netmask")%></td>
</tr>
</table>
-<%- end %>
-<%- if luci.model.uci.get_statevalue("network", "wan", "up") == "1" then %>
<br />
<h2><%:m_n_inet%></h2>
<table cellspacing="0" cellpadding="6" class="smalltext">
@@ -95,7 +92,6 @@ local iwconfig = luci.sys.wifi.getiwconfig()
<td><%=luci.model.uci.get_statevalue("network", "wan", "netmask")%></td>
</tr>
</table>
-<%- end %>
<%- if next(iwconfig) then %>
<h2><%:wifi%></h2>