Commit Graph

80 Commits

Author SHA1 Message Date
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
Uwe.Tews
cbe2f3356f - removed call_user_func_array calls for optimization of compiled code when using registered modifiers and plugins
- updated comments
2010-07-01 19:57:56 +00:00
Uwe.Tews
62490ae8c0 - removed /* vim: set expandtab: */ comments
- bugfix of auto literal problem introduce with fix of 31/05/2010
2010-06-01 19:11:48 +00:00
Uwe.Tews
2ad1d7e102 - make scope of {counter} and {cycle} tags again global as in Smarty2 2010-05-27 19:56:39 +00:00
Uwe.Tews
d44ffe9132 - security fix in {math} plugin 2010-04-17 10:24:44 +00:00
monte.ohrt
09c208eda6 revert lables on optgroup tags 2010-04-16 13:49:46 +00:00
monte.ohrt
4e8602585e remove label from option tag (unnecessary):wq 2010-04-12 19:04:02 +00:00
monte.ohrt
7300133dc6 move replacement func 2010-03-01 14:56:24 +00:00
monte.ohrt
0d3137b511 fix mb check 2010-03-01 14:52:01 +00:00
monte.ohrt
c5b0288087 remove unnecessary param for preg 2010-02-18 14:45:27 +00:00
Uwe.Tews
44feb88c19 - bugfix on <?xml ... ?> tags for all php_handling modes
- bugfix on parameter of variablefilter.htmlspecialchars.php plugin
2010-02-16 20:20:49 +00:00
monte.ohrt
c188b50ecc change ereg to preg 2010-02-16 15:20:47 +00:00