aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-02-23 16:52:37 +0000
committerNicolas Vigier <boklm@mageia.org>2013-02-23 16:52:37 +0000
commitdf2b45d64d24ff050a86ad292c86459e2c1a019d (patch)
treef68c31da33d2dcda4454242d0c9a7bae20d8db5c
parent859eb6c2ea7b2f1236067e619659bd2857ad2c00 (diff)
downloadmgapeople-df2b45d64d24ff050a86ad292c86459e2c1a019d.tar
mgapeople-df2b45d64d24ff050a86ad292c86459e2c1a019d.tar.gz
mgapeople-df2b45d64d24ff050a86ad292c86459e2c1a019d.tar.bz2
mgapeople-df2b45d64d24ff050a86ad292c86459e2c1a019d.tar.xz
mgapeople-df2b45d64d24ff050a86ad292c86459e2c1a019d.zip
tmpl/user.html: define login variable
-rw-r--r--tmpl/user.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmpl/user.html b/tmpl/user.html
index e8476a2..e46c468 100644
--- a/tmpl/user.html
+++ b/tmpl/user.html
@@ -1,10 +1,11 @@
+[% SET login = users.$user.uid.0 %]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>[% config.sitename %]: u/[% users.$user.uid.0 %]</title>
+ <title>[% config.sitename %]: u/[% login %]</title>
</head>
<body>
- <h1>[% users.$user.uid.0 %]</h1>
+ <h1>[% login %]</h1>
<ul>
<li>
<b>Name</b>: [% users.$user.cn.0 %]