00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
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;',
00106 2 => 'color: #008000;',
00107 3 => 'color: #0600FF;',
00108 4 => 'color: #804040;',
00109 5 => 'color: #008000;',
00110 6 => 'color: #6A0A0A;',
00111 7 => 'color: #D36900;'
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 ?>