mohrt
8d04d5a8e1
update NEWS file with 2.6.4 header
2004-09-07 14:24:52 +00:00
mohrt
bf9153bd8a
add $smarty.ldelim and $smarty.rdelim to smarty special var
2004-08-30 14:54:30 +00:00
messju
1a3c4eb890
tempnam() seems to be borken on many installation.
...
now we try tempnam first and if that fails we generate our own
temp-filename with uniqid()
2004-08-29 13:16:30 +00:00
mohrt
a50a53c0f5
fix capitalize modifier to not rely on buggy ucwords() func
2004-08-23 18:34:12 +00:00
mohrt
e430d63e56
make time param work with negative timestamps, force year range to include
...
given date unless explicitly set
2004-08-20 13:48:46 +00:00
mohrt
a609ff1833
fix bug with fetch, passing user/pass in url did not work
2004-08-19 21:02:24 +00:00
messju
6217c69fb1
fixed occasional wrong error messages on mismatched tags when
...
{else}, {elseif}, {foreachelse} or {sectionelse} is involved
thanks to Ooypunk for pointing me on this
2004-08-12 21:07:24 +00:00
messju
15435172b7
fixed handling of methods arguments.
...
thanks to Manfred Wischin for finding this one and providing the
conceptual fix.
2004-07-27 17:59:35 +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
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
mohrt
8e621339e9
add assign attribute to html_checkboxes and html_radios
2004-07-02 14:14: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
8c83b9e88b
enhanced error-reporting for {foreach}
2004-07-01 15:39:34 +00:00
messju
cc08082d67
fixed handling of digits inside tagnames. this problem slipped into
...
the regexps by adding support for numeric contants next to string
constants as variables.
2004-07-01 12:20:43 +00:00
messju
b43d689706
fixed escaping of backslashes in Smarty_Compiler::_quote_replace()
2004-06-27 19:37:34 +00:00
mohrt
1ef80b257e
update NEWS file with version number
2004-06-16 13:54:48 +00:00
mohrt
7b260f7b83
added escapement of '</' to javascript escaping
2004-06-09 14:54:31 +00:00
messju
1c5ae377fd
added obfuscation of protocol-string in {mailto} when using
...
hex-encoding (thanks to bharat)
2004-05-28 08:44:46 +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
mohrt
530795cbf5
add 'nonstd' escape modifier
2004-05-12 19:40:36 +00:00
mohrt
bcb1d2a196
update textformat to not output wrap chars after last para
2004-05-07 22:50:11 +00:00
messju
e72c698496
use tempnam() instead of unqid() to create better temporary files in
...
smarty_core_write_file().
(thanks to xces for finding this race-condition and his work on
fixing it)
2004-05-06 12:37:46 +00:00
mohrt
16530ef589
add 'mail' attribute to escape modifier
2004-04-30 14:50:17 +00:00
messju
6c25b0951b
added entry for numeric constants
2004-04-16 10:33:30 +00:00
messju
20b4be1048
added escape type "decentity" to smarty_modifier_escape()
2004-04-16 08:40:42 +00:00
messju
ac9aafbb11
made smarty_core_write_compiled_include() php5-aware
...
if someone knows a better way than patching the source with the
tokenizer, please stand up!
2004-04-15 15:06:09 +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
a93fc7a1bc
smarty_core_is_secure() only checks the file for readability now, not
...
the directory where is in.
2004-04-12 12:20:43 +00:00
mohrt
1db754e93a
fix problem displaying debug console when $default_resource_type is not "file:"
2004-03-30 14:36:56 +00:00
messju
3cd25264cf
unrolled call to the is_compiled()-check to be able to supply the
...
correct resource_base_path for config_load. this avoids errors when
config-files are accessed where security is enabled.
thanks to shuther for pointing out this bug.
2004-03-23 09:49:23 +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
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
2c2c8b12b9
smarty_resource_*_secure got &$smarty passed errornously as 3rd
...
parameter and not as 2nd. this is fixed.
2004-02-24 00:10:55 +00:00
messju
8485763d2e
fix handling of integer values like width and delay im
...
smarty_function_popup()
2004-02-23 23:19:08 +00:00
mohrt
f8c32146d2
add header
2004-02-17 15:54:22 +00:00
messju
0548fee520
correctly handle partially empty dates (like "2004--" or "-12-").
2004-02-13 23:38:08 +00:00
messju
b474404b97
YES and NO should not be booleanized inside triple-quotes in a
...
config-file. this behaviour changed by accident in 2.6.1 and is now
reverted to pre-2.6.1 behaviour
2004-02-12 11:28:50 +00:00
messju
44e8612db1
fixed slurping of a the next line following a triple-quoted value in a
...
config-file
2004-02-10 22:58:49 +00:00
messju
ef24ac0a3f
changed default for use_sub_dirs to false
2004-02-07 20:29:20 +00:00
messju
aa2a705361
fixed quoting of values in smarty_function_popup()
2004-01-27 22:55:41 +00:00
messju
88cf42b0e6
fixed handling of hidden sections in Config_File
2004-01-22 23:47:46 +00:00
messju
cf0ee7bdd8
added handling of resources for {config_load}
2004-01-21 17:21:26 +00:00
messju
07b151bf3e
fixed bug when using arrays with tr_attr and td_attr in {html_table}
2004-01-19 12:47:59 +00:00
mohrt
b9450d2cf6
add unit testing
2004-01-16 22:14:51 +00:00
mohrt
51e1064d69
update version numbers, add initial unit test directory
2004-01-16 22:12:08 +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
ea53ef5a58
fix: $smarty->security is now correctly handled
...
minor optimizations:
core/core.is_secure.php is only included when needed
$dpi_default is only determined when needed
2004-01-15 15:00:09 +00:00
messju
6950893505
added caching of requested paths to smarty_core_assemble_plugin_filepath()
2004-01-08 13:13:04 +00:00
messju
73995af1e9
fix handling of comments inside {php}- and {literal}-blocks
2004-01-08 12:47:12 +00:00