* luci/modules/freifunk: fix translation of contact page
[project/luci.git] / modules / freifunk / luasrc / view / freifunk / contact.htm
index a1edb2e..3596827 100644 (file)
@@ -1,13 +1,27 @@
+<%#
+LuCI - Lua Configuration Interface
+Copyright 2008 Steven Barth <steven@midlink.org>
+Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
+
+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 contact = luci.model.uci.get_all("freifunk", "contact") %>
+<% local contact = luci.model.uci.cursor():get_all("freifunk", "contact") %>
 <h1><%:contact%></h1>
 <table cellspacing="0" cellpadding="6">
-       <tr><th><%:nickname%>:</th><td><%=contact.nickname%></td></tr>
-       <tr><th><%:name%>:</th><td><%=contact.name%></td></tr>
-       <tr><th><%:mail%>:</th><td><%=contact.mail%></td></tr>
-       <tr><th><%:phone%>:</th><td><%=contact.phone%></td></tr>
-       <tr><th><%:location%>:</th><td><%=contact.location%></td></tr>
-       <tr><th><%:geocoord%>:</th><td><%=contact.geo%></td></tr>
-       <tr><th><%:note%>:</th><td><%=contact.note%></td></tr>
+       <tr><th><%:ff_nickname%>:</th><td><%=contact.nickname%></td></tr>
+       <tr><th><%:ff_name%>:</th><td><%=contact.name%></td></tr>
+       <tr><th><%:ff_mail%>:</th><td><%=contact.mail%></td></tr>
+       <tr><th><%:ff_phone%>:</th><td><%=contact.phone%></td></tr>
+       <tr><th><%:ff_location%>:</th><td><%=contact.location%></td></tr>
+       <tr><th><%:ff_geocoord%>:</th><td><%=contact.geo%></td></tr>
+       <tr><th><%:ff_note%>:</th><td><%=contact.note%></td></tr>
 </table>
-<%+footer%>
\ No newline at end of file
+<%+footer%>