- Timestamp:
- 11/02/11 11:35:03 (19 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/branches/luci-0.10/modules/freifunk/luasrc/view/freifunk/adminindex.htm
r7810 r7867 9 9 local location = uci:get_first ("system", "system", "location") 10 10 local basicsurl = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "freifunk", "basics") 11 local nickname, name, mail 12 if not contact then 13 nickname, name, mail = "" 14 else 15 nickname = contact.nickname 16 name = contact.name 17 mail = contact.mail 18 end 19 11 20 luci.i18n.loadc("freifunk") 12 21 %> … … 24 33 <p /> 25 34 26 <% if not ( contact.nickname and contact.name and contact.mail) then%>35 <% if not (nickname and name and mail) then%> 27 36 <div class="error"> 28 37 <%:Contact information is incomplete. Please go to%> <a href='<%=contacturl%>'><%:Contact%></a> <%:and fill out all required fields.%>
