Codding standards

This commit is contained in:
Loïc Chapeaux
2002-07-06 22:10:32 +00:00
parent 4e257f3873
commit b93a2a2650
15 changed files with 632 additions and 520 deletions

View File

@@ -193,10 +193,14 @@ echo "\n";
</head>
<body bgcolor="<?php
echo $GLOBALS['cfg']['RightBgColor'];
if ($GLOBALS['cfg']['RightBgImage'] != '') echo '" background="' . $GLOBALS['cfg']['RightBgImage'];
?>">
<?php
if ($GLOBALS['cfg']['RightBgImage'] != '') {
$bkg_img = ' background="' . $GLOBALS['cfg']['RightBgImage'] . '"';
} else {
$bkg_img = '';
}
?>
<body bgcolor="<?php echo $GLOBALS['cfg']['RightBgColor'] . '"' . $bkg_img; ?>>
<?php
if (isset($GLOBALS['db'])) {
$header_url_qry = '?lang=' . urlencode($GLOBALS['lang'])