Commit Graph

305 Commits

Author SHA1 Message Date
messju
d6f1f25741 fixed handling of comments inside {php} and {literal} 2004-01-08 12:46:27 +00:00
messju
e335832f62 readded default_modifiers. who removed that? 2003-12-27 09:25:25 +00:00
messju
4e93202974 little optimization for "is odd" and "is even" 2003-12-11 19:52:38 +00:00
mohrt
aa8f02c429 fix 'is even by' and 'is odd by' logic 2003-12-11 19:39:02 +00:00
messju
1dd2246d8a add better checks for correctly nested tags when compiling 2003-12-08 10:44:21 +00:00
messju
38d1f29bc3 raise max_level for $smarty.config... to 3 to allow arrays of config-vars 2003-11-26 14:02:05 +00:00
messju
0157c56198 remove two E_NOTICES 2003-11-21 12:39:50 +00:00
messju
66823d680d change version to 2.6.1-dev 2003-11-20 15:26:45 +00:00
mohrt
78ff86ed9f change version numbers to 2.6.0 2003-11-19 20:26:29 +00:00
messju
f903d313b4 move Smarty::quote_replace() to Smarty_Compiler::_quote_replace() 2003-11-18 23:35:05 +00:00
mohrt
ab9f58841d commit RC3 tags 2003-11-13 17:35:52 +00:00
messju
2ae14ea686 fix handling of $var.key inside [] 2003-11-13 16:51:47 +00:00
messju
ccdc5c8e7e fix handling of simple-math-operators inside modifiers 2003-10-27 15:27:55 +00:00
messju
eb654a52f4 removed unused property _output_type
removed unused param $tag_attrs of _parse_var_props()
cleaned up alignment of class-properties
2003-10-25 19:43:14 +00:00
messju
8fac8e8be4 removed notice in php-tag handling in Smarty_Compiler::_compile_file() 2003-10-23 21:04:12 +00:00
messju
029ed43de4 removed two occasional E_NOTICES from
Smarty_Compiler::_compile_include_php_tag()
2003-10-23 12:42:52 +00:00
messju
0801e4e470 elements inside `` are bracketed now inside the compiled-tpl. this
fixes some issues with simple-math inside backticks.
2003-10-20 14:02:03 +00:00
messju
bd0440b546 fix precedence of simple-math-operators before modifiers.
thanks dominik!
2003-10-11 09:32:24 +00:00
messju
f8db1a7ce8 removed tabs from the main and the core/*.php files 2003-10-11 08:55:53 +00:00
mohrt
5302d13179 update version numbers to RC2 2003-10-08 23:43:34 +00:00
messju
77ff6cf28b apply modifiers only once to section-loop and foreach-from attributes 2003-09-16 08:15:58 +00:00
messju
6988b4747e backed out _smarty_cached_paths-file-handling 2003-09-15 14:30:57 +00:00
messju
4a0e96b76c fixed quoting of modifier parameters 2003-09-12 14:39:45 +00:00
messju
ad7803b89a remove Smarty::_plugin_implementation_exists() - use php's native
is_callable()
2003-09-12 13:40:53 +00:00
messju
5259481be5 ignore {strip}/{/strip) inside {strip}-blocks 2003-09-02 10:29:50 +00:00
messju
579e0e61a6 fixed handling of \r in {strip}
renamed $_trailing_lf to $_additional_newline
2003-09-01 18:17:58 +00:00
messju
a246602272 the weekly fix for {strip} :) 2003-09-01 15:54:05 +00:00
messju
ea3896ce22 fixed removal of leading/trailing newlines in {strip}-blocks 2003-08-27 08:54:25 +00:00
messju
60e984f942 reverted {strip} from a block-plugin back into the compiler 2003-08-20 14:48:36 +00:00
messju
6f473f2820 allow section-, array- and object-dereference in $smarty-references 2003-08-18 09:28:02 +00:00
mohrt
49d5b05b89 get ready for 2.6.0-RC1 release 2003-08-11 15:55:39 +00:00
messju
039c8ca720 removed redundant $smarty from Smarty::_smarty_include() 2003-08-08 20:25:27 +00:00
messju
a0b874850a better caching of attributes for $cacheable=false-plugins 2003-08-07 11:35:46 +00:00
messju
35c9b00306 fixed output of custom-functions with cached attributes 2003-08-07 10:21:17 +00:00
messju
f15be25a42 added optional parameter $cache_attrs to register_function() and
register_block(). $cache_attrs is an array containing attribute- names
that should be cached on calls to functions that have $cacheable set
to false.
2003-08-06 11:35:59 +00:00
messju
7232d718dd fixed bug with autoload-handling of modifiers. thanks andre. 2003-08-06 08:16:29 +00:00
messju
c0c3bcc054 updated copyright notice 2003-08-05 22:48:05 +00:00
messju
19f709da5a enabled registration of class-methods as callbacks for the
register_*-functions

use: array('classname', 'method_name')) as callback
2003-07-31 13:51:28 +00:00
messju
c183e06238 modifiers are resolved at compile-time now. _run_mod_handler() is
still used for modifiers with map_array=true (== no preceeding '@')
2003-07-29 10:29:36 +00:00
messju
6c9fa0cbd2 moved _smarty_include() back into Smarty.class.php 2003-07-29 08:26:22 +00:00
messju
ea026e2650 quote smarty-header properly to prevent resource-names from escaping from the comment 2003-07-28 20:36:55 +00:00
messju
f6ea765527 resurrected $foo->$bar syntax 2003-07-03 15:45:29 +00:00
messju
9b5ae9c950 i'm so stupid. kick me. 2003-07-03 15:43:00 +00:00
messju
309532e8e2 fixed initialisation of $this->_plugins in compile_block_tag() 2003-07-03 14:12:01 +00:00
messju
724f940782 applied fix for {$var1->p1|modifier:$var2->p2}-syntax - thanks Dominik 2003-07-03 09:31:21 +00:00
messju
cfe7af4d2b fixed duplicate generation of arg-list in _compile_block_tag() 2003-07-02 10:56:27 +00:00
messju
a5d18a8f3f fixed off-by-one-error in nocache-tag-handling 2003-07-02 09:01:26 +00:00
messju
52e2093abe backed out errornously committed support for $foo->$bar 2003-06-30 22:13:00 +00:00
messju
f866f04d66 libs/plugins/function.html_image.php 2003-06-30 15:41:25 +00:00
messju
0b3b79e9c6 re-fixed cacheable_state-handling 2003-06-30 15:08:59 +00:00