A tumblelog CMS built on AJAX, PHP and MySQL.

inno.php 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?php
  2. /*************************************************************************************
  3. * Inno.php
  4. * ----------
  5. * Author: Thomas Klingler (hotline@theratech.de) based on delphi.php from Járja Norbert (jnorbi@vipmail.hu)
  6. * Copyright: (c) 2004 Járja Norbert, Nigel McNie (http://qbnz.com/highlighter)
  7. * Release Version: 1.0.7.21
  8. * Date Started: 2005/07/29
  9. *
  10. * Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2005/09/03
  15. * - First Release
  16. *
  17. * TODO (updated 2005/07/27)
  18. * -------------------------
  19. *
  20. *************************************************************************************
  21. *
  22. * This file is part of GeSHi.
  23. *
  24. * GeSHi is free software; you can redistribute it and/or modify
  25. * it under the terms of the GNU General Public License as published by
  26. * the Free Software Foundation; either version 2 of the License, or
  27. * (at your option) any later version.
  28. *
  29. * GeSHi is distributed in the hope that it will be useful,
  30. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  31. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  32. * GNU General Public License for more details.
  33. *
  34. * You should have received a copy of the GNU General Public License
  35. * along with GeSHi; if not, write to the Free Software
  36. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  37. *
  38. ************************************************************************************/
  39. $language_data = array (
  40. 'LANG_NAME' => 'Inno',
  41. 'COMMENT_SINGLE' => array(1 => '//'),
  42. 'COMMENT_MULTI' => array('(*' => '*)'),
  43. 'CASE_KEYWORDS' => 0,
  44. 'QUOTEMARKS' => array("'", '"'),
  45. 'ESCAPE_CHAR' => '',
  46. 'KEYWORDS' => array(
  47. 1 => array('Setup','Types','Components','Tasks','Dirs','Files','Icons','INI','InstallDelete','Languages','Messages',
  48. 'CustomMessage','LangOptions','Registry','RUN','UninstallDelete','UninstallRun'
  49. ,'app','win','sys','syswow64','src','sd','pf','pf32','pf64','cf','cf32','cf64','tmp','fonts','dao',
  50. 'group','localappdata','sendto','userappdata','commonappdata','userdesktop','commondesktop','userdocs',
  51. 'commondocs','userfavorites','commonfavorites','userprograms','commonprograms','userstartmenu',
  52. 'commonstartmenu','userstartup','commonstartup','usertemplates','commontemplates'
  53. ),
  54. 2 => array(
  55. 'nil', 'false', 'true', 'var', 'type', 'const','And', 'Array', 'As', 'Begin', 'Case', 'Class', 'Constructor', 'Destructor', 'Div', 'Do', 'DownTo', 'Else',
  56. 'End', 'Except', 'File', 'Finally', 'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited', 'Interface',
  57. 'Is', 'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Packed', 'Procedure', 'Property', 'Raise', 'Record',
  58. 'Repeat', 'Set', 'Shl', 'Shr', 'Then', 'ThreadVar', 'To', 'Try', 'Unit', 'Until', 'Uses', 'While', 'With', 'Xor',
  59. 'HKCC','HKCR','HKCU','HKLM','HKU','alwaysoverwrite','alwaysskipifsameorolder','append',
  60. 'binary','classic','closeonexit','comparetimestamp','confirmoverwrite',
  61. 'createkeyifdoesntexist','createonlyiffileexists','createvalueifdoesntexist',
  62. 'deleteafterinstall','deletekey','deletevalue','dirifempty','dontcloseonexit',
  63. 'dontcopy','dontcreatekey','disablenouninstallwarning','dword','exclusive','expandsz',
  64. 'external','files','filesandordirs','fixed','fontisnttruetype','ignoreversion','iscustom','isreadme',
  65. 'modern','multisz','new','noerror','none','normal','nowait','onlyifdestfileexists',
  66. 'onlyifdoesntexist','onlyifnewer','overwrite','overwritereadonly','postinstall',
  67. 'preservestringtype','promptifolder','regserver','regtypelib','restart','restartreplace',
  68. 'runhidden','runmaximized','runminimized','sharedfile','shellexec','showcheckbox',
  69. 'skipifnotsilent','skipifsilent','silent','skipifdoesntexist',
  70. 'skipifsourcedoesntexist','sortfilesbyextension','unchecked','uninsalwaysuninstall',
  71. 'uninsclearvalue','uninsdeleteentry','uninsdeletekey','uninsdeletekeyifempty',
  72. 'uninsdeletesection','uninsdeletesectionifempty','uninsdeletevalue',
  73. 'uninsneveruninstall','useapppaths','verysilent','waituntilidle'
  74. ),
  75. 3 => array(
  76. 'Abs', 'Addr', 'AnsiCompareStr', 'AnsiCompareText', 'AnsiContainsStr', 'AnsiEndsStr', 'AnsiIndexStr', 'AnsiLeftStr',
  77. 'AnsiLowerCase', 'AnsiMatchStr', 'AnsiMidStr', 'AnsiPos', 'AnsiReplaceStr', 'AnsiReverseString', 'AnsiRightStr',
  78. 'AnsiStartsStr', 'AnsiUpperCase', 'ArcCos', 'ArcSin', 'ArcTan', 'Assigned', 'BeginThread', 'Bounds', 'CelsiusToFahrenheit',
  79. 'ChangeFileExt', 'Chr', 'CompareStr', 'CompareText', 'Concat', 'Convert', 'Copy', 'Cos', 'CreateDir', 'CurrToStr',
  80. 'CurrToStrF', 'Date', 'DateTimeToFileDate', 'DateTimeToStr', 'DateToStr', 'DayOfTheMonth', 'DayOfTheWeek', 'DayOfTheYear',
  81. 'DayOfWeek', 'DaysBetween', 'DaysInAMonth', 'DaysInAYear', 'DaySpan', 'DegToRad', 'DeleteFile', 'DiskFree', 'DiskSize',
  82. 'DupeString', 'EncodeDate', 'EncodeDateTime', 'EncodeTime', 'EndOfADay', 'EndOfAMonth', 'Eof', 'Eoln', 'Exp', 'ExtractFileDir',
  83. 'ExtractFileDrive', 'ExtractFileExt', 'ExtractFileName', 'ExtractFilePath', 'FahrenheitToCelsius', 'FileAge',
  84. 'FileDateToDateTime', 'FileExists', 'FilePos', 'FileSearch', 'FileSetDate', 'FileSize', 'FindClose', 'FindCmdLineSwitch',
  85. 'FindFirst', 'FindNext', 'FloatToStr', 'FloatToStrF', 'Format', 'FormatCurr', 'FormatDateTime', 'FormatFloat', 'Frac',
  86. 'GetCurrentDir', 'GetLastError', 'GetMem', 'High', 'IncDay', 'IncMinute', 'IncMonth', 'IncYear', 'InputBox',
  87. 'InputQuery', 'Int', 'IntToHex', 'IntToStr', 'IOResult', 'IsInfinite', 'IsLeapYear', 'IsMultiThread', 'IsNaN',
  88. 'LastDelimiter', 'Length', 'Ln', 'Lo', 'Log10', 'Low', 'LowerCase', 'Max', 'Mean', 'MessageDlg', 'MessageDlgPos',
  89. 'MonthOfTheYear', 'Now', 'Odd', 'Ord', 'ParamCount', 'ParamStr', 'Pi', 'Point', 'PointsEqual', 'Pos', 'Pred',
  90. 'Printer', 'PromptForFileName', 'PtInRect', 'RadToDeg', 'Random', 'RandomRange', 'RecodeDate', 'RecodeTime', 'Rect',
  91. 'RemoveDir', 'RenameFile', 'Round', 'SeekEof', 'SeekEoln', 'SelectDirectory', 'SetCurrentDir', 'Sin', 'SizeOf',
  92. 'Slice', 'Sqr', 'Sqrt', 'StringOfChar', 'StringReplace', 'StringToWideChar', 'StrToCurr', 'StrToDate', 'StrToDateTime',
  93. 'StrToFloat', 'StrToInt', 'StrToInt64', 'StrToInt64Def', 'StrToIntDef', 'StrToTime', 'StuffString', 'Succ', 'Sum', 'Tan',
  94. 'Time', 'TimeToStr', 'Tomorrow', 'Trunc', 'UpCase', 'UpperCase', 'VarType', 'WideCharToString', 'WrapText', 'Yesterday',
  95. 'Append', 'AppendStr', 'Assign', 'AssignFile', 'AssignPrn', 'Beep', 'BlockRead', 'BlockWrite', 'Break',
  96. 'ChDir', 'Close', 'CloseFile', 'Continue', 'DateTimeToString', 'Dec', 'DecodeDate', 'DecodeDateTime',
  97. 'DecodeTime', 'Delete', 'Dispose', 'EndThread', 'Erase', 'Exclude', 'Exit', 'FillChar', 'Flush', 'FreeAndNil',
  98. 'FreeMem', 'GetDir', 'GetLocaleFormatSettings', 'Halt', 'Inc', 'Include', 'Insert', 'MkDir', 'Move', 'New',
  99. 'ProcessPath', 'Randomize', 'Read', 'ReadLn', 'ReallocMem', 'Rename', 'ReplaceDate', 'ReplaceTime',
  100. 'Reset', 'ReWrite', 'RmDir', 'RunError', 'Seek', 'SetLength', 'SetString', 'ShowMessage', 'ShowMessageFmt',
  101. 'ShowMessagePos', 'Str', 'Truncate', 'Val', 'Write', 'WriteLn',
  102. 'AdminPrivilegesRequired','AfterInstall','AllowCancelDuringInstall','AllowNoIcons','AllowRootDirectory','AllowUNCPath','AlwaysRestart','AlwaysShowComponentsList','AlwaysShowDirOnReadyPage','AlwaysShowGroupOnReadyPage ','AlwaysUsePersonalGroup','AppComments','AppContact','AppCopyright','AppendDefaultDirName',
  103. 'AppendDefaultGroupName','AppId','AppModifyPath','AppMutex','AppName','AppPublisher',
  104. 'AppPublisherURL','AppReadmeFile','AppSupportURL','AppUpdatesURL','AppVerName','AppVersion',
  105. 'Attribs','BackColor','BackColor2','BackColorDirection','BackSolid','BeforeInstall',
  106. 'ChangesAssociations','ChangesEnvironment','Check','CodeFile','Comment','Components','Compression','CopyMode',
  107. 'CreateAppDir','CreateUninstallRegKey','DefaultDirName','DefaultGroupName',
  108. 'DefaultUserInfoName','DefaultUserInfoOrg','DefaultUserInfoSerial',
  109. 'Description','DestDir','DestName','DirExistsWarning',
  110. 'DisableDirPage','DisableFinishedPage',
  111. 'DisableProgramGroupPage','DisableReadyMemo','DisableReadyPage',
  112. 'DisableStartupPrompt','DiskClusterSize','DiskSliceSize','DiskSpaceMBLabel',
  113. 'DiskSpanning','DontMergeDuplicateFiles','EnableDirDoesntExistWarning','Encryption',
  114. 'Excludes','ExtraDiskSpaceRequired','Filename','Flags','FlatComponentsList','FontInstall',
  115. 'GroupDescription','HotKey','IconFilename','IconIndex','InfoAfterFile','InfoBeforeFile',
  116. 'InternalCompressLevel','Key','LanguageDetectionMethod','Languages',
  117. 'LicenseFile','MergeDuplicateFiles','MessagesFile','MinVersion','Name',
  118. 'OnlyBelowVersion','OutputBaseFilename','OutputManifestFile','OutputDir',
  119. 'Parameters','Password','Permissions','PrivilegesRequired','ReserveBytes',
  120. 'RestartIfNeededByRun','Root','RunOnceId','Section','SetupIconFile',
  121. 'ShowComponentSizes','ShowLanguageDialog','ShowTasksTreeLines','SlicesPerDisk',
  122. 'SolidCompression','Source','SourceDir','StatusMsg','Subkey','Tasks',
  123. 'TimeStampRounding','TimeStampsInUTC','TouchDate','TouchTime','Type','Types',
  124. 'UninstallDisplayIcon','UninstallDisplayName','UninstallFilesDir','UninstallIconFile',
  125. 'UninstallLogMode','UninstallRestartComputer','UninstallStyle','Uninstallable',
  126. 'UpdateUninstallLogAppName','UsePreviousAppDir','UsePreviousGroup',
  127. 'UsePreviousTasks','UsePreviousSetupType','UsePreviousUserInfo',
  128. 'UserInfoPage','UseSetupLdr','ValueData','ValueName','ValueType',
  129. 'VersionInfoVersion','VersionInfoCompany','VersionInfoDescription','VersionInfoTextVersion',
  130. 'WindowResizable','WindowShowCaption','WindowStartMaximized',
  131. 'WindowVisible','WizardImageBackColor','WizardImageFile','WizardImageStretch','WizardSmallImageBackColor','WizardSmallImageFile','WizardStyle','WorkingDir'
  132. ),
  133. 4 => array(
  134. 'AnsiChar', 'AnsiString', 'Boolean', 'Byte', 'Cardinal', 'Char', 'Comp', 'Currency', 'Double', 'Extended',
  135. 'Int64', 'Integer', 'LongInt', 'LongWord', 'PAnsiChar', 'PAnsiString', 'PChar', 'PCurrency', 'PDateTime',
  136. 'PExtended', 'PInt64', 'Pointer', 'PShortString', 'PString', 'PVariant', 'PWideChar', 'PWideString',
  137. 'Real', 'Real48', 'ShortInt', 'ShortString', 'Single', 'SmallInt', 'String', 'TBits', 'TConvType', 'TDateTime',
  138. 'Text', 'TextFile', 'TFloatFormat', 'TFormatSettings', 'TList', 'TObject', 'TOpenDialog', 'TPoint',
  139. 'TPrintDialog', 'TRect', 'TReplaceFlags', 'TSaveDialog', 'TSearchRec', 'TStringList', 'TSysCharSet',
  140. 'TThreadFunc', 'Variant', 'WideChar', 'WideString', 'Word'
  141. ),
  142. ),
  143. 'SYMBOLS' => array(
  144. '(', ')', '[', ']', '{', '}', '@', '%', '&', '*', '|', '/', '<', '>'
  145. ),
  146. 'CASE_SENSITIVE' => array(
  147. GESHI_COMMENTS => true,
  148. 1 => false,
  149. 2 => false,
  150. 3 => false,
  151. 4 => false,
  152. ),
  153. 'STYLES' => array(
  154. 'KEYWORDS' => array(
  155. 1 => 'color: #000000; font-weight: bold;',/*bold Black*/
  156. 2 => 'color: #000000;font-style: italic;',/*Black*/
  157. 3 => 'color: #0000FF;',/*blue*/
  158. 4 => 'color: #CC0000;'/*red*/
  159. ),
  160. 'COMMENTS' => array(
  161. 1 => 'color: #33FF00; font-style: italic;',
  162. 'MULTI' => 'color: #33FF00; font-style: italic;'
  163. ),
  164. 'ESCAPE_CHAR' => array(
  165. ),
  166. 'BRACKETS' => array(
  167. 0 => 'color: #66cc66;'
  168. ),
  169. 'STRINGS' => array(
  170. 0 => 'color: #ff0000;'
  171. ),
  172. 'NUMBERS' => array(
  173. 0 => 'color: #cc66cc;'
  174. ),
  175. 'METHODS' => array(
  176. 1 => 'color: #006600;'
  177. ),
  178. 'REGEXPS' => array(
  179. ),
  180. 'SYMBOLS' => array(
  181. 0 => 'color: #000000; font-weight: bold;',
  182. ),
  183. 'SCRIPT' => array(
  184. )
  185. ),
  186. 'URLS' => array(
  187. 1 => '',
  188. 2 => '',
  189. 3 => '',
  190. 4 => ''
  191. ),
  192. 'OOLANG' => true,
  193. 'OBJECT_SPLITTERS' => array(
  194. 1 => '.'
  195. ),
  196. 'REGEXPS' => array(
  197. ),
  198. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  199. 'SCRIPT_DELIMITERS' => array(
  200. ),
  201. 'HIGHLIGHT_STRICT_BLOCK' => array(
  202. )
  203. );
  204. ?>