Commit Graph

386 Commits

Author SHA1 Message Date
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
messju
473b7d8ace fixed handling of nocache-state 2003-06-30 00:07:27 +00:00
messju
4e81cc42d8 fixed $smarty.get-reference 2003-06-24 09:39:37 +00:00
messju
0363dd83a3 fixed value of _cacheable_state on compiler-startup 2003-06-24 09:27:27 +00:00
mohrt
5980723e09 make cache_path per resource, fix a couple directory path issues 2003-06-23 21:31:32 +00:00
messju
650cbd9bbe removed warning when compiling empty template 2003-06-23 17:01:45 +00:00
messju
e61e05e05b fixed {plugin|modifier} syntax 2003-06-21 12:20:17 +00:00
mohrt
33fabc665f added filepath caching 2003-06-21 00:21:46 +00:00
mohrt
55dd49fa03 update more varnames 2003-06-20 20:13:42 +00:00
mohrt
f869abbf9f split up _compile_template to _compile_file and _compile_source, fix eval function
VS: ----------------------------------------------------------------------
2003-06-19 14:04:49 +00:00
messju
2f1e635f21 added optional assign-attribute to {capture}-tag 2003-06-19 10:42:59 +00:00
messju
4596b0d794 added $cacheable-parameter to register_function() and register_block() 2003-06-18 23:01:42 +00:00
mohrt
e765247431 change varnames to follow coding methods 2003-06-17 22:01:28 +00:00
mohrt
0179b76ca7 add math patch to core 2003-06-17 21:54:55 +00:00
mohrt
2ffb0e2921 fix _run_mod_handler routine 2003-06-17 15:23:25 +00:00
mohrt
e837781093 fix path problems, rename some varibles from "template" to "file" 2003-06-17 14:11:57 +00:00
mohrt
f42a23f504 fix config_load, compile fetched arrays to compile_dir, switch display
back to runtime. clean up var names and function names,  split up compile
testing and compiling to separate funcs, rename some template_* functions to
file_* functions and update logic so they can be used for file resources
other than templates.
2003-06-16 19:45:11 +00:00
messju
d62680f94e fixed little bug in _compile_custom_tag() 2003-06-16 17:30:48 +00:00
mohrt
6445150ba7 move core files into their own directory under SMARTY_DIR,
remove abstraction function _execute_core_function
2003-06-16 15:18:38 +00:00
mohrt
cdfe88be6d fix newline handling for template for all template tags 2003-06-16 14:38:57 +00:00