
avrom
User
Mar 16, 2009, 6:04 PM
Post #3 of 5
(968 views)
Shortcut
|
|
Re: [ross] Move Logoff (User) to Left Menu
[In reply to]
|
Can't Post
|
|
Hi Ross, Thanks for the reply. Yes I am aware that I will have to be careful with this on upgrades, but since I'm only modifying the CSS, header and footer files, it should be straightforward enough. The code in header.php is like this, and I would like to move it to the menu bar links: <?php if ($CURRENT_USER): ?> | <a href="?action=logoff"><?php printf(__("Logoff (%s)"), htmlspecialchars($CURRENT_USER['username'])); ?></a> <?php endif ?> Many thanks, Avrom
|