Commit Graph

25 Commits

Author SHA1 Message Date
Uwe.Tews@googlemail.com
00ccae8857 - update for PHP 5.4 compatibility
- reformat source to PSR-2 standard
2013-07-14 22:15:45 +00:00
uwe.tews@googlemail.com
27be6508bd - bugfix assignGlobal() called from plugins did not work (Forum Topic 23771) 2012-11-20 02:06:20 +00:00
uwe.tews@googlemail.com
dbda42bc6c - bugfix assign() in plugins called in subtemplates did change value also in parent template 2011-10-04 16:18:24 +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
uwe.tews@googlemail.com
95ab01f99f remove unneeded error suppression 2011-09-21 22:54:08 +00:00
rodneyrehm
7a6b9dba91 - added $error_muting to suppress error messages even for badly implemented error_handlers
- reverted r4301
2011-09-21 22:02:54 +00:00
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +00:00
uwe.tews@googlemail.com
7c0e3c89c1 - bugfix error handling at stream resources 2011-05-14 11:11:52 +00:00
uwe.tews@googlemail.com
9630a99a82 - bugfix dynamic configuration of $debugging_crtl did not work
- bugfix default value of $config_read_hidden changed to false
- bugfix format of attribute array on compiler plugins
- bugfix getTemplateVars() could return value from wrong scope
2010-12-31 13:47:12 +00:00
uwe.tews@googlemail.com
ea37403f01 - bugfix getTemplateVars() should return 'null' instead dropping E_NOTICE on an unassigned variable 2010-12-06 19:00:50 +00:00
uwe.tews@googlemail.com
eddb301947 - change on handling of unassigned template variable -- default will drop E_NOTICE
- bugfix on Smarty2 wrapper load_filter() did not work
2010-11-18 18:58:53 +00:00
uwe.tews@googlemail.com
21ed644f82 - bugfix when using {$smarty.session} as object
- bugfix scoping problem on $smarty object passed to filters
2010-11-15 19:17:18 +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
ce7a278f44 - bugfix for the E_NOTICE change 2010-10-20 18:28:04 +00:00
Uwe.Tews
96e3d9937a - fixed E_STRICT errors for uninitialized variables 2010-08-23 14:40:10 +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
b534be00da - replace internal get_time() calls with standard PHP5 microtime(true) calls 2010-06-20 14:37:47 +00:00
Uwe.Tews
7cd84ed640 - added __toString method to the Smarty_Variable class 2010-06-18 15:10:35 +00:00
monte.ohrt
c963a8342e fix assign_by_ref and append_by_ref BC compatability 2010-06-08 20:45:18 +00:00
Uwe.Tews
bf591a307b - bugfix on getTemplateVars method 2010-05-06 00:32:10 +00:00
monte.ohrt
0c2b18c727 move getTemplateVars() into data object 2010-02-08 17:31:15 +00:00
monte.ohrt
9af377d7d3 major API update 2010-02-06 22:11:10 +00:00
Uwe.Tews
e89c15d65d - new method $smarty->createData([$parent]) for creating a data object (required for bugfixes below)
- bugfix config_load() method now works also on a data object
- bugfix get_config_vars() method now works also on a data and template objects
- bugfix clear_config() method now works also on a data and template objects
2010-01-22 16:39:30 +00:00
Uwe.Tews
44dd7830dd --- this is a major update with a couple of internal changes ---
- new config file lexer/parser (thanks to Thue Jnaus Kristensen)
- template lexer/parser fixes for PHP and {literal} handing (thanks to Thue Jnaus Kristensen)
- fix on registered plugins with different type but same name
- rewrite of plugin handling (optimized execution speed)
- closed a security hole regarding PHP code injection into cache files
- fixed bug in clear cache handling
- Renamed a couple of internal classes
- code cleanup for merging compiled templates
- couple of runtime optimizations (still not all done)
2009-12-27 15:06:49 +00:00