Uwe.Tews
67af69cbb1
- throw exception on illegal Smarty() constructor calls
2009-11-02 23:04:10 +00:00
monte.ohrt
b48f460a63
fix spl_autoload when autoloaders exist
2009-11-01 16:26:06 +00:00
Uwe.Tews
cf379474fd
- change of filenames in sysplugins folder for internal spl_autoload function
...
- lexer/parser changed for increased compilation speed
2009-10-31 00:44:58 +00:00
monte.ohrt
6efbb3ee58
fix typo
2009-10-29 14:02:21 +00:00
monte.ohrt
466805978c
add SVN Id
2009-10-29 13:39:02 +00:00
monte.ohrt
1374718163
add $Rev$ to version number
2009-10-29 13:37:10 +00:00
Uwe.Tews
5fe16d23f0
- fixed file dependency for config files
...
- some code optimizations
2009-10-21 15:19:00 +00:00
Uwe.Tews
4a68612a5a
- added {$foo++}{$foo--} syntax
...
- buxfix changed PHP "if (..):" to "if (..){" because of possible bad code when concenating PHP tags
- autoload Smarty internal classes
2009-10-21 09:49:43 +00:00
Uwe.Tews
5be5d4cf28
- do not recompile evaluated templates if reused just with other data
...
- recompile config files when config properties did change
- some lexer/parser otimizations
2009-10-13 19:44:38 +00:00
Uwe.Tews
585c115c94
- internal changes to improve performance
...
- fix registering of filters for classes
2009-10-04 18:12:30 +00:00
Uwe.Tews
84a1428bf7
- removed default timezone setting
2009-10-01 17:09:49 +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
56e01e8a45
- allow Smarty2 and Smarty3 parameter ordering on display, fetch and create template
2009-09-29 20:36:29 +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
5bf063d2cc
- fixed error in is_cached
2009-09-20 02:02:44 +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
1cdb112388
- bugfix
2009-09-01 22:04:30 +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
Uwe.Tews
45ba48f2b6
- some speed optimizations on loading internal plugins
2009-08-30 18:10:01 +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
bfefb8e017
- implemented caching of registered Resources
...
- new property 'auto_literal'. if true(default) '{ ' and ' }' interpreted as literal, not as Smarty delimiter
2009-08-29 16:29:52 +00:00
Uwe.Tews
8c48521260
- fixed wrong case at require_once
2009-08-27 16:02:44 +00:00
Uwe.Tews
4331452b8e
- implemented registered resources as in Smarty2. NOTE: caching does not work yet
...
- new property 'force_cache'. if true it forces the creation of a new cache file
- fixed modifiers on arrays
- some speed optimization on loading internal classes
2009-08-27 14:59:28 +00:00
Uwe.Tews
e759f76661
- bugfix - the output of plugins was not cached
...
- added global variable SCRIPT_NAME
2009-08-24 19:26:31 +00:00
Uwe.Tews
eef7400f55
- definition of template class name moded in internal.templatebase.php
...
- whitespace parser changes
2009-08-18 16:53:33 +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
monte.ohrt
3463a3a090
add SMARTY_EXCEPTION_HANDLER constant to determine if internal exception handling is enabled
2009-07-03 14:48:38 +00:00
Uwe.Tews
581620d8cd
- fix on \n and spaces inside smarty tags
...
- removed request_use_auto_globals propert as it is no longer needed because Smarty 3 will always run under PHP 5
2009-06-22 14:23:21 +00:00
Uwe.Tews
1084678645
- fixed directory separator handling
2009-05-14 10:53:28 +00:00
Uwe.Tews
ff4619801a
- allow that plugins_dir folder names can end without directory separator
2009-05-06 07:46:08 +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
5bbc44f35d
- functions defined with the {function} tag now always have global scope
2009-04-30 17:39:17 +00:00
Uwe.Tews
d7093433ae
- fixed problem with directory setter methodes
2009-04-29 17:56:56 +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
152cedb75c
- added stream resources ($smarty->display('mystream://mytemplate'))
...
- added stream variables {$mystream:myvar}
2009-04-18 14:46:29 +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
eace27e2b6
- added global variable scope SMARTY_GLOBAL_SCOPE
...
- enable 'variable' filter by default
2009-04-10 12:33:51 +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
Uwe.Tews
9b41308bf6
- changed variable scopes to SMARTY_LOCAL_SCOPE, SMARTY_PARENT_SCOPE, SMARTY_ROOT_SCOPE to avoid possible conflicts with user constants
...
- Smarty variable global attribute replaced with scope attribute
2009-04-07 16:22:31 +00:00
Uwe.Tews
0ab30877db
- variable scopes LOCAL_SCOPE, PARENT_SCOPE, ROOT_SCOPE
...
- more getter/setter methodes
2009-04-06 02:53:09 +00:00
Uwe.Tews
3c5f0d56d3
- added registerDefaultTemplateHandler methode and functionallity
...
- added registerDefaultPluginHandler methode and functionallity
- added {append} tag to extend Smarty array variabled
2009-04-03 15:59:40 +00:00
Uwe.Tews
b46b973b8e
- added setter/getter methodes
...
- added $foo@first and $foo@last properties at {for} tag
- added $set_timezone (true/false) property to setup optionally the default time zone
2009-04-02 12:24:50 +00:00
Uwe.Tews
25e4ef7fb9
- bugfix smarty.class and internal.security_handler
...
- added compile_check configuration
- added all setter/getter methodes
2009-03-31 14:20:10 +00:00
Uwe.Tews
c9bbd7e834
- added all major setter/getter methodes
2009-03-30 17:05:37 +00:00
Uwe.Tews
8a8766b0bd
- added extend resource
2009-03-27 15:31:47 +00:00
Uwe.Tews
000e5c7892
- implemented $smarty.block.name.parent to access parent block content
...
- fixed smarty.class
2009-03-26 21:06:02 +00:00
Uwe.Tews
a752396d41
- updated paths in development folder
2009-03-22 22:35:10 +00:00
monte.ohrt
dcaa96a9f8
rearrange things into distribution and development directories
2009-03-22 16:09:05 +00:00