Commit Graph

434 Commits

Author SHA1 Message Date
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
messju
4596b0d794 added $cacheable-parameter to register_function() and register_block() 2003-06-18 23:01:42 +00:00
messju
022621aa40 append '.php' to all compiled templates regardless of the settings of
$use_sub_dirs
2003-06-18 20:31:27 +00:00
messju
a3935d7fcb fixed $file_path-parameters passed to smarty_core_fetch_file_info() 2003-06-18 19:45:12 +00:00
mohrt
9f94fcfb8e fix _is_compiled logic 2003-06-17 16:33:16 +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
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
messju
15c968fb27 added config-option "request_use_auto_globals" to make auto-globals be
used as request vars instead of HTTP_*_VARS
2003-06-11 22:17:52 +00:00
mohrt
621629cd44 make config vars compile statically 2003-06-11 21:52:09 +00:00
messju
5b4b13a319 added block-methods for registered objects 2003-06-08 01:07:39 +00:00
mohrt
a569bd39dc add default_resource_type, ignore 1 char resource names 2003-06-06 15:49:29 +00:00
mohrt
06b4bddd47 *** empty log message *** 2003-06-04 13:50:50 +00:00
messju
79d955503f fixed multiple redundant occurrences for 'config' and 'template' in
$smarty->_cache_info
2003-05-12 07:53:57 +00:00
mohrt
5b67277699 abstract more private functions to plugin directory 2003-05-08 20:21:16 +00:00
messju
60a1b8cdc5 fixed bug in _create_dir_structure() when used with
open_basedir-restriction and relative paths
2003-05-08 13:18:17 +00:00
mohrt
9e42d23f88 abstracted display_debug_console and assign_smarty_interface to plugin dir as a test 2003-05-07 18:54:41 +00:00
mohrt
15cd354bf8 correct misc varnames, abstract debug console display to plugin function 2003-05-07 16:37:07 +00:00
mohrt
2d245d5d8f clean up comments, formatting 2003-05-05 14:49:38 +00:00
mohrt
81bb2aec77 keep DIR_SEP for 3rd party compatability 2003-05-05 14:41:22 +00:00
mohrt
db2ff5a2ef remove DIR_SEP, use DIRECTORY_SEPARATOR exclusively 2003-05-05 14:37:57 +00:00
mohrt
3a1b87f3e4 rename DIR_SEP to SMARTY_DIR_SEP to avoid varname collisions 2003-05-04 16:57:15 +00:00
messju
4389d50168 reverted patch for case-insensitive tag-names 2003-04-29 17:00:30 +00:00
messju
5f959fc7ec made $function[2] and $function[3] options for register_resource 2003-04-28 01:33:17 +00:00
messju
217b120db3 fixed issue with object-callback when fetching a php-resource 2003-04-28 00:55:01 +00:00
messju
4dac038066 enabled array(&$obj. 'source', 'timestamp', 'secure', 'trusted') as
callback for register_resource()

enabled array(&$obj, 'method') as callback for
$default_template_handler_func
2003-04-28 00:22:41 +00:00