From f3746ceb5287ce2a15ffae1d97481e4721333974 Mon Sep 17 00:00:00 2001 From: "Jehan-Guillaume (ioguix) de Rorthais" Date: Fri, 11 May 2012 12:22:36 +0200 Subject: [PATCH] Name all top links so we can make reference to all of them from the plugins sources --- classes/Misc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/classes/Misc.php b/classes/Misc.php index 44e395ff..7f20c701 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -1289,7 +1289,7 @@ $logout_shared = isset($_SESSION['sharedUsername']) ? "return confirm('{$lang['strconfdropcred']})" : ''; $toplinks = array ( - array ( + 'sql' => array ( 'attr' => array ( 'href' => "{$sql_url}&action=sql", 'target' => "sqledit", @@ -1297,14 +1297,14 @@ ), 'content' => $lang['strsql'] ), - array ( + 'history' => array ( 'attr' => array ( 'href' => $history_url, 'onclick' => "window.open('{$history_url}','{$history_window_id}','toolbar=no,width=800,height=600,resizable=yes,scrollbars=yes').focus(); return false;", ), 'content' => $lang['strhistory'] ), - array ( + 'find' => array ( 'attr' => array ( 'href' => "{$sql_url}&action=find", 'target' => "sqledit", @@ -1312,7 +1312,7 @@ ), 'content' => $lang['strfind'] ), - array( + 'logout' => array( 'attr' => array ( 'href' => "servers.php?action=logout&logoutServer=".htmlentities($server_info['host']).":".htmlentities($server_info['port']).":".htmlentities($server_info['sslmode']), 'onclick' => $logout_shared, -- 2.39.5