Commit Graph

1003 Commits

Author SHA1 Message Date
messju
2ae14ea686 fix handling of $var.key inside [] 2003-11-13 16:51:47 +00:00
messju
7d391d55a8 fix unnecessary loading of core.load_resource_plugin.php 2003-11-13 16:50:33 +00:00
messju
9d4a0bcb07 fix handling of assign inside {insert}-tags 2003-11-11 22:46:13 +00:00
messju
1af690d45c added $exp_time-parameter 2003-11-06 17:16:32 +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
b9b36a51d6 fix handling if [...] inside triple-quotes in config-files 2003-11-05 09:21:23 +00:00
messju
2b99bf5878 fixed little bug in _parse_resource_name() (jlgunter, messju) 2003-11-04 05:16:44 +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
7f6ff2f41f fix handling of trailing-slashes in open_basedir in
smarty_core_create_dir_structure()
2003-10-23 07:50:55 +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
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
fbc2b127cb tightened check for YYYYMMDDHHMMSS-format. thanks konstantin for
pointing this out.

removed a few tabs.
2003-10-11 09:33:50 +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
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
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
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
5259481be5 ignore {strip}/{/strip) inside {strip}-blocks 2003-09-02 10:29:50 +00:00
messju
d03febb244 fixed 2 notices in smarty_function_mailto() 2003-09-02 10:29:10 +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
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
3c52a9aa7e fixed PHPDocumentor-comments (thanks Konstantin) 2003-08-29 08:51:25 +00:00
messju
f210e32d1e made rmdir a bit more optimistic. especially it now removes
directories correctly that where created accidently by "safe_mode=On
&& $use_sub_dirs=true"
2003-08-29 08:49:51 +00:00
messju
ea3896ce22 fixed removal of leading/trailing newlines in {strip}-blocks 2003-08-27 08:54:25 +00:00
messju
4b4157de20 fixed proper escaping of " and ' with escape:javascript 2003-08-25 13:37:27 +00:00
messju
50d490fca5 fixed bug in traversal of $smarty->plugins_dir-array in
smarty_core_assemble_plugin_filepath(). the first matching plugin in
the path should be used, not the last one.
2003-08-22 16:15:47 +00:00
messju
786d110c89 discard $_cache_info when the cache should be regenerated 2003-08-22 14:02:15 +00:00
messju
60e984f942 reverted {strip} from a block-plugin back into the compiler 2003-08-20 14:48:36 +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
6f473f2820 allow section-, array- and object-dereference in $smarty-references 2003-08-18 09:28:02 +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
ef13d8b606 fixes in config_load:
- handling of section-attribute
- reusing the same config-file multiple times
- serialization of config-data for php<4.2.0 (no var_export)

many thanks to atu for pointing this out and for testing
2003-08-14 10:59:30 +00:00
messju
2319787c5f fixed problem with vars as attributes in {include_php} 2003-08-13 16:37:12 +00:00
messju
ab839a5b13 removed '\r' from debug_print_vars' output
properly escape vars in javascript-version of debug.tpl
2003-08-13 14:15:30 +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
d226b07741 synced secure_dir-checking with trusted_dir-checking 2003-08-09 08:47:10 +00:00