A tumblelog CMS built on AJAX, PHP and MySQL.

ini.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?php
  2. /*************************************************************************************
  3. * ini.php
  4. * --------
  5. * Author: deguix (cevo_deguix@yahoo.com.br)
  6. * Copyright: (c) 2005 deguix
  7. * Release Version: 1.0.7.21
  8. * Date Started: 2005/03/27
  9. *
  10. * INI language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2005/12/28 (1.0.1)
  15. * - Removed unnecessary keyword style index
  16. * - Added support for " strings
  17. * 2005/04/05 (1.0.0)
  18. * - First Release
  19. *
  20. * TODO (updated 2005/03/27)
  21. * -------------------------
  22. *
  23. *************************************************************************************
  24. *
  25. * This file is part of GeSHi.
  26. *
  27. * GeSHi is free software; you can redistribute it and/or modify
  28. * it under the terms of the GNU General Public License as published by
  29. * the Free Software Foundation; either version 2 of the License, or
  30. * (at your option) any later version.
  31. *
  32. * GeSHi is distributed in the hope that it will be useful,
  33. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  34. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  35. * GNU General Public License for more details.
  36. *
  37. * You should have received a copy of the GNU General Public License
  38. * along with GeSHi; if not, write to the Free Software
  39. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  40. *
  41. ************************************************************************************/
  42. $language_data = array (
  43. 'LANG_NAME' => 'INI',
  44. 'COMMENT_SINGLE' => array(0 => ';'),
  45. 'COMMENT_MULTI' => array(),
  46. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  47. 'QUOTEMARKS' => array('"'),
  48. 'ESCAPE_CHAR' => '',
  49. 'KEYWORDS' => array(
  50. ),
  51. 'SYMBOLS' => array(
  52. '[', ']', '='
  53. ),
  54. 'CASE_SENSITIVE' => array(
  55. GESHI_COMMENTS => false
  56. ),
  57. 'STYLES' => array(
  58. 'KEYWORDS' => array(
  59. ),
  60. 'COMMENTS' => array(
  61. 0 => 'color: #666666; font-style: italic;'
  62. ),
  63. 'ESCAPE_CHAR' => array(
  64. 0 => ''
  65. ),
  66. 'BRACKETS' => array(
  67. 0 => ''
  68. ),
  69. 'STRINGS' => array(
  70. 0 => 'color: #933;'
  71. ),
  72. 'NUMBERS' => array(
  73. 0 => ''
  74. ),
  75. 'METHODS' => array(
  76. 0 => ''
  77. ),
  78. 'SYMBOLS' => array(
  79. 0 => 'color: #000066; font-weight:bold;'
  80. ),
  81. 'REGEXPS' => array(
  82. 0 => 'color: #000066; font-weight:bold;',
  83. 1 => 'color: #000099;',
  84. 2 => 'color: #660066;'
  85. ),
  86. 'SCRIPT' => array(
  87. 0 => ''
  88. )
  89. ),
  90. 'URLS' => array(
  91. ),
  92. 'OOLANG' => false,
  93. 'OBJECT_SPLITTERS' => array(
  94. ),
  95. 'REGEXPS' => array(
  96. 0 => '\[.+\]',
  97. 1 => array(
  98. GESHI_SEARCH => '([a-zA-Z0-9_]+\s*)=(.+)',
  99. GESHI_REPLACE => '\\1',
  100. GESHI_MODIFIERS => '',
  101. GESHI_BEFORE => '',
  102. GESHI_AFTER => '=\\2'
  103. ),
  104. 2 => array(
  105. // Evil hackery to get around GeSHi bug: <>" and ; are added so <span>s can be matched
  106. // Explicit match on variable names because if a comment is before the first < of the span
  107. // gets chewed up...
  108. GESHI_SEARCH => '([<>";a-zA-Z0-9_]+\s*)=(.+)',
  109. GESHI_REPLACE => '\\2',
  110. GESHI_MODIFIERS => '',
  111. GESHI_BEFORE => '\\1=',
  112. GESHI_AFTER => ''
  113. )
  114. ),
  115. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  116. 'SCRIPT_DELIMITERS' => array(
  117. ),
  118. 'HIGHLIGHT_STRICT_BLOCK' => array(
  119. )
  120. );
  121. ?>