From 4956a3d66d802a7cf1c4911cf26421b12f739292 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Fri, 19 Jun 2009 05:42:16 +0000 Subject: [PATCH] Don't display localhost in title git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@723 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/include/design.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/design.inc.php b/adminer/include/design.inc.php index cf4083ce..42e272b3 100644 --- a/adminer/include/design.inc.php +++ b/adminer/include/design.inc.php @@ -9,7 +9,7 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") { -<?php echo $title . (strlen($title2) ? ": " . htmlspecialchars($title2) : "") . (strlen($_GET["server"]) ? htmlspecialchars("- $_GET[server]") : "") . " - " . lang('Adminer'); ?> +<?php echo $title . (strlen($title2) ? ": " . htmlspecialchars($title2) : "") . (strlen($_GET["server"]) && $_GET["server"] != "localhost" ? htmlspecialchars("- $_GET[server]") : "") . " - " . lang('Adminer'); ?>