aboutsummaryrefslogtreecommitdiffstats
path: root/template/edit-alias.html
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-29 02:03:21 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-29 02:03:21 +0200
commit2bece6abde54881bb074dd44e7f87885eab4a777 (patch)
treebde87a2c98476847ab5082facade40062cb52e70 /template/edit-alias.html
parentaa3340e58fc5b993bfc88070edf543a2ed82ef94 (diff)
Proper escaping of URIs.
Diffstat (limited to 'template/edit-alias.html')
-rw-r--r--template/edit-alias.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/template/edit-alias.html b/template/edit-alias.html
index 85e2d5f..aa18faf 100644
--- a/template/edit-alias.html
+++ b/template/edit-alias.html
@@ -8,14 +8,14 @@
<body>
<div id="header">
<div class="left column">
- <a href="<TMPL_VAR NAME=url>/">Root</a> /
- <a href="<TMPL_VAR NAME=url>/<TMPL_VAR NAME=domain>/"><TMPL_VAR NAME=domain></a> /
+ <a href="../../">Root</a> /
+ <a href="../"><TMPL_VAR NAME=domain></a> /
<TMPL_VAR NAME=alias> /
</div>
<div class="right column">
- Logged as <a href="<TMPL_VAR NAME=url>/<TMPL_VAR NAME=user_domainpart>/<TMPL_VAR NAME=user_localpart>/?a=edit"
+ Logged as <a href="<TMPL_VAR NAME=userURI>/?a=edit"
><TMPL_VAR NAME=user_localpart>@<TMPL_VAR NAME=user_domainpart></a>
- | <a href="<TMPL_VAR NAME=url>/?a=logout">Log out</a>
+ | <a href="./?a=logout">Log out</a>
</div>
<br/>
</div>
@@ -23,7 +23,7 @@
<div id="content">
<h1>Edit alias <span class="email"><TMPL_VAR NAME=alias>@<TMPL_VAR NAME=domain></span><TMPL_IF NAME=canDelete
- ><span class="action">[<a href="<TMPL_VAR NAME=url>/<TMPL_VAR NAME=domain>/<TMPL_VAR NAME=alias>/?a=delete">delete</a>]</span
+ ><span class="action">[<a href="./?a=delete">delete</a>]</span
></TMPL_IF></h1>
<TMPL_IF NAME=newChanges>