Show
Ignore:
Timestamp:
11/02/11 11:35:03 (19 months ago)
Author:
soma
Message:

luci-0.10: Merge r7866

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/branches/luci-0.10/modules/freifunk/luasrc/view/freifunk/adminindex.htm

    r7810 r7867  
    99local location = uci:get_first ("system", "system", "location") 
    1010local basicsurl = luci.dispatcher.build_url(luci.dispatcher.context.path[1], "freifunk", "basics") 
     11local nickname, name, mail 
     12if not contact then 
     13    nickname, name, mail = "" 
     14else 
     15    nickname = contact.nickname 
     16    name = contact.name 
     17    mail = contact.mail 
     18end 
     19 
    1120luci.i18n.loadc("freifunk") 
    1221%> 
     
    2433<p /> 
    2534 
    26 <% if not (contact.nickname and contact.name and contact.mail) then%> 
     35<% if not (nickname and name and mail) then%> 
    2736<div class="error"> 
    2837    <%:Contact information is incomplete. Please go to%> <a href='<%=contacturl%>'><%:Contact%></a> <%:and fill out all required fields.%>