Commit Graph

21 Commits

Author SHA1 Message Date
uwetews
e1d27d68d7 - performance require_once should be called only once for shared plugins https://github.com/smarty-php/smarty/issues/280 2016-09-02 01:08:50 +02:00
uwetews
b04486a091 - reformat all code for unique style 2016-02-09 01:27:15 +01:00
Uwe.Tews@googlemail.com
425091a19f - fixed spelling, PHPDoc , minor errors, code cleanup 2014-06-06 02:40:04 +00:00
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
rodneyrehm
b8f0d3bacb - adding attribute "strict" to html_options, html_checkboxes, html_radios to only print disabled/readonly attributes if their values are true or "disabled"/"readonly" (Issue #120) 2012-11-13 18:31:48 +00:00
rodneyrehm
b27fc84447 bugfix {html_options} did not properly escape values (Issue 98) 2012-05-12 10:59:49 +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
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
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
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
monte.ohrt
8842e79107 commit 3.1 into the trunk 2011-09-16 14:19:56 +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
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
monte.ohrt
21d507a5cb fix formatting 2010-08-17 15:39:51 +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
Uwe.Tews
7e45bcf527 - replaced most hard errors (exceptions) by softerrors(trigger_error) in plugins 2009-12-01 20:34:32 +00:00
Uwe.Tews
0e68cdd9d2 - replace internal "eval()" calls by "include" during rendering process
- speed improvment for templates which have included subtemplates
    the compiled code of included templates is merged into the compiled code of the parent template
- added logical operator "xor" for {if} tag
- changed parameter ordering for Smarty2 BC
    fetch($template, $cache_id = null, $compile_id = null, $parent = null)
    display($template, $cache_id = null, $compile_id = null, $parent = null)
    createTemplate($template, $cache_id = null, $compile_id = null, $parent = null)
- property resource_char_set is now replaced by constant SMARTY_RESOURCE_CHAR_SET
- fixed handling of classes in registered blocks
- speed improvement of lexer on text sections
2009-09-19 13:22:32 +00:00
monte.ohrt
dcaa96a9f8 rearrange things into distribution and development directories 2009-03-22 16:09:05 +00:00