diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-29 02:39:17 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-29 02:39:17 +0100 |
commit | 38bbf969d6c29891f40973a0db376d5f5ee5ab07 (patch) | |
tree | 2b0e4a02308b06d14a4361786acf8deb209d9d3d /templates/add-user.html | |
parent | 7b81775603b8208c995cd1c4a15cd2a287009404 (diff) |
Factorized the code to add localparts.
Diffstat (limited to 'templates/add-user.html')
-rw-r--r-- | templates/add-user.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/add-user.html b/templates/add-user.html index 8964c22..67493a1 100644 --- a/templates/add-user.html +++ b/templates/add-user.html @@ -2,17 +2,17 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> - <title>Add user under <TMPL_VAR NAME=domain></title> + <title>Add user under <TMPL_VAR NAME=domainname></title> <link href="/css/style.css" media="all" rel="stylesheet" type="text/css" /> </head> <body> <div id="header"> <div class="left column"> <a href="../">Root</a> / - <a href="./"><TMPL_VAR NAME=domain></a> / + <a href="./"><TMPL_VAR NAME=domainname></a> / </div> <div class="right column"> - Logged as <a href="<TMPL_VAR NAME=userURL>/?a=edit" + Logged as <a href="<TMPL_VAR NAME=user_URL>/?a=edit" ><TMPL_VAR NAME=user_localpart>@<TMPL_VAR NAME=user_domainpart></a> | <a href="../?a=logout">Log out</a> </div> @@ -21,7 +21,7 @@ <hr/> <div id="content"> - <h1>Add user under <span class="domain"><TMPL_VAR NAME=domain></span></h1> + <h1>Add user under <span class="domain"><TMPL_VAR NAME=domainname></span></h1> <TMPL_IF NAME=error> <div class="fail">Error: <TMPL_VAR NAME=error></div> @@ -37,14 +37,14 @@ <input type="hidden" name="t" value="user" /> <h4 class="label">User name</h4> - <input type="text" name="user" size="15" value="<TMPL_VAR NAME=user>"/>@<TMPL_VAR NAME=domain> + <input type="text" name="name" size="15" value="<TMPL_VAR NAME=name>"/>@<TMPL_VAR NAME=domainname> <hr/> <h4 class="label">Status</h4> - <select name="isactive"> - <option value="1" <TMPL_IF NAME=isactive>selected="selected"</TMPL_IF>>Active</option> - <option value="0" <TMPL_UNLESS NAME=isactive>selected="selected"</TMPL_UNLESS>>Inactive</option> + <select name="isActive"> + <option value="1" <TMPL_IF NAME=isActive>selected="selected"</TMPL_IF>>Active</option> + <option value="0" <TMPL_UNLESS NAME=isActive>selected="selected"</TMPL_UNLESS>>Inactive</option> </select> <div class="help"> <b>Warning</b>: emails are <i>not</i> delivered to inactive entries. @@ -76,7 +76,7 @@ <hr/> <h4 class="label">Mail forwarding</h4> - <textarea name="forwards" cols="50" rows="5" ><TMPL_VAR NAME=forwards></textarea> + <textarea name="forward" cols="50" rows="5" ><TMPL_VAR NAME=forward></textarea> <div class="help"> An optional list of destinations (one e-mail address per line) that will <i>also</i> receive mail delivered to this user. |