Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Unknown

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5
Source code for file /geshi/geshi/ini.php

Documentation is available at ini.php

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

Documentation generated on Mon, 05 Mar 2007 21:07:57 +0000 by phpDocumentor 1.3.1