| [ Index ] |
|
Code source de DokuWiki 2006-11-06 |
1 <?php 2 /************************************************************************************* 3 * cfm.php 4 * ------- 5 * Author: Diego () 6 * Copyright: (c) 2006 Diego 7 * Release Version: 1.0.7.15 8 * CVS Revision Version: $Revision: 1.7.2.5 $ 9 * Date Started: 2006/02/25 10 * Last Modified: $Date: 2006/09/23 02:05:46 $ 11 * 12 * ColdFusion language file for GeSHi. 13 * 14 * CHANGES 15 * ------- 16 * 2006/02/25 (1.0.0) 17 * - First Release 18 * 19 * TODO (updated 2006/02/25) 20 * ------------------------- 21 * 22 ************************************************************************************* 23 * 24 * This file is part of GeSHi. 25 * 26 * GeSHi is free software; you can redistribute it and/or modify 27 * it under the terms of the GNU General Public License as published by 28 * the Free Software Foundation; either version 2 of the License, or 29 * (at your option) any later version. 30 * 31 * GeSHi is distributed in the hope that it will be useful, 32 * but WITHOUT ANY WARRANTY; without even the implied warranty of 33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 * GNU General Public License for more details. 35 * 36 * You should have received a copy of the GNU General Public License 37 * along with GeSHi; if not, write to the Free Software 38 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 39 * 40 ************************************************************************************/ 41 42 $language_data = array ( 43 'LANG_NAME' => 'ColdFusion', 44 'COMMENT_SINGLE' => array(1 => '//'), 45 'COMMENT_MULTI' => array('<!--' => '-->','<!---' => '--->'), 46 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 47 'QUOTEMARKS' => array("'", '"'), 48 'ESCAPE_CHAR' => '\\', 49 'KEYWORDS' => array( 50 /* CFM Tags */ 51 1 => array( 52 '<cfabort', '<cfapplet', '<cfapplication', '<cfargument', '<cfassociate', '<<cfbreak>', 53 '<cfcache', '<cfcase', '<cfcatch', '</cfcatch>', '<cfchart', '</cfchart>', '<cfchartdata', 54 '<cfchartseries', '</cfchartseries>', '<cfcol', '<cfcollection', '<cfcomponent', '</cfcomponent>', 55 '<cfcontent', '<cfcookie', '</cfdefaultcase>', '<cfdirectory', '<cfdocument', '</cfdocument>', 56 '<cfdocumentitem', '</cfdocumentitem>', '<cfdocumentsection', '</cfdocumentsection>', '<cfdump', 57 '<cfelse', '<cfelseif', '<cferror', '<cfexecute', '</cfexecute>', '<cfexit', '<cffile', 58 '<cfflush', '<cfform', '</cfform>', '<cfformgroup', '</cfformgroup', '<cfformitem', 59 '</cfformitem>', '<cfftp', '<cffunction', '</cffunction>', '<cfgrid', '</cfgrid>', 60 '<cfgridcolumn', '<cfgridrow', '<cfgridupdate', '<cfheader', '<cfhtmlhead', '<cfhttp', 61 '</cfhttp>', '<cfhttpparam', '<cfif', '</cfif>', '<cfimport', '<cfinclude', '<cfindex', 62 '<cfinput', '<cfinsert', '<cfinvoke', '<cfinvokeargument', '<cfldap', '<cflocation', '<cflock', 63 '</cflock>', '<cflog', '<cflogin', '</cflogin>', '<cfloginuser', '<cflogout', '<cfloop', 64 '</cfloop>', '<cfmail', '</cfmail>', '<cfmailparam', '<cfmailpart', '</cfmailpart>', 65 '<cfmodule', '<cfNTauthenticate', '<cfobject', '<cfobjectcache', '<cfoutput>', '<cfoutput', '</cfoutput>', 66 '<cfparam', '<cfpop', '<cfprocessingdirective', '</cfprocessingdirective>', '<cfprocparam', 67 '<cfprocresult', '<cfproperty', '<cfquery', '</cfquery>', '<cfqueryparam', '<cfregistry', 68 '</cfregistry>', '<cfreport', '</cfreport>', '<cfreportparam', '</cfreportparam>', 69 '<cfrethrow', '<cfreturn', '<cfsavecontent', '</cfsavecontent>', '<cfschedule', '<cfscript', '<cfscript>', 70 '</cfscript>', '<cfsearch', '<cfselect', '</cfselect>', '<cfset', '<cfsetting', '<cfsilent', 71 '</cfsilent>', '<cfstoredproc', '</cfstoredproc>', '<cfswitch', '</cfswitch>', '<cftable', 72 '</cftable>', '<cftextarea', '</cftextarea>', '<cfthrow', '<cftimer', '</cftimer>', 73 '<cftrace', '</cftrace>', '<cftransaction', '</cftransaction>', '<cftree', '</cftree>', 74 '<cftreeitem', '<cftry', '</cftry>', '<cfupdate', '<cfwddx','<','>' 75 ), 76 /* HTML Tags */ 77 2 => array( 78 '<a>', '<abbr>', '<acronym>', '<address>', '<applet>', 79 '<a', '<abbr', '<acronym', '<address', '<applet', 80 '</a>', '</abbr>', '</acronym>', '</address>', '</applet>', 81 '</a', '</abbr', '</acronym', '</address', '</applet', 82 83 '<base>', '<basefont>', '<bdo>', '<big>', '<blockquote>', '<body>', '<br>', '<button>', '<b>', 84 '<base', '<basefont', '<bdo', '<big', '<blockquote', '<body', '<br', '<button', '<b', 85 '</base>', '</basefont>', '</bdo>', '</big>', '</blockquote>', '</body>', '</br>', '</button>', '</b>', 86 '</base', '</basefont', '</bdo', '</big', '</blockquote', '</body', '</br','<br />', '</button', '</b', 87 88 '<caption>', '<center>', '<cite>', '<code>', '<colgroup>', '<col>', 89 '<caption', '<center', '<cite', '<code', '<colgroup', '<col', 90 '</caption>', '</center>', '</cite>', '</code>', '</colgroup>', '</col>', 91 '</caption', '</center', '</cite', '</code', '</colgroup', '</col', 92 93 '<dd>', '<del>', '<dfn>', '<dir>', '<div>', '<dl>', '<dt>', 94 '<dd', '<del', '<dfn', '<dir', '<div', '<dl', '<dt', 95 '</dd>', '</del>', '</dfn>', '</dir>', '</div>', '</dl>', '</dt>', 96 '</dd', '</del', '</dfn', '</dir', '</div', '</dl', '</dt', 97 98 '<em>', 99 '<em', 100 '</em>', 101 '</em', 102 103 '<fieldset>', '<font>', '<form>', '<frame>', '<frameset>', 104 '<fieldset', '<font', '<form', '<frame', '<frameset', 105 '</fieldset>', '</font>', '</form>', '</frame>', '</frameset>', 106 '</fieldset', '</font', '</form', '</frame', '</frameset', 107 108 '<h1>', '<h2>', '<h3>', '<h4>', '<h5>', '<h6>', '<head>', '<hr>', '<html>', 109 '<h1', '<h2', '<h3', '<h4', '<h5', '<h6', '<head', '<hr', '<html', 110 '</h1>', '</h2>', '</h3>', '</h4>', '</h5>', '</h6>', '</head>', '</hr>', '</html>', 111 '</h1', '</h2', '</h3', '</h4', '</h5', '</h6', '</head', '</hr', '</html', 112 113 '<iframe>', '<ilayer>', '<img>', '<input>', '<ins>', '<isindex>', '<i>', 114 '<iframe', '<ilayer', '<img', '<input', '<ins', '<isindex', '<i', 115 '</iframe>', '</ilayer>', '</img>', '</input>', '</ins>', '</isindex>', '</i>', 116 '</iframe', '</ilayer', '</img', '</input', '</ins', '</isindex', '</i', 117 118 '<kbd>', 119 '<kbd', 120 '&t;/kbd>', 121 '</kbd', 122 123 '<label>', '<legend>', '<link>', '<li>', 124 '<label', '<legend', '<link', '<li', 125 '</label>', '</legend>', '</link>', '</li>', 126 '</label', '</legend', '</link', '</li', 127 128 '<map>', '<meta>', 129 '<map', '<meta', 130 '</map>', '</meta>', 131 '</map', '</meta', 132 133 '<noframes>', '<noscript>', 134 '<noframes', '<noscript', 135 '</noframes>', '</noscript>', 136 '</noframes', '</noscript', 137 138 '<object>', '<ol>', '<optgroup>', '<option>', 139 '<object', '<ol', '<optgroup', '<option', 140 '</object>', '</ol>', '</optgroup>', '</option>', 141 '</object', '</ol', '</optgroup', '</option', 142 143 '<param>', '<pre>', '<p>', 144 '<param', '<pre', '<p', 145 '</param>', '</pre>', '</p>', 146 '</param', '</pre', '</p', 147 148 '<q>', 149 '<q', 150 '</q>', 151 '</q', 152 153 '<samp>', '<script>', '<select>', '<small>', '<span>', '<strike>', '<strong>', '<style>', '<sub>', '<sup>', '<s>', 154 '<samp', '<script', '<select', '<small', '<span', '<strike', '<strong', '<style', '<sub', '<sup', '<s', 155 '</samp>', '</script>', '</select>', '</small>', '</span>', '</strike>', '</strong>', '</style>', '</sub>', '</sup>', '</s>', 156 '</samp', '</script', '</select', '</small', '</span', '</strike', '</strong', '</style', '</sub', '</sup', '</s', 157 158 '<table>', '<tbody>', '<td>', '<textarea>', '<text>', '<tfoot>', '<thead>', '<th>', '<title>', '<tr>', '<tt>', 159 '<table', '<tbody', '<td', '<textarea', '<text', '<tfoot', '<tfoot', '<thead', '<th', '<title', '<tr', '<tt', 160 '</table>', '</tbody>', '</td>', '</textarea>', '</text>', '</tfoot>', '</thead', '</tfoot', '</th>', '</title>', '</tr>', '</tt>', 161 '</table', '</tbody', '</td', '</textarea', '</text', '</tfoot', '</tfoot', '</thead', '</th', '</title', '</tr', '</tt', 162 163 '<ul>', '<u>', 164 '<ul', '<u', 165 '</ul>', '</ul>', 166 '</ul', '</u', 167 168 '<var>', 169 '<var', 170 '</var>', 171 '</var', 172 173 '>', '<' 174 ), 175 /* HTML attributes */ 176 3 => array( 177 'abbr', 'accept-charset', 'accept', 'accesskey', 'action', 'align', 'alink', 'alt', 'archive', 'axis', 178 'background', 'bgcolor', 'border', 179 'cellpadding', 'cellspacing', 'char', 'char', 'charoff', 'charset', 'checked', 'cite', 'class', 'classid', 'clear', 'code', 'codebase', 'codetype', 'color', 'cols', 'colspan', 'compact', 'content', 'coords', 180 'data', 'datetime', 'declare', 'defer', 'dir', 'disabled', 181 'enctype', 182 'face', 'for', 'frame', 'frameborder', 183 'headers', 'height', 'href', 'hreflang', 'hspace', 'http-equiv', 184 'id', 'ismap', 185 'label', 'lang', 'language', 'link', 'longdesc', 186 'marginheight', 'marginwidth', 'maxlength', 'media', 'method', 'multiple', 187 'name', 'nohref', 'noresize', 'noshade', 'nowrap', 188 'object', 'onblur', 'onchange', 'onclick', 'ondblclick', 'onfocus', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onreset', 'onselect', 'onsubmit', 'onunload', 189 'profile', 'prompt', 190 'readonly', 'rel', 'rev', 'rowspan', 'rows', 'rules', 191 'scheme', 'scope', 'scrolling', 'selected', 'shape', 'size', 'span', 'src', 'standby', 'start', 'style', 'summary', 192 'tabindex', 'target', 'text', 'title', 'type', 193 'usemap', 194 'valign', 'value', 'valuetype', 'version', 'vlink', 'vspace', 195 'width' 196 ), 197 /* CFM Script delimeters */ 198 4 => array( 199 'var', 'function', 'while', 'if','else' 200 ), 201 /* CFM Functions */ 202 5 => array( 203 'Abs', 'GetFunctionList', 'LSTimeFormat','ACos','GetGatewayHelper','LTrim','AddSOAPRequestHeader','GetHttpRequestData', 204 'Max','AddSOAPResponseHeader','GetHttpTimeString','Mid','ArrayAppend','GetLocale','Min','ArrayAvg','GetLocaleDisplayName', 205 'Minute','ArrayClear','GetMetaData','Month','ArrayDeleteAt','GetMetricData','MonthAsString','ArrayInsertAt','GetPageContext', 206 'Now','ArrayIsEmpty','GetProfileSections','NumberFormat','ArrayLen','GetProfileString','ParagraphFormat','ArrayMax', 207 'GetLocalHostIP','ParseDateTime','ArrayMin','GetSOAPRequest','Pi','ArrayNew','GetSOAPRequestHeader','PreserveSingleQuotes', 208 'ArrayPrepend','GetSOAPResponse','Quarter','ArrayResize','GetSOAPResponseHeader','QueryAddColumn','ArraySet', 209 'GetTempDirectory','QueryAddRow','ArraySort','GetTempDirectory','QueryNew','ArraySum','GetTempFile','QuerySetCell', 210 'ArraySwap','GetTickCount','QuotedValueList','ArrayToList','GetTimeZoneInfo','Rand','Asc','GetToken','Randomize', 211 'ASin','Hash','RandRange','Atn','Hour','REFind','BinaryDecode','HTMLCodeFormat','REFindNoCase','BinaryEncode', 212 'HTMLEditFormat','ReleaseComObject','BitAnd','IIf','RemoveChars','BitMaskClear','IncrementValue','RepeatString', 213 'BitMaskRead','InputBaseN','Replace','BitMaskSet','Insert','ReplaceList','BitNot','Int','ReplaceNoCase','BitOr', 214 'IsArray','REReplace','BitSHLN','IsBinary','REReplaceNoCase','BitSHRN','IsBoolean','Reverse','BitXor','IsCustomFunction', 215 'Right','Ceiling','IsDate','RJustify','CharsetDecode','IsDebugMode','Round','CharsetEncode','IsDefined','RTrim', 216 'Chr','IsLeapYear','Second','CJustify','IsLocalHost','SendGatewayMessage','Compare','IsNumeric','SetEncoding', 217 'CompareNoCase','IsNumericDate','SetLocale','Cos','IsObject','SetProfileString','CreateDate','IsQuery','SetVariable', 218 'CreateDateTime','IsSimpleValue','Sgn','CreateObject','IsSOAPRequest','Sin','CreateODBCDate','IsStruct','SpanExcluding', 219 'CreateODBCDateTime','IsUserInRole','SpanIncluding','CreateODBCTime','IsValid','Sqr','CreateTime','IsWDDX','StripCR', 220 'CreateTimeSpan','IsXML','StructAppend','CreateUUID','IsXmlAttribute','StructClear','DateAdd','IsXmlDoc','StructCopy', 221 'DateCompare','IsXmlElem','StructCount','DateConvert','IsXmlNode','StructDelete','DateDiff','IsXmlRoot','StructFind', 222 'DateFormat','JavaCast','StructFindKey','DatePart','JSStringFormat','StructFindValue','Day','LCase','StructGet', 223 'DayOfWeek','Left','StructInsert','DayOfWeekAsString','Len','StructIsEmpty','DayOfYear','ListAppend','StructKeyArray', 224 'DaysInMonth','ListChangeDelims','StructKeyExists','DaysInYear','ListContains','StructKeyList','DE','ListContainsNoCase', 225 'StructNew','DecimalFormat','ListDeleteAt','StructSort','DecrementValue','ListFind','StructUpdate','Decrypt','ListFindNoCase', 226 'Tan','DecryptBinary','ListFirst','TimeFormat','DeleteClientVariable','ListGetAt','ToBase64','DirectoryExists', 227 'ListInsertAt','ToBinary','DollarFormat','ListLast','ToScript','Duplicate','ListLen','ToString','Encrypt','ListPrepend', 228 'Trim','EncryptBinary','ListQualify','UCase','Evaluate','ListRest','URLDecode','Exp','ListSetAt','URLEncodedFormat', 229 'ExpandPath','ListSort','URLSessionFormat','FileExists','ListToArray','Val','Find','ListValueCount','ValueList', 230 'FindNoCase','ListValueCountNoCase','Week','FindOneOf','LJustify','Wrap','FirstDayOfMonth','Log','WriteOutput', 231 'Fix','Log10','XmlChildPos','FormatBaseN','LSCurrencyFormat','XmlElemNew','GetAuthUser','LSDateFormat','XmlFormat', 232 'GetBaseTagData','LSEuroCurrencyFormat','XmlGetNodeType','GetBaseTagList','LSIsCurrency','XmlNew','GetBaseTemplatePath', 233 'LSIsDate','XmlParse','GetClientVariablesList','LSIsNumeric','XmlSearch','GetCurrentTemplatePath','LSNumberFormat', 234 'XmlTransform','GetDirectoryFromPath','LSParseCurrency','XmlValidate','GetEncoding','LSParseDateTime','Year', 235 'GetException','LSParseEuroCurrency','YesNoFormat','GetFileFromPath','LSParseNumber' 236 ), 237 /* CFM Attributes */ 238 6 => array( 239 '=','&','name','dbtype','connectstring','datasource','username','password','query','delimeter','description','required','hint','default','access','from','to','list','index' 240 ) 241 ), 242 'SYMBOLS' => array( 243 '/', '=', 'EQ', 'GT', 'LT', 'GTE', 'LTE', 'IS', 'LIKE', '&', '{', '}', '(', ')', '[', ']','gt','lt' 244 ), 245 'CASE_SENSITIVE' => array( 246 GESHI_COMMENTS => false, 247 1 => false, 248 2 => false, 249 3 => false, 250 4 => false, 251 5 => false, 252 6 => false 253 ), 254 'STYLES' => array( 255 'KEYWORDS' => array( 256 1 => 'color: #990000;', 257 2 => 'color: #000000; font-weight: bold;', 258 3 => 'color: #0000FF;', 259 4 => 'color: #000000; font-weight: bold;', 260 5 => 'color: #0000FF;', 261 6 => 'color: #0000FF' 262 ), 263 'COMMENTS' => array( 264 1 => 'color: #808080; font-style: italic;', 265 'MULTI' => 'color: #808080; font-style: italic; background-color:#FFFF99;' 266 ), 267 'ESCAPE_CHAR' => array( 268 0 => 'color: #000099; font-weight: bold;' 269 ), 270 'BRACKETS' => array( 271 0 => 'color: #0000FF;' 272 ), 273 'STRINGS' => array( 274 0 => 'color: #009900;' 275 ), 276 'NUMBERS' => array( 277 0 => 'color: #FF0000;' 278 ), 279 'METHODS' => array( 280 ), 281 'SYMBOLS' => array( 282 0 => 'color: #0000FF;' 283 ), 284 'SCRIPT' => array( 285 0 => 'color: #00bbdd;', 286 1 => 'color: #0000FF;', 287 2 => 'color: #000099;', 288 3 => 'color: #333333;' 289 ), 290 'REGEXPS' => array( 291 ) 292 ), 293 'URLS' => array( 294 1 => '', 295 2 => '', 296 3 => '', 297 4 => '' 298 ), 299 'OOLANG' => false, 300 'OBJECT_SPLITTERS' => array( 301 ), 302 'REGEXPS' => array( 303 ), 304 'STRICT_MODE_APPLIES' => GESHI_ALWAYS, 305 'SCRIPT_DELIMITERS' => array( 306 0 => array( 307 '<!DOCTYPE' => '>' 308 ), 309 1 => array( 310 '#' => '#' 311 ), 312 2 => array( 313 '<cfscript>' => '</cfscript>;' 314 ), 315 3 => array( 316 '<' => '>' 317 ) 318 ), 319 'HIGHLIGHT_STRICT_BLOCK' => array( 320 0 => false, 321 1 => true, 322 2 => true, 323 3 => true 324 ) 325 ); 326 327 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Tue Apr 3 20:47:31 2007 | par Balluche grâce à PHPXref 0.7 |