cvs: bugtracker /includes template.php
| From: | Barry Carlyon | Date: | Wed, 13 Aug 2008 10:22:24 +0000 |
| Subject: | cvs: bugtracker /includes template.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-2385@lists.php.net to get a copy of this message | ||
bcarlyon Wed Aug 13 10:22:24 2008 UTC
Modified files:
/bugtracker/includes template.php
Log:
Logout
http://cvs.php.net/viewvc.cgi/bugtracker/includes/template.php?r1=1.16&r2=1.17&diff_format=u
Index: bugtracker/includes/template.php
diff -u bugtracker/includes/template.php:1.16 bugtracker/includes/template.php:1.17
--- bugtracker/includes/template.php:1.16 Tue Aug 12 16:30:21 2008
+++ bugtracker/includes/template.php Wed Aug 13 10:22:24 2008
@@ -196,7 +196,7 @@
$cache_check = str_replace('DSP_','',$target);
if (isset($cache->$cache_check))
{
- trace('found ' . $cache_check);
+ trace('cache found ' . $cache_check);
$victim = $cache->obtain($cache_check, $victim);
}
@@ -419,7 +419,7 @@
if ($user->logged_in)
{
- $this->login = '<li>LOGGED IN</li>';
+ $this->login = '<li><a href="/user/profile/"
title="Profile">Profile (' . $user->handle .
')</a></li><li><a href="/user/logout/"
title="Logout">Logout</a></li>';
}
$this->swap('login', $this->login );