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/edit-user.html | |
| parent | 7b81775603b8208c995cd1c4a15cd2a287009404 (diff) | |
Factorized the code to add localparts.
Diffstat (limited to 'templates/edit-user.html')
| -rw-r--r-- | templates/edit-user.html | 26 | 
1 files changed, 13 insertions, 13 deletions
| diff --git a/templates/edit-user.html b/templates/edit-user.html index 38d3836..d4b3c86 100644 --- a/templates/edit-user.html +++ b/templates/edit-user.html @@ -2,18 +2,18 @@  <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>Edit user <TMPL_VAR NAME=user>@<TMPL_VAR NAME=domain></title> +    <title>Edit user <TMPL_VAR NAME=name></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> / -        <TMPL_VAR NAME=user> / +        <a href="../"><TMPL_VAR NAME=domainpart></a> / +        <TMPL_VAR NAME=localpart> /        </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> @@ -22,7 +22,7 @@      <hr/>      <div id="content"> -    <h1>Edit user <span class="user"><TMPL_VAR NAME=user>@<TMPL_VAR NAME=domain></span></h1> +    <h1>Edit user <span class="user"><TMPL_VAR NAME=name></span></h1>      <TMPL_IF NAME=newChanges> @@ -42,9 +42,9 @@        <input type="hidden" name="a" value="edit" />        <h4 class="label" id="status">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. @@ -89,14 +89,14 @@        <hr/>        <h4 class="label" id="forward">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 receive mail for -        <span class="email"><TMPL_VAR NAME=user>@<TMPL_VAR NAME=domain></span>. +        <span class="email"><TMPL_VAR NAME=name></span>.          (<i>Note</i>: When not empty, this list cancels delivery to          this user, so do not forget to list -        <span class="email"><TMPL_VAR NAME=user>@<TMPL_VAR NAME=domain></span> +        <span class="email"><TMPL_VAR NAME=name></span>          here as well if you want this mailbox to be delivered too.)        </div> @@ -262,9 +262,9 @@              the recipient(s), depending on how the message has been              classified.              (Adding the extension <span class="email">virus</span> to -            the recipient <span class="email"><TMPL_VAR NAME=user>@<TMPL_VAR NAME=domain></span> +            the recipient <span class="email"><TMPL_VAR NAME=name></span>              will result into viruses being sent to -            <span class="email"><TMPL_VAR NAME=user>+virus@<TMPL_VAR NAME=domain></span>.)</td> +            <span class="email"><TMPL_VAR NAME=localpart>+virus@<TMPL_VAR NAME=domainpart></span>.)</td>            <td><input type="text" name="amavisAddrExtensionVirus" size="10" /> Virus</td>          </tr>          <tr> | 
