00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 $language_data = array (
00041 'LANG_NAME' => 'ColdFusion',
00042 'COMMENT_SINGLE' => array(1 => '//'),
00043 'COMMENT_MULTI' => array('<!--' => '-->','<!---' => '--->', '/*' => '*/'),
00044 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00045 'QUOTEMARKS' => array("'", '"'),
00046 'ESCAPE_CHAR' => '\\',
00047 'KEYWORDS' => array(
00048
00049 1 => array(
00050 '<cfabort', '<cfapplet', '<cfapplication', '<cfargument', '<cfassociate', '<<cfbreak>',
00051 '<cfcache', '<cfcase', '<cfcatch', '</cfcatch>', '<cfchart', '</cfchart>', '<cfchartdata',
00052 '<cfchartseries', '</cfchartseries>', '<cfcol', '<cfcollection', '<cfcomponent', '</cfcomponent>',
00053 '<cfcontent', '<cfcookie', '</cfdefaultcase>', '<cfdirectory', '<cfdocument', '</cfdocument>',
00054 '<cfdocumentitem', '</cfdocumentitem>', '<cfdocumentsection', '</cfdocumentsection>', '<cfdump',
00055 '<cfelse', '<cfelseif', '<cferror', '<cfexecute', '</cfexecute>', '<cfexit', '<cffile',
00056 '<cfflush', '<cfform', '</cfform>', '<cfformgroup', '</cfformgroup', '<cfformitem',
00057 '</cfformitem>', '<cfftp', '<cffunction', '</cffunction>', '<cfgrid', '</cfgrid>',
00058 '<cfgridcolumn', '<cfgridrow', '<cfgridupdate', '<cfheader', '<cfhtmlhead', '<cfhttp',
00059 '</cfhttp>', '<cfhttpparam', '<cfif', '</cfif>', '<cfimport', '<cfinclude', '<cfindex',
00060 '<cfinput', '<cfinsert', '<cfinvoke', '<cfinvokeargument', '<cfldap', '<cflocation', '<cflock',
00061 '</cflock>', '<cflog', '<cflogin', '</cflogin>', '<cfloginuser', '<cflogout', '<cfloop',
00062 '</cfloop>', '<cfmail', '</cfmail>', '<cfmailparam', '<cfmailpart', '</cfmailpart>',
00063 '<cfmodule', '<cfNTauthenticate', '<cfobject', '<cfobjectcache', '<cfoutput>', '<cfoutput', '</cfoutput>',
00064 '<cfparam', '<cfpop', '<cfprocessingdirective', '</cfprocessingdirective>', '<cfprocparam',
00065 '<cfprocresult', '<cfproperty', '<cfquery', '</cfquery>', '<cfqueryparam', '<cfregistry',
00066 '</cfregistry>', '<cfreport', '</cfreport>', '<cfreportparam', '</cfreportparam>',
00067 '<cfrethrow', '<cfreturn', '<cfsavecontent', '</cfsavecontent>', '<cfschedule', '<cfscript', '<cfscript>',
00068 '</cfscript>', '<cfsearch', '<cfselect', '</cfselect>', '<cfset', '<cfsetting', '<cfsilent',
00069 '</cfsilent>', '<cfstoredproc', '</cfstoredproc>', '<cfswitch', '</cfswitch>', '<cftable',
00070 '</cftable>', '<cftextarea', '</cftextarea>', '<cfthrow', '<cftimer', '</cftimer>',
00071 '<cftrace', '</cftrace>', '<cftransaction', '</cftransaction>', '<cftree', '</cftree>',
00072 '<cftreeitem', '<cftry', '</cftry>', '<cfupdate', '<cfwddx','<','>'
00073 ),
00074
00075 2 => array(
00076 '<a>', '<abbr>', '<acronym>', '<address>', '<applet>',
00077 '<a', '<abbr', '<acronym', '<address', '<applet',
00078 '</a>', '</abbr>', '</acronym>', '</address>', '</applet>',
00079 '</a', '</abbr', '</acronym', '</address', '</applet',
00080
00081 '<base>', '<basefont>', '<bdo>', '<big>', '<blockquote>', '<body>', '<br>', '<button>', '<b>',
00082 '<base', '<basefont', '<bdo', '<big', '<blockquote', '<body', '<br', '<button', '<b',
00083 '</base>', '</basefont>', '</bdo>', '</big>', '</blockquote>', '</body>', '</br>', '</button>', '</b>',
00084 '</base', '</basefont', '</bdo', '</big', '</blockquote', '</body', '</br','<br />', '</button', '</b',
00085
00086 '<caption>', '<center>', '<cite>', '<code>', '<colgroup>', '<col>',
00087 '<caption', '<center', '<cite', '<code', '<colgroup', '<col',
00088 '</caption>', '</center>', '</cite>', '</code>', '</colgroup>', '</col>',
00089 '</caption', '</center', '</cite', '</code', '</colgroup', '</col',
00090
00091 '<dd>', '<del>', '<dfn>', '<dir>', '<div>', '<dl>', '<dt>',
00092 '<dd', '<del', '<dfn', '<dir', '<div', '<dl', '<dt',
00093 '</dd>', '</del>', '</dfn>', '</dir>', '</div>', '</dl>', '</dt>',
00094 '</dd', '</del', '</dfn', '</dir', '</div', '</dl', '</dt',
00095
00096 '<em>',
00097 '<em',
00098 '</em>',
00099 '</em',
00100
00101 '<fieldset>', '<font>', '<form>', '<frame>', '<frameset>',
00102 '<fieldset', '<font', '<form', '<frame', '<frameset',
00103 '</fieldset>', '</font>', '</form>', '</frame>', '</frameset>',
00104 '</fieldset', '</font', '</form', '</frame', '</frameset',
00105
00106 '<h1>', '<h2>', '<h3>', '<h4>', '<h5>', '<h6>', '<head>', '<hr>', '<html>',
00107 '<h1', '<h2', '<h3', '<h4', '<h5', '<h6', '<head', '<hr', '<html',
00108 '</h1>', '</h2>', '</h3>', '</h4>', '</h5>', '</h6>', '</head>', '</hr>', '</html>',
00109 '</h1', '</h2', '</h3', '</h4', '</h5', '</h6', '</head', '</hr', '</html',
00110
00111 '<iframe>', '<ilayer>', '<img>', '<input>', '<ins>', '<isindex>', '<i>',
00112 '<iframe', '<ilayer', '<img', '<input', '<ins', '<isindex', '<i',
00113 '</iframe>', '</ilayer>', '</img>', '</input>', '</ins>', '</isindex>', '</i>',
00114 '</iframe', '</ilayer', '</img', '</input', '</ins', '</isindex', '</i',
00115
00116 '<kbd>',
00117 '<kbd',
00118 '&t;/kbd>',
00119 '</kbd',
00120
00121 '<label>', '<legend>', '<link>', '<li>',
00122 '<label', '<legend', '<link', '<li',
00123 '</label>', '</legend>', '</link>', '</li>',
00124 '</label', '</legend', '</link', '</li',
00125
00126 '<map>', '<meta>',
00127 '<map', '<meta',
00128 '</map>', '</meta>',
00129 '</map', '</meta',
00130
00131 '<noframes>', '<noscript>',
00132 '<noframes', '<noscript',
00133 '</noframes>', '</noscript>',
00134 '</noframes', '</noscript',
00135
00136 '<object>', '<ol>', '<optgroup>', '<option>',
00137 '<object', '<ol', '<optgroup', '<option',
00138 '</object>', '</ol>', '</optgroup>', '</option>',
00139 '</object', '</ol', '</optgroup', '</option',
00140
00141 '<param>', '<pre>', '<p>',
00142 '<param', '<pre', '<p',
00143 '</param>', '</pre>', '</p>',
00144 '</param', '</pre', '</p',
00145
00146 '<q>',
00147 '<q',
00148 '</q>',
00149 '</q',
00150
00151 '<samp>', '<script>', '<select>', '<small>', '<span>', '<strike>', '<strong>', '<style>', '<sub>', '<sup>', '<s>',
00152 '<samp', '<script', '<select', '<small', '<span', '<strike', '<strong', '<style', '<sub', '<sup', '<s',
00153 '</samp>', '</script>', '</select>', '</small>', '</span>', '</strike>', '</strong>', '</style>', '</sub>', '</sup>', '</s>',
00154 '</samp', '</script', '</select', '</small', '</span', '</strike', '</strong', '</style', '</sub', '</sup', '</s',
00155
00156 '<table>', '<tbody>', '<td>', '<textarea>', '<text>', '<tfoot>', '<thead>', '<th>', '<title>', '<tr>', '<tt>',
00157 '<table', '<tbody', '<td', '<textarea', '<text', '<tfoot', '<tfoot', '<thead', '<th', '<title', '<tr', '<tt',
00158 '</table>', '</tbody>', '</td>', '</textarea>', '</text>', '</tfoot>', '</thead', '</tfoot', '</th>', '</title>', '</tr>', '</tt>',
00159 '</table', '</tbody', '</td', '</textarea', '</text', '</tfoot', '</tfoot', '</thead', '</th', '</title', '</tr', '</tt',
00160
00161 '<ul>', '<u>',
00162 '<ul', '<u',
00163 '</ul>', '</ul>',
00164 '</ul', '</u',
00165
00166 '<var>',
00167 '<var',
00168 '</var>',
00169 '</var',
00170
00171 '>', '<'
00172 ),
00173
00174 3 => array(
00175 'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis',
00176 'background', 'bgcolor', 'border',
00177 'cellpadding', 'cellspacing', 'char', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords',
00178 'data', 'datetime', 'declare', 'defer', 'dir', 'disabled',
00179 'enctype',
00180 'face', 'for', 'frame', 'frameborder',
00181 'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv',
00182 'id', 'ismap',
00183 'label', 'lang', 'language', 'link', 'longdesc',
00184 'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple',
00185 'name', 'nohref', 'noresize', 'noshade', 'nowrap',
00186 'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload',
00187 'profile', 'prompt',
00188 'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules',
00189 'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary',
00190 'tabindex', 'target', 'text', 'title', 'type',
00191 'usemap',
00192 'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace',
00193 'width'
00194 ),
00195
00196 4 => array(
00197 'var', 'function', 'while', 'if','else'
00198 ),
00199
00200 5 => array(
00201 'Abs', 'GetFunctionList', 'LSTimeFormat','ACos','GetGatewayHelper','LTrim','AddSOAPRequestHeader','GetHttpRequestData',
00202 'Max','AddSOAPResponseHeader','GetHttpTimeString','Mid','ArrayAppend','GetLocale','Min','ArrayAvg','GetLocaleDisplayName',
00203 'Minute','ArrayClear','GetMetaData','Month','ArrayDeleteAt','GetMetricData','MonthAsString','ArrayInsertAt','GetPageContext',
00204 'Now','ArrayIsEmpty','GetProfileSections','NumberFormat','ArrayLen','GetProfileString','ParagraphFormat','ArrayMax',
00205 'GetLocalHostIP','ParseDateTime','ArrayMin','GetSOAPRequest','Pi','ArrayNew','GetSOAPRequestHeader','PreserveSingleQuotes',
00206 'ArrayPrepend','GetSOAPResponse','Quarter','ArrayResize','GetSOAPResponseHeader','QueryAddColumn','ArraySet',
00207 'GetTempDirectory','QueryAddRow','ArraySort','GetTempDirectory','QueryNew','ArraySum','GetTempFile','QuerySetCell',
00208 'ArraySwap','GetTickCount','QuotedValueList','ArrayToList','GetTimeZoneInfo','Rand','Asc','GetToken','Randomize',
00209 'ASin','Hash','RandRange','Atn','Hour','REFind','BinaryDecode','HTMLCodeFormat','REFindNoCase','BinaryEncode',
00210 'HTMLEditFormat','ReleaseComObject','BitAnd','IIf','RemoveChars','BitMaskClear','IncrementValue','RepeatString',
00211 'BitMaskRead','InputBaseN','Replace','BitMaskSet','Insert','ReplaceList','BitNot','Int','ReplaceNoCase','BitOr',
00212 'IsArray','REReplace','BitSHLN','IsBinary','REReplaceNoCase','BitSHRN','IsBoolean','Reverse','BitXor','IsCustomFunction',
00213 'Right','Ceiling','IsDate','RJustify','CharsetDecode','IsDebugMode','Round','CharsetEncode','IsDefined','RTrim',
00214 'Chr','IsLeapYear','Second','CJustify','IsLocalHost','SendGatewayMessage','Compare','IsNumeric','SetEncoding',
00215 'CompareNoCase','IsNumericDate','SetLocale','Cos','IsObject','SetProfileString','CreateDate','IsQuery','SetVariable',
00216 'CreateDateTime','IsSimpleValue','Sgn','CreateObject','IsSOAPRequest','Sin','CreateODBCDate','IsStruct','SpanExcluding',
00217 'CreateODBCDateTime','IsUserInRole','SpanIncluding','CreateODBCTime','IsValid','Sqr','CreateTime','IsWDDX','StripCR',
00218 'CreateTimeSpan','IsXML','StructAppend','CreateUUID','IsXmlAttribute','StructClear','DateAdd','IsXmlDoc','StructCopy',
00219 'DateCompare','IsXmlElem','StructCount','DateConvert','IsXmlNode','StructDelete','DateDiff','IsXmlRoot','StructFind',
00220 'DateFormat','JavaCast','StructFindKey','DatePart','JSStringFormat','StructFindValue','Day','LCase','StructGet',
00221 'DayOfWeek','Left','StructInsert','DayOfWeekAsString','Len','StructIsEmpty','DayOfYear','ListAppend','StructKeyArray',
00222 'DaysInMonth','ListChangeDelims','StructKeyExists','DaysInYear','ListContains','StructKeyList','DE','ListContainsNoCase',
00223 'StructNew','DecimalFormat','ListDeleteAt','StructSort','DecrementValue','ListFind','StructUpdate','Decrypt','ListFindNoCase',
00224 'Tan','DecryptBinary','ListFirst','TimeFormat','DeleteClientVariable','ListGetAt','ToBase64','DirectoryExists',
00225 'ListInsertAt','ToBinary','DollarFormat','ListLast','ToScript','Duplicate','ListLen','ToString','Encrypt','ListPrepend',
00226 'Trim','EncryptBinary','ListQualify','UCase','Evaluate','ListRest','URLDecode','Exp','ListSetAt','URLEncodedFormat',
00227 'ExpandPath','ListSort','URLSessionFormat','FileExists','ListToArray','Val','Find','ListValueCount','ValueList',
00228 'FindNoCase','ListValueCountNoCase','Week','FindOneOf','LJustify','Wrap','FirstDayOfMonth','Log','WriteOutput',
00229 'Fix','Log10','XmlChildPos','FormatBaseN','LSCurrencyFormat','XmlElemNew','GetAuthUser','LSDateFormat','XmlFormat',
00230 'GetBaseTagData','LSEuroCurrencyFormat','XmlGetNodeType','GetBaseTagList','LSIsCurrency','XmlNew','GetBaseTemplatePath',
00231 'LSIsDate','XmlParse','GetClientVariablesList','LSIsNumeric','XmlSearch','GetCurrentTemplatePath','LSNumberFormat',
00232 'XmlTransform','GetDirectoryFromPath','LSParseCurrency','XmlValidate','GetEncoding','LSParseDateTime','Year',
00233 'GetException','LSParseEuroCurrency','YesNoFormat','GetFileFromPath','LSParseNumber'
00234 ),
00235
00236 6 => array(
00237 '=','&','name','dbtype','connectstring','datasource','username','password','query','delimeter','description','required','hint','default','access','from','to','list','index'
00238 )
00239 ),
00240 'SYMBOLS' => array(
00241 '/', '=', 'EQ', 'GT', 'LT', 'GTE', 'LTE', 'IS', 'LIKE', '&', '{', '}', '(', ')', '[', ']','gt','lt'
00242 ),
00243 'CASE_SENSITIVE' => array(
00244 GESHI_COMMENTS => false,
00245 1 => false,
00246 2 => false,
00247 3 => false,
00248 4 => false,
00249 5 => false,
00250 6 => false
00251 ),
00252 'STYLES' => array(
00253 'KEYWORDS' => array(
00254 1 => 'color: #990000;',
00255 2 => 'color: #000000; font-weight: bold;',
00256 3 => 'color: #0000FF;',
00257 4 => 'color: #000000; font-weight: bold;',
00258 5 => 'color: #0000FF;',
00259 6 => 'color: #0000FF'
00260 ),
00261 'COMMENTS' => array(
00262 1 => 'color: #808080; font-style: italic;',
00263 'MULTI' => 'color: #808080; font-style: italic; background-color:#FFFF99;'
00264 ),
00265 'ESCAPE_CHAR' => array(
00266 0 => 'color: #000099; font-weight: bold;'
00267 ),
00268 'BRACKETS' => array(
00269 0 => 'color: #0000FF;'
00270 ),
00271 'STRINGS' => array(
00272 0 => 'color: #009900;'
00273 ),
00274 'NUMBERS' => array(
00275 0 => 'color: #FF0000;'
00276 ),
00277 'METHODS' => array(
00278 ),
00279 'SYMBOLS' => array(
00280 0 => 'color: #0000FF;'
00281 ),
00282 'SCRIPT' => array(
00283 0 => 'color: #00bbdd;',
00284 1 => 'color: #0000FF;',
00285 2 => 'color: #000099;',
00286 3 => 'color: #333333;'
00287 ),
00288 'REGEXPS' => array(
00289 )
00290 ),
00291 'URLS' => array(
00292 1 => '',
00293 2 => '',
00294 3 => '',
00295 4 => ''
00296 ),
00297 'OOLANG' => false,
00298 'OBJECT_SPLITTERS' => array(
00299 ),
00300 'REGEXPS' => array(
00301 ),
00302 'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
00303 'SCRIPT_DELIMITERS' => array(
00304 0 => array(
00305 '<!DOCTYPE' => '>'
00306 ),
00307 1 => array(
00308 '#' => '#'
00309 ),
00310 2 => array(
00311 '<cfscript>' => '</cfscript>;'
00312 ),
00313 3 => array(
00314 '<' => '>'
00315 )
00316 ),
00317 'HIGHLIGHT_STRICT_BLOCK' => array(
00318 0 => false,
00319 1 => true,
00320 2 => true,
00321 3 => true
00322 )
00323 );
00324
00325 ?>