config.inc.php3, libraries/sqlparser.lib.php3:

- Fix code to work around CSS bug in Mozilla/Konqueror with 'inherit'
This commit is contained in:
Robin Johnson
2002-07-25 22:49:34 +00:00
parent c25713f777
commit c6ea79ba9b
3 changed files with 18 additions and 8 deletions

View File

@@ -755,13 +755,18 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
} // end of the "PMA_SQP_formatHtml()" function
function PMA_SQP_buildCssRule($classname, $property, $value)
function PMA_SQP_BuildCssRule($classname, $property, $value)
{
return '.' . $classname . ' { ' . $property . ': ' . $value . '; } ' . "\n";
$str = '.' . $classname . ' {';
if($value != '') {
$str .= $property . ': ' . $value . '; ';
}
$str .= '}' . "\n";
return $str;
} // end of the "PMA_SQP_buildCssRule()" function
function PMA_SQP_buildCssData()
function PMA_SQP_BuildCssData()
{
global $cfg;