Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser.

This commit is contained in:
Michal Čihař
2004-05-20 16:14:13 +00:00
parent f5371237aa
commit 1aaa89fa54
58 changed files with 256 additions and 254 deletions

View File

@@ -184,14 +184,14 @@ if (empty($GLOBALS['is_header_sent'])) {
)
);
if (isset($GLOBALS['db'])) {
if($cfg['PropertiesIconic']){
if ($cfg['PropertiesIconic']){
$host_icon_img='<img src="./images/s_host.png" width="16" height="16" border="0" hspace="2" align="absmiddle" />';
}
echo '<td nowrap="nowrap">Server:&nbsp;</td>'
. '<td nowrap="nowrap"><b>'
. '<a href="' . $GLOBALS['cfg']['DefaultTabServer'] . $header_url_qry . '">' . $host_icon_img . htmlspecialchars($server_info) . '</a>'
. '</b></td>';
if($cfg['PropertiesIconic']){
if ($cfg['PropertiesIconic']){
$db_icon_img='<img src="./images/s_db.png" width="16" height="16" border="0" hspace="2" align="absmiddle" />';
}
echo '<td nowrap="nowrap">&nbsp;&nbsp;&gt;&nbsp;&nbsp;</td>';
@@ -201,7 +201,7 @@ if (empty($GLOBALS['is_header_sent'])) {
. $db_icon_img . htmlspecialchars($GLOBALS['db']) . '</a>'
. '</b></td>';
if (!empty($GLOBALS['table'])) {
if($cfg['PropertiesIconic']){
if ($cfg['PropertiesIconic']){
$tbl_icon_img='<img src="./images/s_tbl.png" width="16" height="16" border="0" hspace="2" align="absmiddle" />';
}
echo '<td nowrap="nowrap">&nbsp;&nbsp;&gt;&nbsp;&nbsp;</td>';
@@ -213,7 +213,7 @@ if (empty($GLOBALS['is_header_sent'])) {
}
} else {
if($cfg['PropertiesIconic']){
if ($cfg['PropertiesIconic']){
$host_icon_img='<img src="./images/s_host.png" width="16" height="16" border="0" hspace="2" align="absmiddle" />';
}
echo '<tr><td nowrap="nowrap">Server:&nbsp;</td>'