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-alias.html | |
parent | 7b81775603b8208c995cd1c4a15cd2a287009404 (diff) |
Factorized the code to add localparts.
Diffstat (limited to 'templates/edit-alias.html')
-rw-r--r-- | templates/edit-alias.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/edit-alias.html b/templates/edit-alias.html index 34425a4..ba2f20d 100644 --- a/templates/edit-alias.html +++ b/templates/edit-alias.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 alias <TMPL_VAR NAME=alias>@<TMPL_VAR NAME=domain></title> + <title>Edit alias <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=alias> / + <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 alias <span class="email"><TMPL_VAR NAME=alias>@<TMPL_VAR NAME=domain></span><TMPL_IF NAME=canDelete + <h1>Edit alias <span class="email"><TMPL_VAR NAME=name></span><TMPL_IF NAME=canDelete ><span class="action">[<a href="./?a=delete">delete</a>]</span ></TMPL_IF></h1> @@ -43,9 +43,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. @@ -62,11 +62,11 @@ <hr/> <h4 class="label" id="destination">Destination(s)</h4> - <textarea name="maildrop" cols="50" rows="5" ><TMPL_VAR NAME=maildrop></textarea> + <textarea name="destination" cols="50" rows="5" ><TMPL_VAR NAME=destination></textarea> <div class="help"> The list of destinations (one e-mail address per line) that will receive mail sent to - <span class="email"><TMPL_VAR NAME=alias>@<TMPL_VAR NAME=domain></span>. + <span class="email"><TMPL_VAR NAME=name></span>. </div> <hr/> |