-<% local ff = luci.model.uci.cursor():get_all("freifunk") %>
-<h2><a id="content" name="content"><%:Hello and welcome in the network of%> <%=ff.community.name or 'Freifunk Deutschland'%>!</a></h2>
-<p><%:We are an initiative to establish a free, independent and open wireless mesh network.%><br />
-<%:This is the access point%> <%=luci.sys.hostname()%>. <%:It is operated by%>
-<a href="<%=luci.dispatcher.build_url("freifunk", "index", "contact")%>"> <%=ff.contact.nickname%></a>.</p>
-<p><%:You can find further information about the global Freifunk initiative at%> <a href="http://freifunk.net">Freifunk.net</a>.<br />
-<%:If you are interested in our project then contact the local community%> <a href="<%=ff.community.homepage or 'http//freifunk.net'%>"><%=ff.community.name or 'Freifunk'%></a>.</p>
-<p><strong><%:Notice%></strong>: <%:Internet access depends on technical and organisational conditions and may or may not work for you.%></p>
+<%
+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 = '<h2><a id="content" name="content">'..
+ (translate("Hello and welcome in the network of"))..
+ ' '..
+ (ff.community.name or "Freifunk Deutschland")..
+ '!</a></h2><p>'..
+ translate("We are an initiative to establish a free, independent and open wireless mesh network.")..
+ '<br />'..
+ translate("This is the access point")..
+ ' '..
+ luci.sys.hostname()..
+ '. '..
+ translate("It is operated by")..
+ '<a href="'..
+ luci.dispatcher.build_url("freifunk", "index", "contact")..
+ '"> '..
+ (ff.contact.nickname or "Anonymous")..
+ '</a>.</p><p>'..
+ translate("You can find further information about the global Freifunk initiative at")..
+ ' <a href="http://freifunk.net">Freifunk.net</a>.<br />'..
+ translate("If you are interested in our project then contact the local community")..
+ ' <a href="'..
+ (ff.community.homepage or "http//freifunk.net")..
+ '">'..
+ (ff.community.name or "Freifunk")..
+ '</a>.</p><p><strong>'..
+ translate("Notice")..
+ '</strong>: '..
+ translate("Internet access depends on technical and organisational conditions and may or may not work for you.")..
+ '</p>'
+end
+%>
+
+<%=defaulttext%>
+<%=usertext%>
+