KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
3.4KB

  1. <?php
  2. /*************************************************************************************
  3. * ldif.php
  4. * --------
  5. * Author: Bruno Harbulot (Bruno.Harbulot@manchester.ac.uk)
  6. * Copyright: (c) 2005 deguix, (c) 2010 Bruno Harbulot
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2010/03/01
  9. *
  10. * LDIF language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2010/03/01 (1.0.8.11)
  15. * - First Release
  16. * - Derived from ini.php (INI language), (c) 2005 deguix
  17. *
  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' => 'LDIF',
  41. 'COMMENT_SINGLE' => array(1 => '#'),
  42. 'COMMENT_MULTI' => array(),
  43. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  44. 'QUOTEMARKS' => array(),
  45. 'ESCAPE_CHAR' => '',
  46. 'KEYWORDS' => array(
  47. ),
  48. 'SYMBOLS' => array(
  49. ),
  50. 'CASE_SENSITIVE' => array(
  51. GESHI_COMMENTS => false
  52. ),
  53. 'STYLES' => array(
  54. 'KEYWORDS' => array(
  55. ),
  56. 'COMMENTS' => array(
  57. 1 => 'color: #666666; font-style: italic;'
  58. ),
  59. 'ESCAPE_CHAR' => array(
  60. 0 => ''
  61. ),
  62. 'BRACKETS' => array(
  63. 0 => ''
  64. ),
  65. 'STRINGS' => array(
  66. 0 => 'color: #933;'
  67. ),
  68. 'NUMBERS' => array(
  69. 0 => ''
  70. ),
  71. 'METHODS' => array(
  72. 0 => ''
  73. ),
  74. 'SYMBOLS' => array(
  75. ),
  76. 'REGEXPS' => array(
  77. 0 => 'color: #000066; font-weight: bold;',
  78. 1 => 'color: #FF0000;'
  79. ),
  80. 'SCRIPT' => array(
  81. 0 => ''
  82. )
  83. ),
  84. 'URLS' => array(
  85. ),
  86. 'OOLANG' => false,
  87. 'OBJECT_SPLITTERS' => array(
  88. ),
  89. 'REGEXPS' => array(
  90. 0 => array(
  91. GESHI_SEARCH => '([a-zA-Z0-9_]+):(.+)',
  92. GESHI_REPLACE => '\\1',
  93. GESHI_MODIFIERS => '',
  94. GESHI_BEFORE => '',
  95. GESHI_AFTER => ':\\2'
  96. ),
  97. 1 => array(
  98. // Evil hackery to get around GeSHi bug: <>" and ; are added so <span>s can be matched
  99. // Explicit match on variable names because if a comment is before the first < of the span
  100. // gets chewed up...
  101. GESHI_SEARCH => '([<>";a-zA-Z0-9_]+):(.+)',
  102. GESHI_REPLACE => '\\2',
  103. GESHI_MODIFIERS => '',
  104. GESHI_BEFORE => '\\1:',
  105. GESHI_AFTER => ''
  106. )
  107. ),
  108. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  109. 'SCRIPT_DELIMITERS' => array(
  110. ),
  111. 'HIGHLIGHT_STRICT_BLOCK' => array(
  112. )
  113. );
  114. ?>