summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-02-14 19:54:51 +0100
committerjocuri%softhome.net <>2004-02-14 19:54:51 +0100
commit6b740b9f365d75fb9765d23a042378d16a3abeb0 (patch)
tree74584fc5396c0ed3ecc5d65ad9f71e25c593c269 /template
parent71979bcbe3e1edaab5ca8ef8e22b43b1296a6136 (diff)
downloadbugzilla-6b740b9f365d75fb9765d23a042378d16a3abeb0.tar.gz
bugzilla-6b740b9f365d75fb9765d23a042378d16a3abeb0.tar.xz
Patch for bug 234171; removes \%COOKIE from index.cgi; patch by Teemu Mannermaa <wicked@etlicon.fi>; r=gerv; a=justdave.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/index.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl
index dd35059e5..b8ea79826 100644
--- a/template/en/default/index.html.tmpl
+++ b/template/en/default/index.html.tmpl
@@ -22,7 +22,7 @@
#%]
[%# INTERFACE:
- # username: string. The login name of the user, if any.
+ # This template has no interface.
#%]
[% PROCESS global/variables.none.tmpl %]
@@ -64,9 +64,9 @@ function addSidebar() {
<a href="enter_bug.cgi">Enter a new [% terms.bug %] report</a><br>
<a href="report.cgi">Summary reports and charts</a><br>
</p><p>
-[% IF username %]
+[% IF user.id %]
<a href="userprefs.cgi">Change password or user preferences</a><br>
- <a href="relogin.cgi">Logout [% username FILTER html %]</a><br>
+ <a href="relogin.cgi">Logout [% user.login FILTER html %]</a><br>
[% ELSE %]
<a href="query.cgi?GoAheadAndLogIn=1">Log in to an existing account</a><br>
[% IF Param('createemailregexp') %]