Commit Graph

519 Commits

Author SHA1 Message Date
mohrt
219ec26706 fix typo 2005-08-17 14:59:25 +00:00
mohrt
56bd1fbbd0 return valid reference in get_template_vars() when given var is non-existant 2005-08-17 14:58:32 +00:00
mohrt
159eb19d33 update version numbers 2005-08-05 20:53:04 +00:00
messju
aa88b07e8a removed E_NOTICE 2005-07-18 08:43:53 +00:00
mohrt
d13087a591 update version numbers 2005-03-31 14:57:19 +00:00
messju
5b5dcbf7b2 bumped version-number to 2.6.9-dev
added headline of 2.6.6 release to NEWS file
2005-03-22 08:45:07 +00:00
messju
b5747d2b18 add "null" as a valid token for {if} when security is enabled 2005-02-26 21:18:48 +00:00
mohrt
c3e8668266 update version numbers in cvs 2005-02-03 15:14:43 +00:00
mohrt
c5e1cd7185 commit version numbers for new release 2005-02-03 14:41:33 +00:00
messju
c6827dee8a fixed serialization of values containing newlines (like _cache_attrs)
in core_write_cache_file()

bumped version to 2.6.6-dev-3 to indicate that the fileformat of cache
has changed
2005-02-01 10:19:08 +00:00
messju
5234d7bf5a replaced ? true : false and removed intermediate $_cookie_var in the
handling of the SMARTY_DEBUG-cookie
2005-01-23 22:19:15 +00:00
mohrt
9959c4f263 de-spammify e-mails 2005-01-21 17:46:15 +00:00
mohrt
215e8784b1 update copyright notices, e-mail addresses 2005-01-21 16:41:52 +00:00
messju
b3245435ab Happy new year from germany. 2005-01-01 11:58:21 +00:00
mohrt
b93ef92f07 fix _read_file comments 2004-12-28 17:24:16 +00:00
messju
e9c72aedce - better header for compiled includes (more in line with compiled
templates)

- reuse cache_serials if a file is compiled more than once in one
  process (force_compile)

- don't print nocache-delimiters wenn already inside
process_cached_inserts()
2004-10-01 15:26:44 +00:00
messju
305bf858c1 switched from @count() to !empty() . this was pointed out a few times
by a few people with buggy error-handlers
2004-09-29 07:23:45 +00:00
messju
3797857006 bumped up version number to reflect incompatibility in tempfiles of
'core' vs. 'internals'
2004-09-28 07:04:42 +00:00
boots
180c0c2847 Fixed \\r\\n line endings mistakenly introduced in last commit. d'oh. 2004-09-18 02:09:35 +00:00
boots
a0d021ef60 Moved /libs/core to /libs/internals and created new constant, SMARTY_CORE_DIR which defaults to SMARTY_DIR/internals. This should help CVS and rsynch users butupgrades will require changes and this may affect 3rd party plugins that use the /core dir. 2004-09-16 23:07:32 +00:00
messju
ed00361206 update files to 2.6.6-dev 2004-09-14 07:39:01 +00:00
messju
33adc4573e added $smarty->security_settings['ALLOW_CONSTANTS']
including test-cases for them
2004-09-10 19:15:01 +00:00
mohrt
8b8b102a01 update files to 2.6.5-dev 2004-09-07 14:48:55 +00:00
messju
c9844d410b backed out renaming of _get_plugin_filepath() to get_plugin_filepath()
we'll stick to _get_plugin_filepath() and look for a more viable
solution to be exposed to plugin-writers.
2004-07-23 15:34:53 +00:00
mohrt
c6be541e7f replace " with ' where literal strings are quoted (ever so slight speedup) 2004-07-14 21:31:29 +00:00
messju
4d1af77893 renamed Smarty::_get_plugin_filepath() to Smarty::get_plugin_filepath() 2004-07-12 15:22:57 +00:00
messju
08ff67c5ba removed touch() call. changing the timestamp of the compiled-template
to the source template's may be irritating for certain
source-code-caches. now a newly compiled template gets the current
time as timestamp.
2004-07-12 15:05:30 +00:00
messju
ad79be90a0 removed use of get_include_filepath() inside
get_auto_filename(). thanks go to c960657
2004-07-01 15:48:40 +00:00
messju
12af99a73d changed version-number to 2.6.4-dev 2004-06-17 08:55:10 +00:00
messju
e311005304 made the correct value of "use_sub_dirs" available to the compiler.
(not worth a NEWS-entry, i think)
2004-06-08 10:48:50 +00:00
messju
72fdad0064 enhanced auto-generated filenames for templates_c and cache
incremented Smarty::_version because the tempfiles' structure changed
a little
2004-05-26 15:26:41 +00:00
messju
f63cb7a54b added check if for file_exists() to Smarty::_read_file() 2004-05-04 16:44:47 +00:00
messju
121e0e6287 reverted Stuff 2004-04-16 08:06:40 +00:00
messju
729ebe26ed Smarty_Compiler.class.php 2004-04-16 07:53:37 +00:00
messju
91549d3dba removed unused functionality to load a subset of lines from a file in
Smarty::_read_file()

additionally removed a warning that is emitted since php-4.3.5 when
fread() is called on an empty file (with filesize()==0). thanks to
Andreas Streichardt who pointed this out.
2004-04-12 12:38:36 +00:00
messju
f75615d03c removed unused security_setting 'ALLOW_CONSTANTS' 2004-04-12 10:34:44 +00:00
messju
9fa78a2cfd removed unused $smarty->_error_msg 2004-04-07 18:06:06 +00:00
messju
5a37e025ae moved setting of a default resource_base_path from
Smarty::_parse_resource_name() to Smarty::_fetch_resource_info()

this shouldn't affect anything, since all calls to
_parse_resource_name() that are not done from within
_fetch_resource_info() all pass their own resource_base_path
2004-03-18 07:05:29 +00:00
messju
d271bced39 removed '.' from the list of default resource_base_paths in
_parse_resource_name()

this should only affect _parse_resource_name() for templates, not for
php-resources and not for config_files. the latter pass two their own
resource_base_path.
2004-03-17 15:32:10 +00:00
messju
2b341888a3 simplified Smarty::clear_all_cache(); 2004-03-15 14:50:42 +00:00
messju
077b7e7865 _parse_resource_name() returned true on non-existant absolute
paths. This caused a warning on _fetch_resource_info() when used in
conjunction with template_exists(). It should be fixed now without
negative effects.
2004-02-24 22:23:13 +00:00
messju
fff19de349 updated version to 2.6.3-dev 2004-02-23 23:14:40 +00:00
mohrt
cf52c81e0a change some info in headers, remove fluff 2004-02-17 15:52:02 +00:00
messju
ef24ac0a3f changed default for use_sub_dirs to false 2004-02-07 20:29:20 +00:00
messju
0e6224fc04 Smarty::_trigger_fatal_error() uses Smarty::trigger_error() now,
instead of the native trigger_error()-function
2004-01-25 15:36:05 +00:00
mohrt
51e1064d69 update version numbers, add initial unit test directory 2004-01-16 22:12:08 +00:00
mohrt
5383e42a1d update version numbers for 2.6.1 release 2004-01-16 20:24:45 +00:00
messju
9b032e1ea4 renamed $smarty->tpl_rror_reporting to $smarty->error_reporting
"tpl_" is a bit redundant here (it's a TemPLate-engine overall :)
2004-01-16 20:01:35 +00:00
messju
35d7d5126d removed unnecessary param in call to _fetch_resource_info() 2004-01-02 11:05:41 +00:00
messju
70e7586d57 oops! removed tabs. 2003-12-30 21:42:51 +00:00