summaryrefslogtreecommitdiff
path: root/templates/header.tpl
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2008-03-08 20:15:19 +0000
committerNathan Kinkade <nath@nkinka.de>2008-03-08 20:15:19 +0000
commit71d8569f0c49ca79c93a1eb3bc9130e862261911 (patch)
tree0acb526554aa217277b0bc2ff5c362a215cc6994 /templates/header.tpl
parent5a0b2aaf9877019e1dfcff304a0469857cfe3171 (diff)
HTML escape user entered text, and fixed display of long username in header.
Diffstat (limited to 'templates/header.tpl')
-rw-r--r--templates/header.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/header.tpl b/templates/header.tpl
index d280975..ca7371d 100644
--- a/templates/header.tpl
+++ b/templates/header.tpl
@@ -19,7 +19,7 @@
{if isset($isLoggedIn)}
<div id='headerMiddle'></div>
<div id='headerRight'>
- Hi {$smarty.session.user.username}.<br />
+ Hi {$smarty.session.user.username|escape:"html"}.<br />
[<a href='logout.php'>Logout</a>]
</div>