Commit Graph

36 Commits

Author SHA1 Message Date
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
Uwe.Tews
b5ff9e450f - bugfix for {php} tag (trow an exception if allow_php_tag = false) 2010-01-01 20:19:26 +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
monte.ohrt
cd5cc650d8 add automagic formatting for date() and strftime() 2009-12-05 05:30:20 +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
e5cd6c8a17 - removed cache resource plugin for mysql from the distribution 2009-12-01 19:36:58 +00:00
Uwe.Tews
4c4ce1e5bf - update of comment 2009-11-30 21:20:09 +00:00
Uwe.Tews
9f18a6bf62 - added comment with MYSQL create table command 2009-11-27 21:06:17 +00:00
Uwe.Tews
27d3a21fb4 - added cache resource MYSQL plugin 2009-11-27 20:46:56 +00:00
Uwe.Tews
e081d85b79 - bugfix cycle plugin 2009-11-17 20:17:51 +00:00
Uwe.Tews
a63bc0f83b - sanitize compile_id and cache_id (replace illegal chars with _)
- use _dir_perms and _file_perms properties at file creation
- new constant SMARTY_RESOURCE_DATE_FORMAT (default '%b %e, %Y') which is used as default format in modifier date_format
2009-11-17 17:46:03 +00:00
monte.ohrt
72de1a7b33 fix delimiter setting 2009-11-17 01:31:44 +00:00
monte.ohrt
3386b94e15 change linefeed style to native on all files 2009-11-06 14:35:00 +00:00
Uwe.Tews
ecb5c84d5d - fix trimwhitespace outputfilter parameter 2009-10-22 13:08:43 +00:00
Uwe.Tews
898819dd2b - reactivated PHP resource for simple PHP templates. Must set allow_php_templates = true to enable
- {PHP} tag can be enabled by allow_php_tag = true
2009-09-30 22:03:41 +00:00
Uwe.Tews
1af2723de9 - changed {php} tag handling
- removed support of Smarty::instance()
- removed support of PHP resource type
- improved execution speed of {foreach} tags
- fixed bug in {section} tag
2009-09-29 16:23:35 +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
Uwe.Tews
5563fc9fd5 - dropped nl2br as plugin
- added '<>' as comparission operator in {if} tags
- cached caching_lifetime property to cache_liftime for backward compatibility with Smarty2.
  {include} optional attribute is also now cache_lifetime
- fixed trigger_error methode (moved into Smarty class)
- version is now  Beta!!!
2009-09-01 21:11:42 +00:00
monte.ohrt
770ef89611 remove built-in exception handling, add DS as shorthand to DIRECTORY_SEPARATOR 2009-08-29 22:57:29 +00:00
Uwe.Tews
0ba34008a7 - update of mb support in plugins 2009-08-10 17:52:26 +00:00
Uwe.Tews
d2d8c8925b - removed all internal calls of Smarty::instance()
- fixed code in double quoted strings
2009-08-08 17:28:23 +00:00
Uwe.Tews
8b555a5903 - bugfix mb_string support 2009-08-05 19:40:48 +00:00
monte.ohrt
e348a33cf0 change split() to preg_split(), deprecated in php 5.3 2009-07-05 05:03:24 +00:00
Uwe.Tews
b288d014f4 - fixed smarty_function_html_options call in plugin function.html_select_date.php (missing ,) 2009-07-01 20:19:04 +00:00
Uwe.Tews
18b939331e - fixed smarty_function_html_options call in plugin function.html_select_date.php 2009-06-24 16:27:42 +00:00
Uwe.Tews
d7a8731ac9 - fixed E_STRICT incompabilities
- {function} tag bug fix 
- security policy definitions have been moved from plugins folder to file Security.class.php in libs folder
- added allow_super_global configuration to security
2009-05-05 17:19:33 +00:00
Uwe.Tews
c724b720be - added trusted stream checking to security
- internal changes at file dependency check for caching
2009-04-26 16:56:17 +00:00
Uwe.Tews
c9b789ca32 - fixed variables in 'file' attribute of {extend} tag
- fixed problems in modifiers (if mb string functions not present)
2009-04-11 08:47:28 +00:00
Uwe.Tews
ba61f12384 - check if mb string functions available otherwise fallback to normal string functions 2009-04-10 15:52:59 +00:00
Uwe.Tews
066467ca82 - implementation of a 'variable' filter as replacement for default modifier
- update of unregister_....filter methods
2009-04-10 01:15:53 +00:00
monte.ohrt
dcaa96a9f8 rearrange things into distribution and development directories 2009-03-22 16:09:05 +00:00