[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/geshi/geshi/ -> ini.php (source)

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


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1