Commit Graph

659 Commits

Author SHA1 Message Date
Uwe.Tews
441c1aa978 - update of $smarty->test() methode 2009-09-26 10:38:24 +00:00
Uwe.Tews
d2aeb81188 - bugfix on {section} tag 2009-09-26 10:32:36 +00:00
Uwe.Tews
324276f7fa - improvements and bugfix on {include} tag handling
******************************************************************
NOTICE: existing compiled template and cache files must be deleted
******************************************************************
2009-09-23 16:50:16 +00:00
Uwe.Tews
5bf063d2cc - fixed error in is_cached 2009-09-20 02:02:44 +00:00
Uwe.Tews
0e68cdd9d2 - replace internal "eval()" calls by "include" during rendering process
- speed improvment for templates which have included subtemplates
    the compiled code of included templates is merged into the compiled code of the parent template
- added logical operator "xor" for {if} tag
- changed parameter ordering for Smarty2 BC
    fetch($template, $cache_id = null, $compile_id = null, $parent = null)
    display($template, $cache_id = null, $compile_id = null, $parent = null)
    createTemplate($template, $cache_id = null, $compile_id = null, $parent = null)
- property resource_char_set is now replaced by constant SMARTY_RESOURCE_CHAR_SET
- fixed handling of classes in registered blocks
- speed improvement of lexer on text sections
2009-09-19 13:22:32 +00:00
Uwe.Tews
1c30387c96 - update extend resource 2009-09-11 18:59:48 +00:00
Uwe.Tews
b360c7cb5b - bugfix {extend} tag
- bugfix of automatic literals
2009-09-11 15:11:21 +00:00
Uwe.Tews
6c5c0a156e - bugfix for very large {block} tag content 2009-09-10 23:08:06 +00:00
Uwe.Tews
11a748a6e9 - removed var_dump 2009-09-08 18:58:15 +00:00
Uwe.Tews
62061b73e2 - bugfix on clear_cache() 2009-09-08 18:54:22 +00:00
Uwe.Tews
1cdb112388 - bugfix 2009-09-01 22:04:30 +00:00
Uwe.Tews
5563fc9fd5 - dropped nl2br as plugin
- added '<>' as comparission operator in {if} tags
- cached caching_lifetime property to cache_liftime for backward compatibility with Smarty2.
  {include} optional attribute is also now cache_lifetime
- fixed trigger_error methode (moved into Smarty class)
- version is now  Beta!!!
2009-09-01 21:11:42 +00:00
Uwe.Tews
45ba48f2b6 - some speed optimizations on loading internal plugins 2009-08-30 18:10:01 +00:00
monte.ohrt
770ef89611 remove built-in exception handling, add DS as shorthand to DIRECTORY_SEPARATOR 2009-08-29 22:57:29 +00:00
Uwe.Tews
bfefb8e017 - implemented caching of registered Resources
- new property 'auto_literal'. if true(default)  '{ ' and ' }' interpreted as literal, not as Smarty delimiter
2009-08-29 16:29:52 +00:00
Uwe.Tews
a13ae6628c - Fix on line breaks inside {if} tags 2009-08-28 18:32:31 +00:00
Uwe.Tews
8c48521260 - fixed wrong case at require_once 2009-08-27 16:02:44 +00:00
Uwe.Tews
4331452b8e - implemented registered resources as in Smarty2. NOTE: caching does not work yet
- new property 'force_cache'. if true it forces the creation of a new cache file
- fixed modifiers on arrays
- some speed optimization on loading internal classes
2009-08-27 14:59:28 +00:00
Uwe.Tews
e759f76661 - bugfix - the output of plugins was not cached
- added global variable SCRIPT_NAME
2009-08-24 19:26:31 +00:00
Uwe.Tews
b688c24976 - fixed typo in lexer definition for '!==' operator 2009-08-24 15:31:31 +00:00
Uwe.Tews
5fce224f8d - fixed problems whitespace in conjunction with custom delimiters
- Smarty tags can now be used as value anywhere
2009-08-21 14:50:34 +00:00
Uwe.Tews
c12c6d9471 2009-08-18 18:43:06 +00:00
Uwe.Tews
eef7400f55 - definition of template class name moded in internal.templatebase.php
- whitespace parser changes
2009-08-18 16:53:33 +00:00
Uwe.Tews
6e9350f7c7 - fixed parser problems 2009-08-12 16:43:37 +00:00
Uwe.Tews
9fecdb57b8 - fixed parser problems with custom delimiter 2009-08-11 18:53:23 +00:00
Uwe.Tews
0ba34008a7 - update of mb support in plugins 2009-08-10 17:52:26 +00:00
Uwe.Tews
a693a00280 - fixed problems with doublequoted strings at name attribute of {block} tag
- bugfix at scope attribute of {append} tag
2009-08-09 22:03:33 +00:00
Uwe.Tews
d2d8c8925b - removed all internal calls of Smarty::instance()
- fixed code in double quoted strings
2009-08-08 17:28:23 +00:00
Uwe.Tews
fc9b7eef10 - bugfix of \n.\t etc in double quoted strings 2009-08-05 19:41:49 +00:00
Uwe.Tews
8b555a5903 - bugfix mb_string support 2009-08-05 19:40:48 +00:00
Uwe.Tews
83cc212060 - added syntax for variable config vars like #$foo# 2009-07-29 16:43:54 +00:00
Uwe.Tews
85998e3fca - fixed parsing of $smarty.session vars containing objects 2009-07-28 19:26:56 +00:00
Uwe.Tews
21659a76e8 - fix of "$" handling indouble quoted strings 2009-07-22 16:22:24 +00:00
Uwe.Tews
0c7113d98e 2009-07-21 17:41:16 +00:00
Uwe.Tews
51cc106811 - fix that {$smarty.current_dir} returns correct value within {block} tags. 2009-07-21 16:26:11 +00:00
Uwe.Tews
12ef15812c - drop error message on unmatched {block} {/block} pairs 2009-07-20 15:38:11 +00:00
monte.ohrt
e348a33cf0 change split() to preg_split(), deprecated in php 5.3 2009-07-05 05:03:24 +00:00
monte.ohrt
3463a3a090 add SMARTY_EXCEPTION_HANDLER constant to determine if internal exception handling is enabled 2009-07-03 14:48:38 +00:00
Uwe.Tews
b288d014f4 - fixed smarty_function_html_options call in plugin function.html_select_date.php (missing ,) 2009-07-01 20:19:04 +00:00
Uwe.Tews
18b939331e - fixed smarty_function_html_options call in plugin function.html_select_date.php 2009-06-24 16:27:42 +00:00
Uwe.Tews
581620d8cd - fix on \n and spaces inside smarty tags
- removed request_use_auto_globals propert as it is no longer needed because Smarty 3 will always run under PHP 5
2009-06-22 14:23:21 +00:00
Uwe.Tews
f5aabcd47f - added $smarty.current_dir which returns the current working directory 2009-06-18 18:51:21 +00:00
Uwe.Tews
b6b4d90487 - fixed compilation of block plugins when caching enabled 2009-06-18 17:46:25 +00:00
Uwe.Tews
ce9a656829 - allow smarty tags within xml tags
- PHPunit update
2009-06-14 13:08:13 +00:00
Uwe.Tews
ae3c3fce48 - fixed array access on super globals
- changed internal access to smarty object
2009-06-14 11:07:26 +00:00
Uwe.Tews
18a3bb1971 - instantiate classes of plugins instead of calling them static 2009-06-13 21:05:57 +00:00
Uwe.Tews
06ce127133 - bugfix at extend resource: create unique files for compiled template and cache for each combination of template files
- update extend resource to handle appen and prepend block attributes
2009-06-13 20:39:56 +00:00
Uwe.Tews
30bd8f119b - fixed repeat at block plugins 2009-06-03 18:07:15 +00:00
Uwe.Tews
d4558ca158 - fixed problem with caching of compiler plugins 2009-05-25 21:14:44 +00:00
Uwe.Tews
1084678645 - fixed directory separator handling 2009-05-14 10:53:28 +00:00