Rev 1 |
|
Rev 3 |
Line 2... |
|
Line 2... |
/************************************************************************************* |
|
/************************************************************************************* |
* smarty.php |
|
* smarty.php |
* ---------- |
|
* ---------- |
* Author: Alan Juden (alan@judenware.org) |
|
* Author: Alan Juden (alan@judenware.org) |
* Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/) |
|
* Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/) |
* Release Version: 1.0.8.1 |
|
* Release Version: 1.0.8.3 |
* Date Started: 2004/07/10 |
|
* Date Started: 2004/07/10 |
* |
|
* |
* Smarty template language file for GeSHi. |
|
* Smarty template language file for GeSHi. |
* |
|
* |
* CHANGES |
|
* CHANGES |
Line 45... |
|
Line 45... |
'QUOTEMARKS' => array("'", '"'), |
|
'QUOTEMARKS' => array("'", '"'), |
'ESCAPE_CHAR' => '\\', |
|
'ESCAPE_CHAR' => '\\', |
'KEYWORDS' => array( |
|
'KEYWORDS' => array( |
1 => array( |
|
1 => array( |
'$smarty', 'now', 'const', 'capture', 'config', 'section', 'foreach', 'template', 'version', 'ldelim', 'rdelim', |
|
'$smarty', 'now', 'const', 'capture', 'config', 'section', 'foreach', 'template', 'version', 'ldelim', 'rdelim', |
'config_load', 'foreachelse', 'include', 'include_php', 'insert', 'if', 'elseif', 'else', 'php', |
|
'foreachelse', 'include', 'include_php', 'insert', 'if', 'elseif', 'else', 'php', |
'sectionelse', 'clear_all_cache', 'clear_cache', 'is_cached', |
|
'sectionelse', 'is_cached', |
), |
|
), |
2 => array( |
|
2 => array( |
'capitalize', 'count_characters', 'cat', 'count_paragraphs', 'count_sentences', 'count_words', 'date_format', |
|
'capitalize', 'count_characters', 'cat', 'count_paragraphs', 'count_sentences', 'count_words', 'date_format', |
'default', 'escape', 'indent', 'lower', 'nl2br', 'regex_replace', 'replace', 'spacify', 'string_format', |
|
'default', 'escape', 'indent', 'lower', 'nl2br', 'regex_replace', 'replace', 'spacify', 'string_format', |
'strip', 'strip_tags', 'truncate', 'upper', 'wordwrap', |
|
'strip', 'strip_tags', 'truncate', 'upper', 'wordwrap', |
), |
|
), |
3 => array( |
|
3 => array( |
'assign', 'counter', 'cycle', 'debug', 'eval', 'fetch', 'html_checkboxes', 'html_image', 'html_options', |
|
'counter', 'cycle', 'debug', 'eval', 'html_checkboxes', 'html_image', 'html_options', |
'html_radios', 'html_select_date', 'html_select_time', 'html_table', 'math', 'mailto', 'popup_init', |
|
'html_radios', 'html_select_date', 'html_select_time', 'html_table', 'math', 'mailto', 'popup_init', |
'popup', 'textformat' |
|
'popup', 'textformat' |
), |
|
), |
4 => array( |
|
4 => array( |
'$template_dir', '$compile_dir', '$config_dir', '$plugins_dir', '$debugging', '$debug_tpl', |
|
'$template_dir', '$compile_dir', '$config_dir', '$plugins_dir', '$debugging', '$debug_tpl', |
Line 70... |
|
Line 70... |
'$error_reporting', '$compile_id', '$use_sub_dirs', '$default_modifiers', '$default_resource_type' |
|
'$error_reporting', '$compile_id', '$use_sub_dirs', '$default_modifiers', '$default_resource_type' |
), |
|
), |
5 => array( |
|
5 => array( |
'append', 'append_by_ref', 'assign', 'assign_by_ref', 'clear_all_assign', 'clear_all_cache', |
|
'append', 'append_by_ref', 'assign', 'assign_by_ref', 'clear_all_assign', 'clear_all_cache', |
'clear_assign', 'clear_cache', 'clear_compiled_tpl', 'clear_config', 'config_load', 'display', |
|
'clear_assign', 'clear_cache', 'clear_compiled_tpl', 'clear_config', 'config_load', 'display', |
'fetch', 'get_config_vars', 'get_registered_object', 'get_template_vars', 'is_cached', |
|
'fetch', 'get_config_vars', 'get_registered_object', 'get_template_vars', |
'load_filter', 'register_block', 'register_compiler_function', 'register_function', |
|
'load_filter', 'register_block', 'register_compiler_function', 'register_function', |
'register_modifier', 'register_object', 'register_outputfilter', 'register_postfilter', |
|
'register_modifier', 'register_object', 'register_outputfilter', 'register_postfilter', |
'register_prefilter', 'register_resource', 'trigger_error', 'template_exists', 'unregister_block', |
|
'register_prefilter', 'register_resource', 'trigger_error', 'template_exists', 'unregister_block', |
'unregister_compiler_function', 'unregister_function', 'unregister_modifier', 'unregister_object', |
|
'unregister_compiler_function', 'unregister_function', 'unregister_modifier', 'unregister_object', |
'unregister_outputfilter', 'unregister_postfilter', 'unregister_prefilter', 'unregister_resource' |
|
'unregister_outputfilter', 'unregister_postfilter', 'unregister_prefilter', 'unregister_resource' |
), |
|
), |
6 => array( |
|
6 => array( |
'name', 'assign', 'file', 'scope', 'global', 'key', 'once', 'script', |
|
'name', 'file', 'scope', 'global', 'key', 'once', 'script', |
'loop', 'start', 'step', 'max', 'show', 'values', 'value', 'from', 'item' |
|
'loop', 'start', 'step', 'max', 'show', 'values', 'value', 'from', 'item' |
), |
|
), |
7 => array( |
|
7 => array( |
'eq', 'neq', 'ne', 'lte', 'gte', 'ge', 'le', 'not', 'mod' |
|
'eq', 'neq', 'ne', 'lte', 'gte', 'ge', 'le', 'not', 'mod' |
), |
|
), |