Changeset 6592
- Timestamp:
- 12/01/10 13:31:07 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/modules/freifunk/luasrc/view/freifunk/public_status.htm
r6559 r6592 2 2 local sys = require "luci.sys" 3 3 local twa = require "luci.tools.webadmin" 4 5 4 -- System 6 5 local system, model, memtotal, memcached, membuffers, memfree = sys.sysinfo() … … 25 24 local netdevs = { } 26 25 local dev 26 local has_iwinfo = pcall(require, "iwinfo") 27 27 28 28 -- Routes … … 49 49 <div class="cbi-map"> 50 50 <h2><%:Wireless Overview%></h2> 51 52 <% if not has_iwinfo then %> 53 <div class="errorbox"> 54 <strong><%:Package libiwinfo required!%></strong><br /> 55 <%_The <em>libiwinfo</em> package is not installed. You must install this component for working wireless configuration!%> 56 </div> 57 <% end %> 58 51 59 <div class="cbi-section"> 52 60 <div class="cbi-section-node">
