<% from merescoharvester.controlpanel.tools import getElements from slowfoot.wrappers import wrapp %>

Domains Administration

Domains <%=args.error and '' + args.error + ''or ''%>
Create new domain
Name: 
Existing domains <% def nameFile(fname): return fname[:-len('.domain')], fname for id,file in map(nameFile, filter(lambda f:f.endswith('.domain'),files())): # %> <% # %>
<%=id%> Edit / View

Users
Create new user
Username: 
Domain: 
Password: 
Password(repeat): 
Existing users <% users = asxml(url('/users.xml')).users for user in getElements(users): user = wrapp(user) %>
User: <% escape_html(user.name) %>
Full name: <% escape_html(user.name) %> Organization: <% escape_html(user.organization) %>
Username: <% escape_html(user.localName) %> Telephone: <% escape_html(user.telephone) %>
Domain: <% escape_html(user.domain) %> E-mail: <% escape_html(user.email) %>
Notes:
<% escape_html(user.notes) %>

Edit / View   Delete

<% # %>