Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser.
This commit is contained in:
@@ -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: </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"> > </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"> > </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: </td>'
|
||||
|
Reference in New Issue
Block a user