diff options
author | xzilla | 2005-06-28 19:33:47 +0000 |
---|---|---|
committer | xzilla | 2005-06-28 19:33:47 +0000 |
commit | 4b372e505838d33ebe7d8d87989c042d0c910d52 (patch) | |
tree | bf134a343b2563654c36acc4140b9016b89579bc | |
parent | b18d3db9f41870bfd7f5be92115dded5670684c8 (diff) |
Add a generic logout option to the title bar to log out out of your current databaseDEV_SLONY
-rw-r--r-- | classes/Misc.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/classes/Misc.php b/classes/Misc.php index c0b48a36..4cbacc6d 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -2,7 +2,7 @@ /** * Class to hold various commonly used functions * - * $Id: Misc.php,v 1.100.2.3 2005/06/02 15:21:47 chriskl Exp $ + * $Id: Misc.php,v 1.100.2.4 2005/06/28 19:33:47 xzilla Exp $ */ class Misc { @@ -868,10 +868,12 @@ $window_id = htmlspecialchars('sqledit:'.$_REQUEST['server']); echo "<td align=\"right\">"; - + echo "<a class=\"toplink\" href=\"{$url}sql\" target=\"sqledit\" onclick=\"window.open('{$url}sql','{$window_id}','toolbar=no,width=600,height=400,resizable=yes,scrollbars=no').focus(); return false;\">{$lang['strsql']}</a> | "; - echo "<a class=\"toplink\" href=\"{$url}find\" target=\"sqledit\" onclick=\"window.open('{$url}find','{$window_id}','toolbar=no,width=600,height=400,resizable=yes,scrollbars=no').focus(); return false;\">{$lang['strfind']}</a>"; + echo "<a class=\"toplink\" href=\"{$url}find\" target=\"sqledit\" onclick=\"window.open('{$url}find','{$window_id}','toolbar=no,width=600,height=400,resizable=yes,scrollbars=no').focus(); return false;\">{$lang['strfind']}</a> | "; + + echo "<a class=\"toplink\" href=\"servers.php?action=logout&logoutServer=".htmlspecialchars($server_info['host']).":".htmlspecialchars($server_info['port'])."\">{$lang['strlogout']}</a>"; echo "</td>"; } |