Commit Graph

  • 950c3a7307 Uwe.Tews 2010-02-17 21:30:36 +00:00
  • 44feb88c19 - bugfix on <?xml ... ?> tags for all php_handling modes - bugfix on parameter of variablefilter.htmlspecialchars.php plugin Uwe.Tews 2010-02-16 20:20:49 +00:00
  • c188b50ecc change ereg to preg monte.ohrt 2010-02-16 15:20:47 +00:00
  • 239462fde4 - bugfix $smarty.const... inside doublequoted strings and backticks was compiled into wrong PHP code Uwe.Tews 2010-02-14 20:26:57 +00:00
  • 9afda44ebf - added missing _plugins property in smarty.class.php Uwe.Tews 2010-02-14 16:42:39 +00:00
  • 78c2e92f19 - bugfix on nested {block} tags - changed Smarty special variable $smarty.parent to $smarty.block.parent Uwe.Tews 2010-02-12 15:56:17 +00:00
  • 99ab6e96a5 - added support of nested {bock} tags Uwe.Tews 2010-02-12 01:14:34 +00:00
  • cb0ba1908a - allow Smarty tags inside <? ... ?> tags in SMARTY_PHP_QUOTE and SMARTY_PHP_PASSTHRU mode - bugfix at new "for" syntax like {for $x=1 to 10 step 2} Uwe.Tews 2010-02-10 20:51:36 +00:00
  • 9f5d885835 - avoid possible notice on $smarty->cache->clear(...), $smarty->clear_cache(....) Uwe.Tews 2010-02-10 18:00:41 +00:00
  • 43ae585e5e - added $smarty->_tag_stack for tracing block tag hierarchy Uwe.Tews 2010-02-09 21:20:17 +00:00
  • 24141e81dd - bugfix use template fullpath at §smarty->cache->clear(...), $smarty->clear_cache(....) Uwe.Tews 2010-02-08 21:04:43 +00:00
  • c2ff808db6 update README monte.ohrt 2010-02-08 17:49:26 +00:00
  • fbebb5bb02 update wrapper monte.ohrt 2010-02-08 17:41:48 +00:00
  • b48ef33cd5 - bugfix of cache filename on extended templates when force_compile=true Uwe.Tews 2010-02-08 17:39:48 +00:00
  • 0c2b18c727 move getTemplateVars() into data object monte.ohrt 2010-02-08 17:31:15 +00:00
  • 5be6130f0c update API list monte.ohrt 2010-02-08 17:08:09 +00:00
  • 7bfa54f067 - bugfix on changes of 05/02/2010 Uwe.Tews 2010-02-07 22:21:37 +00:00
  • d19fbb19d9 - bugfix on changes of 05/02/2010 Uwe.Tews 2010-02-07 20:45:44 +00:00
  • 063cb19f18 - preserve line endings type form template source Uwe.Tews 2010-02-07 12:49:57 +00:00
  • ae49fe099b - minor fixes on API update Uwe.Tews 2010-02-07 11:09:28 +00:00
  • 8f8a11f733 add new files monte.ohrt 2010-02-07 03:03:48 +00:00
  • 9af377d7d3 major API update monte.ohrt 2010-02-06 22:11:10 +00:00
  • 3ad446bb21 - bugfix on modifier and block plugins with same name Uwe.Tews 2010-02-05 17:03:22 +00:00
  • fde7a592f4 - retaining newlines at registered functions and function plugins Uwe.Tews 2010-02-02 20:09:57 +00:00
  • 3c88d12e00 - added test that $_SERVER['SCRIPT_NAME'] does exist in Smarty.class.php Uwe.Tews 2010-01-25 19:02:34 +00:00
  • 8defafbb14 - bugfix cache resource was not loaded when caching was globally off but enabled at a template object Uwe.Tews 2010-01-25 18:10:35 +00:00
  • 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 Uwe.Tews 2010-01-22 16:39:30 +00:00
  • cfea085629 - bugfix on plugins if same plugin was called from a nocache section first and later from a cached section Uwe.Tews 2010-01-19 17:01:10 +00:00
  • 2c570f25b9 - bugfix on $smarty.const... in double quoted strings Uwe.Tews 2010-01-17 15:52:37 +00:00
  • f11e4e40bc - internal change of config file lexer/parser on handling of section names - bugfix on registered objects (format parameter of register_object was not handled correctly) Uwe.Tews 2010-01-16 12:03:53 +00:00
  • da2f22438c - allow special characters in config file section names for Smarty2 BC Uwe.Tews 2010-01-14 22:05:32 +00:00
  • 383e4bb4ae - revert handling of newline on no output tags like {if...} Uwe.Tews 2010-01-14 20:57:27 +00:00
  • 13444e9781 - bugfix on special Smarty variable $smarty.cookies Uwe.Tews 2010-01-14 19:12:14 +00:00
  • db2c655322 - bugfix allow absolute filepath for config files Uwe.Tews 2010-01-14 16:43:43 +00:00
  • ecfc492298 - bugfix on backslash within single quoted strings Uwe.Tews 2010-01-14 15:57:09 +00:00
  • 19c0e47495 - bugfix on {if} tags Uwe.Tews 2010-01-13 15:33:54 +00:00
  • 51ed5b7861 - closed possible security hole at <?php ... ?> tags - bugfix of config file parser on large config files Uwe.Tews 2010-01-12 22:12:19 +00:00
  • db887adc37 - bugfix the {function..} tag did not accept the name attribute in double quotes Uwe.Tews 2010-01-12 20:37:05 +00:00
  • f83fd47acc - changed back modifer handling in parser. Some restrictions still apply: if modifiers are used in side {if...} expression or in mathematical expressions parentheses must be used. Uwe.Tews 2010-01-12 19:05:26 +00:00
  • aabc4352c2 - added optional nocache attribute to {block} tags in parent template - updated <?php...?> handling supporting now heredocs and newdocs. (thanks to Thue Jnaus Kristensen) Uwe.Tews 2010-01-11 20:44:01 +00:00
  • e912e731bc - added missing support of insert plugins Uwe.Tews 2010-01-11 20:22:41 +00:00
  • cdd2aae582 - added \n to the compiled code of the {if},{else},{elseif},{/if} tags to get output of newlines as expected by the template source Uwe.Tews 2010-01-11 17:58:10 +00:00
  • 64503880b3 - added \n to the compiled code of the {/if} tag to get output of newlines as expected by the template source Uwe.Tews 2010-01-11 17:36:37 +00:00
  • a3459b2e3a - bugfix on nocache {block} tags in parent templates Uwe.Tews 2010-01-09 19:23:35 +00:00
  • 6c020763a8 - bugfix on variable filters. filter/nofilter attributes did not work on output statements Uwe.Tews 2010-01-08 15:54:21 +00:00
  • 17a8c7f0a2 - bugfix on file dependendcy at template inheritance - bugfix on nocache code at template inheritance Uwe.Tews 2010-01-07 19:33:18 +00:00
  • 1227de42cc - bugfix for custom delimiter at extends resource and {extends} tag Uwe.Tews 2010-01-06 18:48:50 +00:00
  • ceb4cb75c7 - bugfix for custom delimiter at extends resource and {extends} tag Uwe.Tews 2010-01-06 17:31:59 +00:00
  • 57fd94ddb1 - fixed typo in smarty_internal_resource_registered Uwe.Tews 2010-01-06 15:52:33 +00:00
  • d287c6b1d9 - bugfix sha1() calculations at extends resource and some general improvments on sha1() handling Uwe.Tews 2010-01-05 21:10:25 +00:00
  • a6c2f5f8d4 - internal change on building cache files Uwe.Tews 2010-01-03 11:53:28 +00:00
  • 4519218f04 - update cached_timestamp at the template object after cache file is written to avoid possible side effects - use internally always SMARTY_CACHING_LIFETIME_* constants Uwe.Tews 2010-01-02 12:15:04 +00:00
  • b5ff9e450f - bugfix for {php} tag (trow an exception if allow_php_tag = false) Uwe.Tews 2010-01-01 20:19:26 +00:00
  • 8c93e0765a - bugfix for obtaining plugins which must be included (related to change of 12/30/2009) Uwe.Tews 2010-01-01 12:07:36 +00:00
  • 72219be200 - optimization of generated code for doublequoted strings containing variables - rewrite of {function} tag handling - can now be declared in an external subtemplate - can contain nocache sections (nocache_hash handling) - can be called in noccache sections (nocache_hash handling) - new {call..} tag to call template functions with a variable name {call name=$foo} - fixed nocache_hash handling in merged compiled templates Uwe.Tews 2009-12-31 16:38:12 +00:00
  • a6c4c0b192 - bugfix for plugins defined in the script as smarty_function_foo Uwe.Tews 2009-12-30 14:26:42 +00:00
  • 67641b63e8 - fixed cache filename for custom resources Uwe.Tews 2009-12-29 23:46:31 +00:00
  • 7a8e24cfc1 - internal change on merging some data Uwe.Tews 2009-12-29 22:27:04 +00:00
  • 8327f57f36 Uwe.Tews 2009-12-29 20:12:51 +00:00
  • d1969d6f56 - use sha1() for filepath encoding - updates on nocache_hash handling Uwe.Tews 2009-12-29 20:12:11 +00:00
  • 589f736efa - fixed bug loading modifiers in child template at template inheritance Uwe.Tews 2009-12-28 20:46:31 +00:00
  • 5d6b87d9a1 replace md5 with str_replace monte.ohrt 2009-12-28 17:41:27 +00:00
  • 8ad3fade36 - adding md5 to nocache_hash Uwe.Tews 2009-12-28 17:02:48 +00:00
  • de4957a151 - update for security fixes - make modifier plugins always trusted Uwe.Tews 2009-12-28 15:27:13 +00:00
  • f908aa0a27 update cache logic to use secure dynamic cache id monte.ohrt 2009-12-28 05:08:45 +00:00
  • 55d50efb1d set default cache lifetime to 3600, BC with Smarty 2 monte.ohrt 2009-12-28 03:22:57 +00:00
  • 997b8cd73f - fixed bug on modifier plugins at nocache output Uwe.Tews 2009-12-27 22:26:06 +00:00
  • 36da15cee8 - update of getCachedTimestamp() Uwe.Tews 2009-12-27 19:12:51 +00:00
  • 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) Uwe.Tews 2009-12-27 15:06:49 +00:00
  • 5f02276a2a - bugfix on comment lines in config files Uwe.Tews 2009-12-19 16:57:12 +00:00
  • 8f7a70de38 - bugfix on comment lines in config files Uwe.Tews 2009-12-19 12:36:15 +00:00
  • be04e0904c - fixed {strip} handling in auto literals Uwe.Tews 2009-12-17 20:39:11 +00:00
  • aaa7b8f245 - bugfix of parent/global variable update at included/merged subtemplates - encode final template filepath into filename of compiled and cached files Uwe.Tews 2009-12-17 16:58:44 +00:00
  • 13448b9b0b - added {include file='foo.tpl' inline} inline option to merge compiled code of aubtemplate into the calling template Uwe.Tews 2009-12-16 17:05:31 +00:00
  • 5385475a5e - update of changelog Uwe.Tews 2009-12-16 16:27:06 +00:00
  • 8d5fab37e8 - bugfix on object as array index Uwe.Tews 2009-12-15 00:02:10 +00:00
  • 7406a7386a - allow !$foo as value Uwe.Tews 2009-12-13 20:21:54 +00:00
  • b2db17992b - bugfix on single quote inside {function} tag Uwe.Tews 2009-12-12 11:51:07 +00:00
  • c5f8ceb5e9 - fix short append/prepend attributes in {block} tags Uwe.Tews 2009-12-12 10:50:40 +00:00
  • 5219139f6b - bugfix on clear_compiled_tpl (avoid possible warning) Uwe.Tews 2009-12-11 14:26:57 +00:00
  • 048fd5e274 - bugfix on {function} tags and template inheritance Uwe.Tews 2009-12-10 17:23:32 +00:00
  • bec015821a - fixed documentation of extends resource Uwe.Tews 2009-12-06 12:25:19 +00:00
  • 74a20f4650 - removed unneeded lexer code Uwe.Tews 2009-12-05 15:10:47 +00:00
  • 1723b98ce0 - fixed problem when a cached file was fetched several times Uwe.Tews 2009-12-05 13:38:09 +00:00
  • cd5cc650d8 add automagic formatting for date() and strftime() monte.ohrt 2009-12-05 05:30:20 +00:00
  • 85c8676988 - added file SMARTY2_BC_NOTES Uwe.Tews 2009-12-04 16:37:31 +00:00
  • 7e6da87134 - added max attribute to for loop - added security mode allow_super_globals Uwe.Tews 2009-12-04 15:44:47 +00:00
  • 19413d8dab - bugfix for {$foo.$x.$y.$z} Uwe.Tews 2009-12-04 00:18:54 +00:00
  • 9ee61377fa - README Uwe.Tews 2009-12-03 22:50:05 +00:00
  • 1573bf813c - added {for $foo = 1 to 5 step 2} syntax Uwe.Tews 2009-12-03 22:39:45 +00:00
  • 91da0aa7fe - template inheritance: child templates can now call functions defined by the {function} tag in the parent template Uwe.Tews 2009-12-03 19:49:17 +00:00
  • 2c23dccf3b - use $template_class property for template class name when compiling {include},{eval} and {extends} tags Uwe.Tews 2009-12-01 22:24:31 +00:00
  • 7e45bcf527 - replaced most hard errors (exceptions) by softerrors(trigger_error) in plugins Uwe.Tews 2009-12-01 20:34:32 +00:00
  • e5cd6c8a17 - removed cache resource plugin for mysql from the distribution Uwe.Tews 2009-12-01 19:36:58 +00:00
  • a8a17d09e9 - fixed parsing of names of special formated tags like if,elseif,while,for,foreach - removed direct access to constants in templates because of some syntax problems Uwe.Tews 2009-12-01 17:08:54 +00:00
  • 4c4ce1e5bf - update of comment Uwe.Tews 2009-11-30 21:20:09 +00:00
  • 89e53f6372 - allow {function} tags within {block} tags Uwe.Tews 2009-11-30 19:56:17 +00:00
  • 319f0c88fb - map 'true' to SMARTY_CACHING_LIFETIME_CURRENT for the $smarty->caching parameter Uwe.Tews 2009-11-30 17:52:13 +00:00
  • 732ab27055 - ignore compile_id at debug template - added direct access to constants in templates - some lexer/parser optimizations Uwe.Tews 2009-11-28 18:48:02 +00:00
  • 9f18a6bf62 - added comment with MYSQL create table command Uwe.Tews 2009-11-27 21:06:17 +00:00