rodneyrehm
2c25a64dd3
- added Smarty_Security::isTrustedUri() and Smarty_Security::$trusted_uri to validate remote resource calls through {fetch} and {html_image} (Forum Topic 20627)
2011-12-18 22:21:49 +00:00
rodneyrehm
52754a1a47
- added Smarty::$_UTF8_MODIFIER for proper PCRE charset handling (Forum Topic 20452)
2011-12-18 18:48:07 +00:00
rodneyrehm
d645ad2ea1
- changed internals to use Smarty::$_MBSTRING ($_CHARSET, $_DATE_FORMAT) for better unit testing
2011-12-18 18:20:09 +00:00
rodneyrehm
75c271079d
stashing PCRE modifications
2011-12-18 17:21:44 +00:00
uwe.tews@googlemail.com
fe68b976e8
- bugfix {html_select_date} and {html_slecet_time} did not default to current time if "time" was not specified
...
since r4432 (issue 60)
2011-11-25 17:06:30 +00:00
rodneyrehm
3d03494a74
- added escape argument to html_checkboxes and html_radios (Forum Topic 20425)
2011-11-16 11:28:35 +00:00
monte.ohrt
55fc3b1bc7
fix typos paramter to parameter
2011-11-14 14:53:16 +00:00
rodneyrehm
1edb2220c7
- bugfix smarty_mb_from_unicode() would not decode unicode-points properly
2011-10-22 15:30:26 +00:00
rodneyrehm
922017c7fa
- bugfix {html_select_date} and {html_select_time} did not properly handle empty time arguments (Forum Topic 20190)
...
see http://www.smarty.net/forums/viewtopic.php?t=20190
2011-10-20 13:31:25 +00:00
rodneyrehm
1cfdafccdd
- bugfix variable name typo in {html_options} and {html_checkboxes} (Issue #54 )
2011-10-10 08:53:43 +00:00
rodneyrehm
b7ef6f0597
- improvement removed some unnecessary count()s
2011-10-07 14:05:26 +00:00
rodneyrehm
1f35133079
- improvement html_checkboxes and html_radios to accept null- and object values, and label_ids attribute
2011-10-07 13:39:45 +00:00
rodneyrehm
1bf1b05846
- bugfix html_options plugin did not handle object values properly (Issue #49 , Forum Topic 20049)
2011-10-07 12:11:33 +00:00
rodneyrehm
a3a4bf8f80
- improvement removed html comments from {mailto} (Forum Topic 20092)
2011-10-07 08:55:12 +00:00
rodneyrehm
7169e594c4
- bugfix start_year and end_year of {html_select_date} did not use current year as offset base (Issue #53 )
2011-10-06 15:12:35 +00:00
rodneyrehm
3825ef336c
- bugfix html_options plugin did not handle null- and object values properly (Issue #49 , Forum Topic 20049)
2011-10-05 18:51:10 +00:00
uwe.tews@googlemail.com
4cb1e143cc
- bugfix of problem introduced with r4342 on math plugin
2011-10-04 16:38:12 +00:00
rodneyrehm
c24e213ed9
typo
2011-10-01 19:35:54 +00:00
rodneyrehm
655cbc94bc
- improvement replaced some strlen($foo) > 3 calls by isset($foo[3])
2011-10-01 18:47:56 +00:00
rodneyrehm
aff7c6a0ab
- improvement replaced most in_array() calls by more efficient isset() on array_flip()ed haystacks
...
- added notes on possible performance optimization/problem with Smarty_Security
2011-10-01 18:10:48 +00:00
rodneyrehm
ae85a298d8
- bugfix smarty_make_timestamp() failed to process DateTime objects properly
2011-09-27 18:16:03 +00:00
rodneyrehm
0cd9821dcc
- added chaining to Smarty_Internal_Data so $smarty->assign('a',1)->assign('b',2); is possible now
2011-09-27 12:36:50 +00:00
monte.ohrt
8842e79107
commit 3.1 into the trunk
2011-09-16 14:19:56 +00:00
rodneyrehm
bc96213c44
fix smarty security_policy issue in plugins {html_image} and {fetch}
2011-06-09 07:52:58 +00:00
uwe.tews@googlemail.com
1757b274d6
- bugfix on error message in smarty_internal_compile_block.php
...
- bugfix mb handling in strip modifier
- bugfix for Smarty2 style registered compiler function on unnamed attribute passing like {tag $foo $bar}
2011-03-28 22:18:39 +00:00
uwe.tews@googlemail.com
fe26cf256e
- bugfix replace modifier did not work in 3.0.7 on systems without multibyte support
...
- bugfix {$smarty.template} could return in 3.0.7 parent template name instead of
child name when it needed to compile
2011-03-01 19:47:44 +00:00
monte.ohrt
af19a07bf3
flip test for ctype_digit, speed up
2011-01-19 15:13:27 +00:00
monte.ohrt
2d75fb0098
avoid preg for string match
2011-01-17 21:49:19 +00:00
monte.ohrt
eba1d212f2
remove overlib plugins - no longer supported
2011-01-04 16:15:04 +00:00
monte.ohrt
d0b232e264
fix mb_str_replace to work with utf8
2011-01-03 23:19:22 +00:00
monte.ohrt
c0b6f29077
update html_options to support class and id attrs
2010-12-21 15:59:25 +00:00
uwe.tews@googlemail.com
dd332db455
-bugfix in function.fetch.php, reference to undefined $smarty
2010-11-17 23:15:12 +00:00
uwe.tews@googlemail.com
7135787127
- bugfix isset() did not allow multiple parameter
...
- improvment of some error messages
- bugfix html_image did use removed property $request_use_auto_globals
2010-11-14 15:08:44 +00:00
uwe.tews@googlemail.com
fe63ad36b8
- reverted location of loadPlugin() to Smarty class
...
- fixed comments in plugins
2010-11-13 04:10:52 +00:00
uwe.tews@googlemail.com
5e21770fe5
- reactivated $error_reporting property handling
...
- fixed typo in compile_continue
- fixed security in {fetch} plugin
- changed back plugin parameters to two. second is template object
with transparent access to Smarty object
- fixed {config_load} scoping form compile time to run time
2010-11-12 23:42:32 +00:00
uwe.tews@googlemail.com
f044178bad
- major update including some API changes
2010-11-11 21:34:36 +00:00
uwe.tews@googlemail.com
dde2219004
- bugfix on some compiling modifiers
2010-09-25 13:31:57 +00:00
uwe.tews@googlemail.com
e8ab747a60
- bugfix on default modifier
2010-09-22 13:06:47 +00:00
Uwe.Tews
a2f50cebd4
- bugfix {counter} and {cycle} plugin assigned result to smarty variable not in local(template) scope
...
- bugfix templates containing just {strip} {/strip} tags did produce an error
2010-09-07 16:24:34 +00:00
Uwe.Tews
96e3d9937a
- fixed E_STRICT errors for uninitialized variables
2010-08-23 14:40:10 +00:00
monte.ohrt
21d507a5cb
fix formatting
2010-08-17 15:39:51 +00:00
Uwe.Tews
ad921936b0
- remove exception_handler property from Smarty class
...
- added Smarty's own exceptions SmartyException and SmartyCompilerException
2010-08-13 10:39:51 +00:00
Uwe.Tews
cf231447d2
- bugfix when cascading some modifier like |strip|strip_tags modifier
2010-08-06 13:43:52 +00:00
Uwe.Tews
08874b0965
- added plugin type modifiercompiler to produce compiled modifier code
...
- changed standard modifier plugins to the compiling versions whenever possible
2010-08-05 17:50:16 +00:00
Uwe.Tews
c1e1c03892
- make the date_format modifier work also on objects of the DateTime class
...
- implementation of parsetrees in the parser to close security holes and remove unwanted empty line in HTML output
2010-07-14 22:47:37 +00:00
monte.ohrt
50637fccdd
add DateTime support, clean up some logic
2010-07-13 22:57:47 +00:00
Uwe.Tews
db38a0aaec
- bugfix on assigning multidimensional arrays within templates
...
- corrected bugfix for truncate modifier
2010-07-08 18:30:03 +00:00
Uwe.Tews
396d7aa8a5
- bugfix support of script files relative to trusted_dir
2010-07-07 22:08:10 +00:00
Uwe.Tews
c8f22fe247
- bugfix the truncate modifier needs to check if the string is utf-8 encoded or not
2010-07-07 16:34:06 +00:00
Uwe.Tews
c83ef6792c
- create exception on recursive {extends} calls
...
- fixed reported line number at "unexpected closing tag " exception
- bugfix on escape:'mail' modifier
- drop exception if 'item' variable is equal 'from' variable in {foreach} tag
2010-07-06 20:00:41 +00:00