smarty.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * smarty.php
00004  * ----------
00005  * Author: Alan Juden (alan@judenware.org)
00006  * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/)
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2004/07/10
00009  *
00010  * Smarty template language file for GeSHi.
00011  *
00012  * CHANGES
00013  * -------
00014  * 2004/11/27 (1.0.0)
00015  *  -  Initial Release
00016  *
00017  * TODO
00018  * ----
00019  *
00020  *************************************************************************************
00021  *
00022  *     This file is part of GeSHi.
00023  *
00024  *   GeSHi is free software; you can redistribute it and/or modify
00025  *   it under the terms of the GNU General Public License as published by
00026  *   the Free Software Foundation; either version 2 of the License, or
00027  *   (at your option) any later version.
00028  *
00029  *   GeSHi is distributed in the hope that it will be useful,
00030  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00031  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00032  *   GNU General Public License for more details.
00033  *
00034  *   You should have received a copy of the GNU General Public License
00035  *   along with GeSHi; if not, write to the Free Software
00036  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00037  *
00038  ************************************************************************************/
00039 
00040 $language_data = array (
00041      'LANG_NAME' => 'Smarty',
00042      'COMMENT_SINGLE' => array(),
00043      'COMMENT_MULTI' => array('{*' => '*}'),
00044      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00045      'QUOTEMARKS' => array("'", '"'),
00046      'ESCAPE_CHAR' => '\\',
00047      'KEYWORDS' => array(
00048           1 => array(
00049                '$smarty', 'now', 'const', 'capture', 'config', 'section', 'foreach', 'template', 'version', 'ldelim', 'rdelim',
00050                'config_load', 'foreachelse', 'include', 'include_php', 'insert', 'if', 'elseif', 'else', 'php',
00051                'sectionelse', 'clear_all_cache', 'clear_cache', 'is_cached',
00052                ),
00053           2 => array(
00054                'capitalize', 'count_characters', 'cat', 'count_paragraphs', 'count_sentences', 'count_words', 'date_format',
00055                'default', 'escape', 'indent', 'lower', 'nl2br', 'regex_replace', 'replace', 'spacify', 'string_format',
00056                'strip', 'strip_tags', 'truncate', 'upper', 'wordwrap'
00057                ),
00058           3 => array(
00059                'assign', 'counter', 'cycle', 'debug', 'eval', 'fetch', 'html_checkboxes', 'html_image', 'html_options',
00060                'html_radios', 'html_select_date', 'html_select_time', 'html_table', 'math', 'mailto', 'popup_init',
00061                'popup', 'textformat'
00062                ),
00063           4 => array(
00064                '$template_dir', '$compile_dir', '$config_dir', '$plugins_dir', '$debugging', '$debug_tpl',
00065                '$debugging_ctrl', '$autoload_filters', '$compile_check', '$force_compile', '$caching', '$cache_dir',
00066                '$cache_lifetime', '$cache_handler_func', '$cache_modified_check', '$config_overwrite',
00067                '$config_booleanize', '$config_read_hidden', '$config_fix_newlines', '$default_template_handler_func',
00068                '$php_handling', '$security', '$secure_dir', '$security_settings', '$trusted_dir', '$left_delimiter',
00069                '$right_delimiter', '$compiler_class', '$request_vars_order', '$request_use_auto_globals',
00070                '$error_reporting', '$compile_id', '$use_sub_dirs', '$default_modifiers', '$default_resource_type'
00071                ),
00072           5 => array(
00073                'append', 'append_by_ref', 'assign', 'assign_by_ref', 'clear_all_assign', 'clear_all_cache',
00074                'clear_assign', 'clear_cache', 'clear_compiled_tpl', 'clear_config', 'config_load', 'display',
00075                'fetch', 'get_config_vars', 'get_registered_object', 'get_template_vars', 'is_cached',
00076                'load_filter', 'register_block', 'register_compiler_function', 'register_function',
00077                'register_modifier', 'register_object', 'register_outputfilter', 'register_postfilter',
00078                'register_prefilter', 'register_resource', 'trigger_error', 'template_exists', 'unregister_block',
00079                'unregister_compiler_function', 'unregister_function', 'unregister_modifier', 'unregister_object',
00080                'unregister_outputfilter', 'unregister_postfilter', 'unregister_prefilter', 'unregister_resource'
00081                ),
00082           6 => array(
00083                'name', 'assign', 'file', 'scope', 'global', 'key', 'once', 'script',
00084                'loop', 'start', 'step', 'max', 'show', 'values', 'value', 'from', 'item'
00085                ),
00086           7 => array(
00087                'eq', 'neq', 'ne', 'lte', 'gte', 'ge', 'le', 'not', 'mod'
00088                ),
00089           ),
00090      'SYMBOLS' => array(
00091           '/', '=', '==', '!=', '>', '<', '>=', '<=', '!', '%'
00092           ),
00093      'CASE_SENSITIVE' => array(
00094           GESHI_COMMENTS => false,
00095           1 => false,
00096           2 => false,
00097           3 => false,
00098           4 => false,
00099           5 => false,
00100           6 => false,
00101           7 => false,
00102           ),
00103      'STYLES' => array(
00104           'KEYWORDS' => array(
00105                1 => 'color: #0600FF;',       //Functions
00106                2 => 'color: #008000;',       //Modifiers
00107                3 => 'color: #0600FF;',       //Custom Functions
00108                4 => 'color: #804040;',       //Variables
00109                5 => 'color: #008000;',       //Methods
00110                6 => 'color: #6A0A0A;',       //Attributes
00111                7 => 'color: #D36900;'        //Text-based symbols
00112                ),
00113           'COMMENTS' => array(
00114                'MULTI' => 'color: #008080; font-style: italic;'
00115                ),
00116           'ESCAPE_CHAR' => array(
00117                0 => 'color: #000099; font-weight: bold;'
00118                ),
00119           'BRACKETS' => array(
00120                0 => 'color: #D36900;'
00121                ),
00122           'STRINGS' => array(
00123                0 => 'color: #ff0000;'
00124                ),
00125           'NUMBERS' => array(
00126                0 => 'color: #cc66cc;'
00127                ),
00128           'METHODS' => array(
00129                1 => 'color: #006600;'
00130                ),
00131           'SYMBOLS' => array(
00132                0 => 'color: #D36900;'
00133                ),
00134           'SCRIPT' => array(
00135             0 => ''
00136                ),
00137           'REGEXPS' => array(
00138                )
00139           ),
00140      'URLS' => array(
00141           1 => 'http://smarty.php.net/{FNAME}',
00142           2 => 'http://smarty.php.net/{FNAME}',
00143           3 => 'http://smarty.php.net/{FNAME}',
00144           4 => 'http://smarty.php.net/{FNAME}',
00145           5 => 'http://smarty.php.net/{FNAME}',
00146           6 => '',
00147           7 => 'http://smarty.php.net/{FNAME}'
00148           ),
00149      'OOLANG' => true,
00150      'OBJECT_SPLITTERS' => array(
00151           1 => '.'
00152           ),
00153      'REGEXPS' => array(
00154           ),
00155      'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
00156      'SCRIPT_DELIMITERS' => array(
00157           0 => array(
00158                '{' => '}'
00159                )
00160      ),
00161      'HIGHLIGHT_STRICT_BLOCK' => array(
00162           0 => true
00163           )
00164 );
00165 
00166 ?>

Erzeugt am Thu May 14 00:55:48 2009 für OpenRat von  doxygen 1.5.8