diff options
author | Steven Barth <steven@midlink.org> | 2008-08-26 23:00:44 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-26 23:00:44 +0000 |
commit | 91ba7c42f5b45614c9f4c803d09399f08a8e27b1 (patch) | |
tree | 21d1e1d67b3bee82eb123c0c5dbb274f2fcb6b59 /modules/freifunk/luasrc/view | |
parent | 43b3217e5595acc91ff6d7614a5c21c88696fbcc (diff) |
UCI API changes
Diffstat (limited to 'modules/freifunk/luasrc/view')
-rw-r--r-- | modules/freifunk/luasrc/view/freifunk/contact.htm | 2 | ||||
-rw-r--r-- | modules/freifunk/luasrc/view/freifunk/index.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk/contact.htm b/modules/freifunk/luasrc/view/freifunk/contact.htm index 8de7b8d1cd..12b072c021 100644 --- a/modules/freifunk/luasrc/view/freifunk/contact.htm +++ b/modules/freifunk/luasrc/view/freifunk/contact.htm @@ -13,7 +13,7 @@ $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> diff --git a/modules/freifunk/luasrc/view/freifunk/index.htm b/modules/freifunk/luasrc/view/freifunk/index.htm index 2d9b5a63ef..d9cc6a30dc 100644 --- a/modules/freifunk/luasrc/view/freifunk/index.htm +++ b/modules/freifunk/luasrc/view/freifunk/index.htm @@ -13,7 +13,7 @@ $Id$ -%> <%+header%> -<% local ff = luci.model.uci.get_all("freifunk") %> +<% local ff = luci.model.uci.cursor():get_all("freifunk") %> <h1><%:hellonet%> <%=ff.community.name%>!</h1> <p><%:public1%><br /> <%:public2%><%=luci.sys.hostname()%>. <%:public3%> |