Commit Graph

1215 Commits

Author SHA1 Message Date
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
changelog
c770ad9c37 ChangeLog update 2003-08-06 00:30:53 +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
ed1fd2f0f1 docs-update for plugins.writing 2003-08-05 16:49:31 +00:00
changelog
a27d6d5a1c ChangeLog update 2003-08-05 00:30:41 +00:00
messju
c01ca6c3aa updated docs for register_block_function(), block-functions, $request_use_auto_globals and html_checkboxes 2003-08-04 11:29:09 +00:00
changelog
9f661b3483 ChangeLog update 2003-08-01 00:30:46 +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
changelog
a76d8f6a1a ChangeLog update 2003-07-30 00:30:48 +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
changelog
d44c3bc5c1 ChangeLog update 2003-07-29 00:30:45 +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
changelog
01953e7b23 ChangeLog update 2003-07-26 00:30:39 +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
changelog
20ee4e07e7 ChangeLog update 2003-07-24 00:30:34 +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
changelog
c97878d7fe ChangeLog update 2003-07-18 00:30:46 +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
changelog
3eed52e2cb ChangeLog update 2003-07-04 00:30:34 +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
changelog
db2efa0bc1 ChangeLog update 2003-07-03 00:30:28 +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
changelog
295e8d8402 ChangeLog update 2003-07-01 00:30:14 +00:00
messju
52e2093abe backed out errornously committed support for $foo->$bar 2003-06-30 22:13:00 +00:00
messju
38ed839cce fixed indentiation, silenced occasional warning 2003-06-30 15:48:26 +00:00
messju
ed6fee3542 match first character of file-attribute against "/" instead of
DIRECTORY_SEPARATOR since it is a url-path and not a file-path.
2003-06-30 15:44:25 +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
changelog
42d37d877d ChangeLog update 2003-06-30 00:30:30 +00:00
messju
db4af8295e extincting $this out of smarty_core_*-functions 2003-06-30 00:08:28 +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
messju
0d2409b7aa fixed inlude_once-call 2003-06-29 12:25:03 +00:00
messju
eabd6dfebb fixed examples of html_radios and html_checkboxes in german and french docs 2003-06-29 09:19:21 +00:00
changelog
67488ee517 ChangeLog update 2003-06-26 00:30:13 +00:00
mohrt
674722e332 fix typo, fix write_cache_paths logic 2003-06-25 22:29:03 +00:00
mohrt
5ae5a6f576 fix SMARTY_COMPILE_DIR_SEP problem, make local var 2003-06-25 21:50:34 +00:00
changelog
0f3034af42 ChangeLog update 2003-06-25 00:30:25 +00:00