From: Steven Barth Date: Fri, 15 Aug 2008 00:30:39 +0000 (+0000) Subject: modules/admin-mini: Remove unneeded checks X-Git-Tag: 0.8.0~417 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=be5c20195f71ff6187a31b4200ea1f23e1c9b13c;p=project%2Fluci.git modules/admin-mini: Remove unneeded checks --- 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() -<%- if luci.model.uci.get_statevalue("network", "lan", "up") == "1" then %>

<%:m_n_local%>

@@ -79,10 +78,8 @@ local iwconfig = luci.sys.wifi.getiwconfig()
<%=luci.model.uci.get_statevalue("network", "lan", "netmask")%>
-<%- end %> -<%- if luci.model.uci.get_statevalue("network", "wan", "up") == "1" then %>

<%:m_n_inet%>

@@ -95,7 +92,6 @@ local iwconfig = luci.sys.wifi.getiwconfig()
<%=luci.model.uci.get_statevalue("network", "wan", "netmask")%>
-<%- end %> <%- if next(iwconfig) then %>

<%:wifi%>