[ postfixadmin-Patches-2026435 ] Fix footer.php
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2008-07-24 06:24:05
|
Patches item #2026435, was opened at 2008-07-24 16:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2026435&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tabmow (tabmowtez) Assigned to: Nobody/Anonymous (nobody) Summary: Fix footer.php Initial Comment: This is a patch for footer.php so it correctly states when a user is not logged in or not. --- footer.php.orig 2008-07-24 16:21:30.000000000 +1000 +++ footer.php 2008-07-24 16:21:38.000000000 +1000 @@ -6,6 +6,9 @@ if(isset($_SESSION['sessid']['username'])) { printf($PALANG['pFooter_logged_as'], authentication_get_username()); } +else { + printf('Not logged in'); +} ?> | <a target="_blank" href="http://postfixadmin.sf.net/update-check.php?version=<?php print $version; ?>"><?php print $PALANG['check_update']; ?></a> Before this patch, if you were logged in as a user and then logged out the footer would still say you were logged in as the last user. Regards, Terry ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2026435&group_id=191583 |