| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
$language_data = array ( |
|---|
| 53 |
'LANG_NAME' => 'HTML', |
|---|
| 54 |
'COMMENT_SINGLE' => array(), |
|---|
| 55 |
'COMMENT_MULTI' => array('<!--' => '-->'), |
|---|
| 56 |
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
|---|
| 57 |
'QUOTEMARKS' => array("'", '"'), |
|---|
| 58 |
'ESCAPE_CHAR' => '\\', |
|---|
| 59 |
'KEYWORDS' => array( |
|---|
| 60 |
1 => array( |
|---|
| 61 |
), |
|---|
| 62 |
2 => array( |
|---|
| 63 |
'<a>', '<abbr>', '<acronym>', '<address>', '<applet>', |
|---|
| 64 |
'<a', '<abbr', '<acronym', '<address', '<applet', |
|---|
| 65 |
'</a>', '</abbr>', '</acronym>', '</address>', '</applet>', |
|---|
| 66 |
'</a', '</abbr', '</acronym', '</address', '</applet', |
|---|
| 67 |
|
|---|
| 68 |
'<base>', '<basefont>', '<bdo>', '<big>', '<blockquote>', '<body>', '<br>', '<button>', '<b>', |
|---|
| 69 |
'<base', '<basefont', '<bdo', '<big', '<blockquote', '<body', '<br', '<button', '<b', |
|---|
| 70 |
'</base>', '</basefont>', '</bdo>', '</big>', '</blockquote>', '</body>', '</br>', '</button>', '</b>', |
|---|
| 71 |
'</base', '</basefont', '</bdo', '</big', '</blockquote', '</body', '</br', '</button', '</b', |
|---|
| 72 |
|
|---|
| 73 |
'<caption>', '<center>', '<cite>', '<code>', '<colgroup>', '<col>', |
|---|
| 74 |
'<caption', '<center', '<cite', '<code', '<colgroup', '<col', |
|---|
| 75 |
'</caption>', '</center>', '</cite>', '</code>', '</colgroup>', '</col>', |
|---|
| 76 |
'</caption', '</center', '</cite', '</code', '</colgroup', '</col', |
|---|
| 77 |
|
|---|
| 78 |
'<dd>', '<del>', '<dfn>', '<dir>', '<div>', '<dl>', '<dt>', |
|---|
| 79 |
'<dd', '<del', '<dfn', '<dir', '<div', '<dl', '<dt', |
|---|
| 80 |
'</dd>', '</del>', '</dfn>', '</dir>', '</div>', '</dl>', '</dt>', |
|---|
| 81 |
'</dd', '</del', '</dfn', '</dir', '</div', '</dl', '</dt', |
|---|
| 82 |
|
|---|
| 83 |
'<em>', |
|---|
| 84 |
'<em', |
|---|
| 85 |
'</em>', |
|---|
| 86 |
'</em', |
|---|
| 87 |
|
|---|
| 88 |
'<fieldset>', '<font>', '<form>', '<frame>', '<frameset>', |
|---|
| 89 |
'<fieldset', '<font', '<form', '<frame', '<frameset', |
|---|
| 90 |
'</fieldset>', '</font>', '</form>', '</frame>', '</frameset>', |
|---|
| 91 |
'</fieldset', '</font', '</form', '</frame', '</frameset', |
|---|
| 92 |
|
|---|
| 93 |
'<h1>', '<h2>', '<h3>', '<h4>', '<h5>', '<h6>', '<head>', '<hr>', '<html>', |
|---|
| 94 |
'<h1', '<h2', '<h3', '<h4', '<h5', '<h6', '<head', '<hr', '<html', |
|---|
| 95 |
'</h1>', '</h2>', '</h3>', '</h4>', '</h5>', '</h6>', '</head>', '</hr>', '</html>', |
|---|
| 96 |
'</h1', '</h2', '</h3', '</h4', '</h5', '</h6', '</head', '</hr', '</html', |
|---|
| 97 |
|
|---|
| 98 |
'<iframe>', '<ilayer>', '<img>', '<input>', '<ins>', '<isindex>', '<i>', |
|---|
| 99 |
'<iframe', '<ilayer', '<img', '<input', '<ins', '<isindex', '<i', |
|---|
| 100 |
'</iframe>', '</ilayer>', '</img>', '</input>', '</ins>', '</isindex>', '</i>', |
|---|
| 101 |
'</iframe', '</ilayer', '</img', '</input', '</ins', '</isindex', '</i', |
|---|
| 102 |
|
|---|
| 103 |
'<kbd>', |
|---|
| 104 |
'<kbd', |
|---|
| 105 |
'&t;/kbd>', |
|---|
| 106 |
'</kbd', |
|---|
| 107 |
|
|---|
| 108 |
'<label>', '<legend>', '<link>', '<li>', |
|---|
| 109 |
'<label', '<legend', '<link', '<li', |
|---|
| 110 |
'</label>', '</legend>', '</link>', '</li>', |
|---|
| 111 |
'</label', '</legend', '</link', '</li', |
|---|
| 112 |
|
|---|
| 113 |
'<map>', '<meta>', |
|---|
| 114 |
'<map', '<meta', |
|---|
| 115 |
'</map>', '</meta>', |
|---|
| 116 |
'</map', '</meta', |
|---|
| 117 |
|
|---|
| 118 |
'<noframes>', '<noscript>', |
|---|
| 119 |
'<noframes', '<noscript', |
|---|
| 120 |
'</noframes>', '</noscript>', |
|---|
| 121 |
'</noframes', '</noscript', |
|---|
| 122 |
|
|---|
| 123 |
'<object>', '<ol>', '<optgroup>', '<option>', |
|---|
| 124 |
'<object', '<ol', '<optgroup', '<option', |
|---|
| 125 |
'</object>', '</ol>', '</optgroup>', '</option>', |
|---|
| 126 |
'</object', '</ol', '</optgroup', '</option', |
|---|
| 127 |
|
|---|
| 128 |
'<param>', '<pre>', '<p>', |
|---|
| 129 |
'<param', '<pre', '<p', |
|---|
| 130 |
'</param>', '</pre>', '</p>', |
|---|
| 131 |
'</param', '</pre', '</p', |
|---|
| 132 |
|
|---|
| 133 |
'<q>', |
|---|
| 134 |
'<q', |
|---|
| 135 |
'</q>', |
|---|
| 136 |
'</q', |
|---|
| 137 |
|
|---|
| 138 |
'<samp>', '<script>', '<select>', '<small>', '<span>', '<strike>', '<strong>', '<style>', '<sub>', '<sup>', '<s>', |
|---|
| 139 |
'<samp', '<script', '<select', '<small', '<span', '<strike', '<strong', '<style', '<sub', '<sup', '<s', |
|---|
| 140 |
'</samp>', '</script>', '</select>', '</small>', '</span>', '</strike>', '</strong>', '</style>', '</sub>', '</sup>', '</s>', |
|---|
| 141 |
'</samp', '</script', '</select', '</small', '</span', '</strike', '</strong', '</style', '</sub', '</sup', '</s', |
|---|
| 142 |
|
|---|
| 143 |
'<table>', '<tbody>', '<td>', '<textarea>', '<text>', '<tfoot>', '<thead>', '<th>', '<title>', '<tr>', '<tt>', |
|---|
| 144 |
'<table', '<tbody', '<td', '<textarea', '<text', '<tfoot', '<tfoot', '<thead', '<th', '<title', '<tr', '<tt', |
|---|
| 145 |
'</table>', '</tbody>', '</td>', '</textarea>', '</text>', '</tfoot>', '</thead', '</tfoot', '</th>', '</title>', '</tr>', '</tt>', |
|---|
| 146 |
'</table', '</tbody', '</td', '</textarea', '</text', '</tfoot', '</tfoot', '</thead', '</th', '</title', '</tr', '</tt', |
|---|
| 147 |
|
|---|
| 148 |
'<ul>', '<u>', |
|---|
| 149 |
'<ul', '<u', |
|---|
| 150 |
'</ul>', '</ul>', |
|---|
| 151 |
'</ul', '</u', |
|---|
| 152 |
|
|---|
| 153 |
'<var>', |
|---|
| 154 |
'<var', |
|---|
| 155 |
'</var>', |
|---|
| 156 |
'</var', |
|---|
| 157 |
|
|---|
| 158 |
'>', '<' |
|---|
| 159 |
), |
|---|
| 160 |
3 => array( |
|---|
| 161 |
'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis', |
|---|
| 162 |
'background', 'bgcolor', 'border', |
|---|
| 163 |
'cellpadding', 'cellspacing', 'char', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords', |
|---|
| 164 |
'data', 'datetime', 'declare', 'defer', 'dir', 'disabled', |
|---|
| 165 |
'enctype', |
|---|
| 166 |
'face', 'for', 'frame', 'frameborder', |
|---|
| 167 |
'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv', |
|---|
| 168 |
'id', 'ismap', |
|---|
| 169 |
'label', 'lang', 'language', 'link', 'longdesc', |
|---|
| 170 |
'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple', |
|---|
| 171 |
'name', 'nohref', 'noresize', 'noshade', 'nowrap', |
|---|
| 172 |
'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload', |
|---|
| 173 |
'profile', 'prompt', |
|---|
| 174 |
'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules', |
|---|
| 175 |
'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary', |
|---|
| 176 |
'tabindex', 'target', 'text', 'title', 'type', |
|---|
| 177 |
'usemap', |
|---|
| 178 |
'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace', |
|---|
| 179 |
'width' |
|---|
| 180 |
) |
|---|
| 181 |
), |
|---|
| 182 |
'SYMBOLS' => array( |
|---|
| 183 |
'/', '=' |
|---|
| 184 |
), |
|---|
| 185 |
'CASE_SENSITIVE' => array( |
|---|
| 186 |
GESHI_COMMENTS => false, |
|---|
| 187 |
1 => false, |
|---|
| 188 |
2 => false, |
|---|
| 189 |
3 => false, |
|---|
| 190 |
), |
|---|
| 191 |
'STYLES' => array( |
|---|
| 192 |
'KEYWORDS' => array( |
|---|
| 193 |
1 => 'color: #b1b100;', |
|---|
| 194 |
2 => 'color: #000000; font-weight: bold;', |
|---|
| 195 |
3 => 'color: #000066;' |
|---|
| 196 |
), |
|---|
| 197 |
'COMMENTS' => array( |
|---|
| 198 |
'MULTI' => 'color: #808080; font-style: italic;' |
|---|
| 199 |
), |
|---|
| 200 |
'ESCAPE_CHAR' => array( |
|---|
| 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 |
); |
|---|
| 253 |
|
|---|
| 254 |
?> |
|---|