From 090e2188026c76ac396c919b27404dc7cb110bf8 Mon Sep 17 00:00:00 2001 From: sembrestels Date: Thu, 13 Oct 2011 02:39:43 +0200 Subject: Dokuwiki module for Elgg 1.7 --- lib/dokuwiki/inc/geshi/sql.php | 140 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 lib/dokuwiki/inc/geshi/sql.php (limited to 'lib/dokuwiki/inc/geshi/sql.php') diff --git a/lib/dokuwiki/inc/geshi/sql.php b/lib/dokuwiki/inc/geshi/sql.php new file mode 100644 index 000000000..ba91191d1 --- /dev/null +++ b/lib/dokuwiki/inc/geshi/sql.php @@ -0,0 +1,140 @@ + 'SQL', + 'COMMENT_SINGLE' => array(1 =>'--', 2 => '#'), + 'COMMENT_MULTI' => array('/*' => '*/'), + 'CASE_KEYWORDS' => 1, + 'QUOTEMARKS' => array("'", '"', '`'), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + 1 => array( + 'ADD', 'ALL', 'ALTER', 'AND', 'AS', 'ASC', + 'AUTO_INCREMENT', 'BETWEEN', 'BINARY', 'BOOLEAN', + 'BOTH', 'BY', 'CHANGE', 'CHECK', 'COLUMN', 'COLUMNS', + 'CREATE', 'CROSS', 'DATA', 'DATABASE', 'DATABASES', + 'DEFAULT', 'DELAYED', 'DELETE', 'DESC', 'DESCRIBE', + 'DISTINCT', 'DROP', 'ENCLOSED', 'ESCAPED', 'EXISTS', + 'EXPLAIN', 'FIELD', 'FIELDS', 'FLUSH', 'FOR', + 'FOREIGN', 'FROM', 'FULL', 'FUNCTION', 'GRANT', + 'GROUP', 'HAVING', 'IDENTIFIED', 'IF', 'IGNORE', + 'IN', 'INDEX', 'INFILE', 'INNER', 'INSERT', 'INTO', + 'IS', 'JOIN', 'KEY', 'KEYS', 'KILL', 'LANGUAGE', + 'LEADING', 'LEFT', 'LIKE', 'LIMIT', 'LINES', 'LOAD', + 'LOCAL', 'LOCK', 'LOW_PRIORITY', 'MODIFY', 'NATURAL', + 'NEXTVAL', 'NOT', 'NULL', 'ON', 'OPTIMIZE', 'OPTION', + 'OPTIONALLY', 'OR', 'ORDER', 'OUTER', 'OUTFILE', + 'PRIMARY', 'PROCEDURAL', 'PROCEEDURE', 'READ', + 'REFERENCES', 'REGEXP', 'RENAME', 'REPLACE', + 'RETURN', 'REVOKE', 'RIGHT', 'RLIKE', 'SELECT', + 'SET', 'SETVAL', 'SHOW', 'SONAME', 'STATUS', + 'STRAIGHT_JOIN', 'TABLE', 'TABLES', 'TEMINATED', + 'TEMPORARY', 'TO', 'TRAILING', 'TRIGGER', 'TRUNCATE', + 'TRUSTED', 'UNION', 'UNIQUE', 'UNLOCK', 'UNSIGNED', + 'UPDATE', 'USE', 'USING', 'VALUES', 'VARIABLES', + 'VIEW', 'WHERE', 'WITH', 'WRITE', 'XOR', 'ZEROFILL' + ) + ), + 'SYMBOLS' => array( + '(', ')', '=', '<', '>', '|', ',', '.', '+', '-', '*', '/' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => false + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #993333; font-weight: bold;' + ), + 'COMMENTS' => array( + 1 => 'color: #808080; font-style: italic;', + 2 => 'color: #808080; font-style: italic;', + 'MULTI' => 'color: #808080; font-style: italic;' + ), + 'ESCAPE_CHAR' => array( + 0 => 'color: #000099; font-weight: bold;' + ), + 'BRACKETS' => array( + 0 => 'color: #66cc66;' + ), + 'STRINGS' => array( + 0 => 'color: #ff0000;' + ), + 'NUMBERS' => array( + 0 => 'color: #cc66cc;' + ), + 'METHODS' => array( + ), + 'SYMBOLS' => array( + 0 => 'color: #66cc66;' + ), + 'SCRIPT' => array( + ), + 'REGEXPS' => array( + ) + ), + 'URLS' => array( + 1 => '' + ), + 'OOLANG' => false, + 'OBJECT_SPLITTERS' => array( + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) +); + +?> -- cgit v1.2.3