Commit Graph

460 Commits

Author SHA1 Message Date
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
messju
209cd6efeb removed extract-calls from _include()- and _eval()-wrappers
variables passed with {include_php} have to accessed as members of $params now
2003-11-18 23:18:35 +00:00
mohrt
ab9f58841d commit RC3 tags 2003-11-13 17:35:52 +00:00
messju
7d391d55a8 fix unnecessary loading of core.load_resource_plugin.php 2003-11-13 16:50:33 +00:00
messju
2566246240 added $exp_time-parameter of clear_cache() and clear_all_cache() to
cache_handler_func.
2003-11-06 16:53:39 +00:00
messju
2b99bf5878 fixed little bug in _parse_resource_name() (jlgunter, messju) 2003-11-04 05:16:44 +00:00
messju
9b3ca8956e move check for template_dir in secure_dir-array into core.is_secure.php
this makes template_exists() work correctly with security=true even if
template_dir is not inside the secure_dir-array
2003-10-12 22:19:32 +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
6988b4747e backed out _smarty_cached_paths-file-handling 2003-09-15 14:30:57 +00:00
messju
7c38847c69 fixed clear_compiled_tpl with explicit $tpl_file given
fixed return value of smarty_core_rm_auto() + Smarty::_unlink()
2003-09-15 12:55:06 +00:00
messju
d9bd4677ff little fix in _get_auto_filename() 2003-09-15 12:26:23 +00:00
messju
a566b01a12 removed auto-filenames from path-cache. merged assemble_auto_filename
back into Smarty::_get_auto_filename()
2003-09-14 13:37:15 +00:00
messju
ad7803b89a remove Smarty::_plugin_implementation_exists() - use php's native
is_callable()
2003-09-12 13:40:53 +00:00
messju
430b084783 silenced two notices acces HTTP_SERVER_VARS 2003-09-11 07:25:32 +00:00
messju
16ab251d48 proper checking for files in _fetch_resource_info() 2003-09-04 10:30:13 +00:00
messju
45b23b1581 re-include cache_paths on multiple calls to fetch() to avoid inconsistencies
at multiple calls to fetch() in one script
2003-09-01 18:42:12 +00:00
messju
b2b2338175 made template_exists() quiet when the template does not exist (thanks
to konstatin for pointing this out)
2003-08-20 11:23:17 +00:00
messju
09aa653a75 fixed unnecessary load of source in template_exists() and the
compile-check of smarty_core_read_cache_file()
2003-08-18 10:17:28 +00:00
messju
79f491971a fixed timestamp-check of config-files in smarty_core_read_cache_file() 2003-08-14 16:44:03 +00:00
messju
db4ee12009 fixed typecasting for arrays in _parse_resource_name() 2003-08-14 11:11:46 +00:00
messju
2319787c5f fixed problem with vars as attributes in {include_php} 2003-08-13 16:37:12 +00:00
mohrt
49d5b05b89 get ready for 2.6.0-RC1 release 2003-08-11 15:55:39 +00:00
messju
180ac79934 fixed status-header for cache_modified_check under cgi-sapi 2003-08-10 21:27:51 +00:00
messju
10b23e37a2 fix: proper nesting of $smarty->_cache_including flag in cascaded
cached/not-cached/fetched/inserted/foo-templates
2003-08-08 20:41:37 +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
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
4aa9036e73 fixed bug in _run_mod_handler 2003-08-06 11:33:09 +00:00
messju
c0c3bcc054 updated copyright notice 2003-08-05 22:48:05 +00:00
messju
c08ab9bb8e fixed bug that occurred when using the same not-cacheable plugin in multiple includes 2003-08-05 18:27:14 +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
f9490bc715 prevent unnecessary calls to _read_file() in _is_compiled()
converted method-call to internal function-call in smarty_core_load_plugins()
2003-07-29 07:15:44 +00:00
messju
f66b646479 moved _fetch_resource_info and _parse_resource_name back into Smarty.class.php
renamed smarty_include and smarty_eval wrappers to _include and _eval
2003-07-23 16:14:47 +00:00
messju
473b7d8ace fixed handling of nocache-state 2003-06-30 00:07:27 +00:00
messju
135bc2fad8 removed $this from smarty_include and smarty_include_php
added cleaner handling of $this to {eval}
2003-06-29 22:57:33 +00:00
mohrt
5ae5a6f576 fix SMARTY_COMPILE_DIR_SEP problem, make local var 2003-06-25 21:50:34 +00:00
mohrt
769008b763 fixed cache_paths bug, simplified filename assembly logic 2003-06-24 15:45:02 +00:00
mohrt
5980723e09 make cache_path per resource, fix a couple directory path issues 2003-06-23 21:31:32 +00:00
mohrt
9526d1ed42 fix filepaths to core files to use DIRECTORY_SEPARATOR 2003-06-21 17:35:15 +00:00
messju
9fb3dbdf2c fixed compiled include handling 2003-06-21 09:24:44 +00:00
mohrt
33fabc665f added filepath caching 2003-06-21 00:21:46 +00:00
mohrt
a889155fdc refactored var naming to better reflect "resource" instead of "file" where appropriate 2003-06-20 20:01:10 +00:00
messju
7a23669bb4 updated version-number to 2.5.0-cvs 2003-06-19 18:46:24 +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
5a803ca612 added $cacheable-parameter to register_compiler_function() 2003-06-19 10:35:23 +00:00