48 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
48 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
49 * |
49 * |
50 ************************************************************************************/ |
50 ************************************************************************************/ |
51 |
51 |
52 $language_data = array ( |
52 $language_data = array ( |
53 'LANG_NAME' => 'HTML', |
53 'LANG_NAME' => 'HTML', |
54 'COMMENT_SINGLE' => array(), |
54 'COMMENT_SINGLE' => array(), |
55 'COMMENT_MULTI' => array('<!--' => '-->'), |
55 'COMMENT_MULTI' => array(), |
56 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
56 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
57 'QUOTEMARKS' => array("'", '"'), |
57 'QUOTEMARKS' => array("'", '"'), |
58 'ESCAPE_CHAR' => '', |
58 'ESCAPE_CHAR' => '', |
59 'KEYWORDS' => array( |
59 'KEYWORDS' => array( |
60 1 => array( |
60 2 => array( |
61 ), |
61 'a', 'abbr', 'acronym', 'address', 'applet', |
62 2 => array( |
62 |
63 '<a>', '<abbr>', '<acronym>', '<address>', '<applet>', |
63 'base', 'basefont', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'b', |
64 '<a', '<abbr', '<acronym', '<address', '<applet', |
64 |
65 '</a>', '</abbr>', '</acronym>', '</address>', '</applet>', |
65 'caption', 'center', 'cite', 'code', 'colgroup', 'col', |
66 '</a', '</abbr', '</acronym', '</address', '</applet', |
66 |
67 |
67 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', |
68 '<base>', '<basefont>', '<bdo>', '<big>', '<blockquote>', '<body>', '<br>', '<button>', '<b>', |
68 |
69 '<base', '<basefont', '<bdo', '<big', '<blockquote', '<body', '<br', '<button', '<b', |
69 'em', |
70 '</base>', '</basefont>', '</bdo>', '</big>', '</blockquote>', '</body>', '</br>', '</button>', '</b>', |
70 |
71 '</base', '</basefont', '</bdo', '</big', '</blockquote', '</body', '</br', '</button', '</b', |
71 'fieldset', 'font', 'form', 'frame', 'frameset', |
72 |
72 |
73 '<caption>', '<center>', '<cite>', '<code>', '<colgroup>', '<col>', |
73 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'html', |
74 '<caption', '<center', '<cite', '<code', '<colgroup', '<col', |
74 |
75 '</caption>', '</center>', '</cite>', '</code>', '</colgroup>', '</col>', |
75 'iframe', 'ilayer', 'img', 'input', 'ins', 'isindex', 'i', |
76 '</caption', '</center', '</cite', '</code', '</colgroup', '</col', |
76 |
77 |
77 'kbd', |
78 '<dd>', '<del>', '<dfn>', '<dir>', '<div>', '<dl>', '<dt>', |
78 |
79 '<dd', '<del', '<dfn', '<dir', '<div', '<dl', '<dt', |
79 'label', 'legend', 'link', 'li', |
80 '</dd>', '</del>', '</dfn>', '</dir>', '</div>', '</dl>', '</dt>', |
80 |
81 '</dd', '</del', '</dfn', '</dir', '</div', '</dl', '</dt', |
81 'map', 'meta', |
82 |
82 |
83 '<em>', |
83 'noframes', 'noscript', |
84 '<em', |
84 |
85 '</em>', |
85 'object', 'ol', 'optgroup', 'option', |
86 '</em', |
86 |
87 |
87 'param', 'pre', 'p', |
88 '<fieldset>', '<font>', '<form>', '<frame>', '<frameset>', |
88 |
89 '<fieldset', '<font', '<form', '<frame', '<frameset', |
89 'q', |
90 '</fieldset>', '</font>', '</form>', '</frame>', '</frameset>', |
90 |
91 '</fieldset', '</font', '</form', '</frame', '</frameset', |
91 'samp', 'script', 'select', 'small', 'span', 'strike', 'strong', 'style', 'sub', 'sup', 's', |
92 |
92 |
93 '<h1>', '<h2>', '<h3>', '<h4>', '<h5>', '<h6>', '<head>', '<hr>', '<html>', |
93 'table', 'tbody', 'td', 'textarea', 'text', 'tfoot', 'thead', 'th', 'title', 'tr', 'tt', |
94 '<h1', '<h2', '<h3', '<h4', '<h5', '<h6', '<head', '<hr', '<html', |
94 |
95 '</h1>', '</h2>', '</h3>', '</h4>', '</h5>', '</h6>', '</head>', '</hr>', '</html>', |
95 'ul', 'u', |
96 '</h1', '</h2', '</h3', '</h4', '</h5', '</h6', '</head', '</hr', '</html', |
96 |
97 |
97 'var', |
98 '<iframe>', '<ilayer>', '<img>', '<input>', '<ins>', '<isindex>', '<i>', |
98 ), |
99 '<iframe', '<ilayer', '<img', '<input', '<ins', '<isindex', '<i', |
99 3 => array( |
100 '</iframe>', '</ilayer>', '</img>', '</input>', '</ins>', '</isindex>', '</i>', |
100 'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis', |
101 '</iframe', '</ilayer', '</img', '</input', '</ins', '</isindex', '</i', |
101 'background', 'bgcolor', 'border', |
102 |
102 'cellpadding', 'cellspacing', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords', |
103 '<kbd>', |
103 'data', 'datetime', 'declare', 'defer', 'dir', 'disabled', |
104 '<kbd', |
104 'enctype', |
105 '&t;/kbd>', |
105 'face', 'for', 'frame', 'frameborder', |
106 '</kbd', |
106 'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv', |
107 |
107 'id', 'ismap', |
108 '<label>', '<legend>', '<link>', '<li>', |
108 'label', 'lang', 'language', 'link', 'longdesc', |
109 '<label', '<legend', '<link', '<li', |
109 'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple', |
110 '</label>', '</legend>', '</link>', '</li>', |
110 'name', 'nohref', 'noresize', 'noshade', 'nowrap', |
111 '</label', '</legend', '</link', '</li', |
111 'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload', |
112 |
112 'profile', 'prompt', |
113 '<map>', '<meta>', |
113 'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules', |
114 '<map', '<meta', |
114 'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary', |
115 '</map>', '</meta>', |
115 'tabindex', 'target', 'text', 'title', 'type', |
116 '</map', '</meta', |
116 'usemap', |
117 |
117 'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace', |
118 '<noframes>', '<noscript>', |
118 'width' |
119 '<noframes', '<noscript', |
119 ) |
120 '</noframes>', '</noscript>', |
120 ), |
121 '</noframes', '</noscript', |
121 'SYMBOLS' => array( |
122 |
122 '/', '=' |
123 '<object>', '<ol>', '<optgroup>', '<option>', |
123 ), |
124 '<object', '<ol', '<optgroup', '<option', |
124 'CASE_SENSITIVE' => array( |
125 '</object>', '</ol>', '</optgroup>', '</option>', |
125 GESHI_COMMENTS => false, |
126 '</object', '</ol', '</optgroup', '</option', |
126 2 => false, |
127 |
127 3 => false, |
128 '<param>', '<pre>', '<p>', |
128 ), |
129 '<param', '<pre', '<p', |
129 'STYLES' => array( |
130 '</param>', '</pre>', '</p>', |
130 'KEYWORDS' => array( |
131 '</param', '</pre', '</p', |
131 2 => 'color: #000000; font-weight: bold;', |
132 |
132 3 => 'color: #000066;' |
133 '<q>', |
133 ), |
134 '<q', |
134 'COMMENTS' => array( |
135 '</q>', |
135 ), |
136 '</q', |
136 'ESCAPE_CHAR' => array( |
137 |
137 0 => 'color: #000099; font-weight: bold;' |
138 '<samp>', '<script>', '<select>', '<small>', '<span>', '<strike>', '<strong>', '<style>', '<sub>', '<sup>', '<s>', |
138 ), |
139 '<samp', '<script', '<select', '<small', '<span', '<strike', '<strong', '<style', '<sub', '<sup', '<s', |
139 'BRACKETS' => array( |
140 '</samp>', '</script>', '</select>', '</small>', '</span>', '</strike>', '</strong>', '</style>', '</sub>', '</sup>', '</s>', |
140 0 => 'color: #66cc66;' |
141 '</samp', '</script', '</select', '</small', '</span', '</strike', '</strong', '</style', '</sub', '</sup', '</s', |
141 ), |
142 |
142 'STRINGS' => array( |
143 '<table>', '<tbody>', '<td>', '<textarea>', '<text>', '<tfoot>', '<thead>', '<th>', '<title>', '<tr>', '<tt>', |
143 0 => 'color: #ff0000;' |
144 '<table', '<tbody', '<td', '<textarea', '<text', '<tfoot', '<tfoot', '<thead', '<th', '<title', '<tr', '<tt', |
144 ), |
145 '</table>', '</tbody>', '</td>', '</textarea>', '</text>', '</tfoot>', '</thead', '</tfoot', '</th>', '</title>', '</tr>', '</tt>', |
145 'NUMBERS' => array( |
146 '</table', '</tbody', '</td', '</textarea', '</text', '</tfoot', '</tfoot', '</thead', '</th', '</title', '</tr', '</tt', |
146 0 => 'color: #cc66cc;' |
147 |
147 ), |
148 '<ul>', '<u>', |
148 'METHODS' => array( |
149 '<ul', '<u', |
149 ), |
150 '</ul>', '</ul>', |
150 'SYMBOLS' => array( |
151 '</ul', '</u', |
151 0 => 'color: #66cc66;' |
152 |
152 ), |
153 '<var>', |
153 'SCRIPT' => array( |
154 '<var', |
154 -1 => 'color: #808080; font-style: italic;', // comments |
155 '</var>', |
155 0 => 'color: #00bbdd;', |
156 '</var', |
156 1 => 'color: #ddbb00;', |
157 |
157 2 => 'color: #009900;' |
158 '>', '<' |
158 ), |
159 ), |
159 'REGEXPS' => array( |
160 3 => array( |
160 ) |
161 'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis', |
161 ), |
162 'background', 'bgcolor', 'border', |
162 'URLS' => array( |
163 'cellpadding', 'cellspacing', 'char', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords', |
163 2 => 'http://december.com/html/4/element/{FNAMEL}.html', |
164 'data', 'datetime', 'declare', 'defer', 'dir', 'disabled', |
164 3 => '' |
165 'enctype', |
165 ), |
166 'face', 'for', 'frame', 'frameborder', |
166 'OOLANG' => false, |
167 'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv', |
167 'OBJECT_SPLITTERS' => array( |
168 'id', 'ismap', |
168 ), |
169 'label', 'lang', 'language', 'link', 'longdesc', |
169 'REGEXPS' => array( |
170 'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple', |
170 ), |
171 'name', 'nohref', 'noresize', 'noshade', 'nowrap', |
171 'STRICT_MODE_APPLIES' => GESHI_ALWAYS, |
172 'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload', |
172 'SCRIPT_DELIMITERS' => array( |
173 'profile', 'prompt', |
173 -1 => array( |
174 'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules', |
174 '<!--' => '-->' |
175 'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary', |
175 ), |
176 'tabindex', 'target', 'text', 'title', 'type', |
176 0 => array( |
177 'usemap', |
177 '<!DOCTYPE' => '>' |
178 'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace', |
178 ), |
179 'width' |
179 1 => array( |
180 ) |
180 '&' => ';' |
181 ), |
181 ), |
182 'SYMBOLS' => array( |
182 2 => array( |
183 '/', '=' |
183 '<' => '>' |
184 ), |
184 ) |
185 'CASE_SENSITIVE' => array( |
185 ), |
186 GESHI_COMMENTS => false, |
186 'HIGHLIGHT_STRICT_BLOCK' => array( |
187 1 => false, |
187 -1 => false, |
188 2 => false, |
188 0 => false, |
189 3 => false, |
189 1 => false, |
190 ), |
190 2 => true |
191 'STYLES' => array( |
191 ), |
192 'KEYWORDS' => array( |
192 'TAB_WIDTH' => 4, |
193 1 => 'color: #b1b100;', |
193 'PARSER_CONTROL' => array( |
194 2 => 'color: #000000; font-weight: bold;', |
194 'KEYWORDS' => array( |
195 3 => 'color: #000066;' |
195 2 => array( |
196 ), |
196 'DISALLOWED_BEFORE' => '(?<=<|<\/)', |
197 'COMMENTS' => array( |
197 'DISALLOWED_AFTER' => '(?=\s|\/|>)', |
198 'MULTI' => 'color: #808080; font-style: italic;' |
198 ) |
199 ), |
199 ) |
200 'ESCAPE_CHAR' => array( |
200 ) |
201 0 => 'color: #000099; font-weight: bold;' |
|
202 ), |
|
203 'BRACKETS' => array( |
|
204 0 => 'color: #66cc66;' |
|
205 ), |
|
206 'STRINGS' => array( |
|
207 0 => 'color: #ff0000;' |
|
208 ), |
|
209 'NUMBERS' => array( |
|
210 0 => 'color: #cc66cc;' |
|
211 ), |
|
212 'METHODS' => array( |
|
213 ), |
|
214 'SYMBOLS' => array( |
|
215 0 => 'color: #66cc66;' |
|
216 ), |
|
217 'SCRIPT' => array( |
|
218 0 => 'color: #00bbdd;', |
|
219 1 => 'color: #ddbb00;', |
|
220 2 => 'color: #009900;' |
|
221 ), |
|
222 'REGEXPS' => array( |
|
223 ) |
|
224 ), |
|
225 'URLS' => array( |
|
226 1 => '', |
|
227 2 => 'http://december.com/html/4/element/{FNAME}.html', |
|
228 3 => '' |
|
229 ), |
|
230 'OOLANG' => false, |
|
231 'OBJECT_SPLITTERS' => array( |
|
232 ), |
|
233 'REGEXPS' => array( |
|
234 ), |
|
235 'STRICT_MODE_APPLIES' => GESHI_ALWAYS, |
|
236 'SCRIPT_DELIMITERS' => array( |
|
237 0 => array( |
|
238 '<!DOCTYPE' => '>' |
|
239 ), |
|
240 1 => array( |
|
241 '&' => ';' |
|
242 ), |
|
243 2 => array( |
|
244 '<' => '>' |
|
245 ) |
|
246 ), |
|
247 'HIGHLIGHT_STRICT_BLOCK' => array( |
|
248 0 => false, |
|
249 1 => false, |
|
250 2 => true |
|
251 ), |
|
252 'TAB_WIDTH' => 4 |
|
253 ); |
201 ); |
254 |
202 |
255 ?> |
203 ?> |