libraries/sqlparser.lib.php3:

- Cleaned up CSS creation functions
- Formatting fixes
libraries/sqlparser.data.php3:
- Added 'ANALYSE' reserved word (note spelling)
header.inc.php3:
- Added CSS for SQL Parser
libraries/common.lib.php3:
- Change of PMA_format_sql to use new SQL Parser
This commit is contained in:
Robin Johnson
2002-07-25 05:02:54 +00:00
parent 91731e157d
commit f932ee45ed
5 changed files with 133 additions and 156 deletions

View File

@@ -112,6 +112,26 @@ table.tabs {
border-left: none;
border-bottom: 1px solid #666;
}
.syntax { font-family: sans-serif; font-size: small; }
.syntax_comment { }
.syntax_digit { }
.syntax_digit_hex { }
.syntax_digit_integer { }
.syntax_digit_float { }
.syntax_punct { }
.syntax_alpha { text-transform: lowercase; }
.syntax_alpha_columnType { text-transform: uppercase; }
.syntax_alpha_columnAttrib { text-transform: uppercase; }
.syntax_alpha_reservedWord { text-transform: uppercase; font-weight: bold; }
.syntax_alpha_functionName { text-transform: uppercase; }
.syntax_alpha_identifier { }
.syntax_alpha_variable { }
.syntax_quote { }
.syntax_quote_backtick { }
<?php
echo PMA_SQP_BuildCssData();
?>
//-->
</style>