Commit Graph

774 Commits

Author SHA1 Message Date
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
messju
29f5d24082 tightenend path checking in smarty_core_is_secure() 2003-08-09 08:08:39 +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
04d08faa2a better escaping for $_debug_tpls[templates].filenames 2003-08-08 20:31:05 +00:00
messju
039c8ca720 removed redundant $smarty from Smarty::_smarty_include() 2003-08-08 20:25:27 +00:00
messju
cdd68b02fa proper escaping of filenames in debug-console (thanks to prossel). 2003-08-08 18:48:22 +00:00
messju
37d3caf18c fixed {debug} and removed tabs in function.debug.php 2003-08-07 21:18:41 +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
4aa9036e73 fixed bug in _run_mod_handler 2003-08-06 11:33:09 +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
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
ea026e2650 quote smarty-header properly to prevent resource-names from escaping from the comment 2003-07-28 20:36:55 +00:00
messju
4eec83aec8 weakend race-condition and removed bogus error-message caused by that
in smarty_core_create_dir_structure().
2003-07-25 12:40:12 +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
48d8b66ae1 improved checking of compiled_include against cached-template with non-cached-chunks 2003-07-17 19:25:22 +00:00
messju
84322ae6b3 fixed too short open-tag 2003-07-17 19:22:47 +00:00
messju
fe63515d03 fixed assign parameter for eval (must have gotton lost on its way to 2.5.0)
cleaned up indentiation
2003-07-17 14:23:18 +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
mohrt
f55ca1d583 add preg_quote delimiter 2003-07-03 13:17:40 +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