<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ -%> <%+header%> <% local ff = luci.model.uci.cursor():get_all("freifunk") require("luci.fs") local usertext = luci.fs.readfile("/www/luci-static/index_user.html") if (ff.community.DefaultText or "") ~= "disabled" then defaulttext = '

'.. (translate("Hello and welcome in the network of")).. ' '.. (ff.community.name or "Freifunk Deutschland").. '!

'.. translate("We are an initiative to establish a free, independent and open wireless mesh network.").. '
'.. translate("This is the access point").. ' '.. luci.sys.hostname().. '. '.. translate("It is operated by").. ' '.. (ff.contact.nickname or "Anonymous").. '.

'.. translate("You can find further information about the global Freifunk initiative at").. ' Freifunk.net.
'.. translate("If you are interested in our project then contact the local community").. ' '.. (ff.community.name or "Freifunk").. '.

'.. translate("Notice").. ': '.. translate("Internet access depends on technical and organisational conditions and may or may not work for you.").. '

' end %> <%=defaulttext%> <%=usertext%> <%+footer%>