diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-29 02:03:21 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-09-29 02:03:21 +0200 |
commit | 2bece6abde54881bb074dd44e7f87885eab4a777 (patch) | |
tree | bde87a2c98476847ab5082facade40062cb52e70 /template/list-domains.html | |
parent | aa3340e58fc5b993bfc88070edf543a2ed82ef94 (diff) |
Proper escaping of URIs.
Diffstat (limited to 'template/list-domains.html')
-rw-r--r-- | template/list-domains.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/template/list-domains.html b/template/list-domains.html index 980b8de..5ebdd05 100644 --- a/template/list-domains.html +++ b/template/list-domains.html @@ -11,16 +11,16 @@ Root / </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> <hr/> <div id="content"> - <h1>Manage domains<span class="action">[<a href="<TMPL_VAR NAME=url>/?a=add">add</a>]</span></h1> + <h1>Manage domains<span class="action">[<a href="./?a=add">add</a>]</span></h1> <table class="list" id="domains"> <thead> @@ -33,7 +33,7 @@ <tbody> <TMPL_LOOP NAME=domains> <TMPL_IF NAME=__even__><tr class="odd"><TMPL_ELSE><tr></TMPL_IF> - <td><span class="domain"><a href="<TMPL_VAR NAME=url>/<TMPL_VAR NAME=domain>/"><TMPL_VAR NAME=domain></a></span></td> + <td><span class="domain"><a href="<TMPL_VAR NAME=domainURI>/"><TMPL_VAR NAME=domain></a></span></td> <td><TMPL_IF NAME=description><TMPL_VAR NAME=description><TMPL_ELSE><span class="none">(none)</span></TMPL_IF></td> <td><TMPL_IF NAME=isactive><span class="active">✔</span><TMPL_ELSE><span class="inactive">✘</span></TMPL_IF></td> </tr> |