From: Harvie Date: Thu, 12 May 2011 23:48:21 +0000 (+0200) Subject: Updated to Smarty 2.6.26 (June 18th, 2009), we should update to Smarty 3.x (current... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=9b7c11be09e7a553b26667f673c6315209ddc210;p=mirrors%2FKyberia-bloodline.git Updated to Smarty 2.6.26 (June 18th, 2009), we should update to Smarty 3.x (current), but we need to modify some code in order to do that... --- diff --git a/wwwroot/smarty/COPYING.lib b/wwwroot/smarty/COPYING.lib index 9a749e6..3b20440 100644 --- a/wwwroot/smarty/COPYING.lib +++ b/wwwroot/smarty/COPYING.lib @@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. - + 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an diff --git a/wwwroot/smarty/ChangeLog b/wwwroot/smarty/ChangeLog index 05297a0..4dd5340 100644 --- a/wwwroot/smarty/ChangeLog +++ b/wwwroot/smarty/ChangeLog @@ -1,3 +1,1803 @@ +2007-09-27 TAKAGI Masahiro + + * docs/ja/designers/language-custom-functions/language-function-html-checkboxes.xml: + sync with en. + +2007-09-27 Monte Ohrt + + * docs/en/designers/language-custom-functions/language-function-html-checkboxes.xml: + remove redundant attribute + +2007-09-18 Messju Mohr + + * docs/id/programmers/plugins/plugins-functions.xml: + removed errornous whitespace + +2007-09-18 Zaenal Mutaqin + + * docs/id/designers/language-basic-syntax/language-escaping.xml + docs/id/designers/language-basic-syntax/language-math.xml + docs/id/designers/language-basic-syntax/language-syntax-attributes.xml + docs/id/designers/language-basic-syntax/language-syntax-comments.xml + docs/id/designers/language-basic-syntax/language-syntax-functions.xml + docs/id/designers/language-basic-syntax/language-syntax-quotes.xml + docs/id/designers/language-basic-syntax/language-syntax-variables.xml + docs/id/designers/language-builtin-functions/language-function-capture.xml + docs/id/designers/language-builtin-functions/language-function-config-load.xml + docs/id/designers/language-builtin-functions/language-function-foreach.xml + docs/id/designers/language-builtin-functions/language-function-if.xml + docs/id/designers/language-builtin-functions/language-function-include-php.xml + docs/id/designers/language-builtin-functions/language-function-include.xml + docs/id/designers/language-builtin-functions/language-function-insert.xml + docs/id/designers/language-builtin-functions/language-function-ldelim.xml + docs/id/designers/language-builtin-functions/language-function-literal.xml + docs/id/designers/language-builtin-functions/language-function-php.xml + docs/id/designers/language-builtin-functions/language-function-section.xml + docs/id/designers/language-builtin-functions/language-function-strip.xml + docs/id/designers/language-custom-functions/language-function-assign.xml + docs/id/designers/language-custom-functions/language-function-counter.xml + docs/id/designers/language-custom-functions/language-function-cycle.xml + docs/id/designers/language-custom-functions/language-function-debug.xml + docs/id/designers/language-custom-functions/language-function-eval.xml + docs/id/designers/language-custom-functions/language-function-fetch.xml + docs/id/designers/language-custom-functions/language-function-html-checkboxes.xml + docs/id/designers/language-custom-functions/language-function-html-image.xml + docs/id/designers/language-custom-functions/language-function-html-options.xml + docs/id/designers/language-custom-functions/language-function-html-radios.xml + docs/id/designers/language-custom-functions/language-function-html-select-date.xml + docs/id/designers/language-custom-functions/language-function-html-select-time.xml + docs/id/designers/language-custom-functions/language-function-html-table.xml + docs/id/designers/language-custom-functions/language-function-mailto.xml + docs/id/designers/language-custom-functions/language-function-math.xml + docs/id/designers/language-custom-functions/language-function-popup-init.xml + docs/id/designers/language-custom-functions/language-function-popup.xml + docs/id/designers/language-custom-functions/language-function-textformat.xml + docs/id/designers/language-modifiers/language-modifier-capitalize.xml + docs/id/designers/language-modifiers/language-modifier-cat.xml + docs/id/designers/language-modifiers/language-modifier-count-characters.xml + docs/id/designers/language-modifiers/language-modifier-count-paragraphs.xml + docs/id/designers/language-modifiers/language-modifier-count-sentences.xml + docs/id/designers/language-modifiers/language-modifier-count-words.xml + docs/id/designers/language-modifiers/language-modifier-date-format.xml + docs/id/designers/language-modifiers/language-modifier-default.xml + docs/id/designers/language-modifiers/language-modifier-escape.xml + docs/id/designers/language-modifiers/language-modifier-indent.xml + docs/id/designers/language-modifiers/language-modifier-lower.xml + docs/id/designers/language-modifiers/language-modifier-nl2br.xml + docs/id/designers/language-modifiers/language-modifier-regex-replace.xml + docs/id/designers/language-modifiers/language-modifier-replace.xml + docs/id/designers/language-modifiers/language-modifier-spacify.xml + docs/id/designers/language-modifiers/language-modifier-string-format.xml + docs/id/designers/language-modifiers/language-modifier-strip-tags.xml + docs/id/designers/language-modifiers/language-modifier-strip.xml + docs/id/designers/language-modifiers/language-modifier-truncate.xml + docs/id/designers/language-modifiers/language-modifier-upper.xml + docs/id/designers/language-modifiers/language-modifier-wordwrap.xml + docs/id/designers/language-variables/language-assigned-variables.xml + docs/id/designers/language-variables/language-config-variables.xml + docs/id/designers/language-variables/language-variables-smarty.xml + docs/id/programmers/advanced-features/advanced-features-objects.xml + docs/id/programmers/advanced-features/advanced-features-outputfilters.xml + docs/id/programmers/advanced-features/advanced-features-postfilters.xml + docs/id/programmers/advanced-features/advanced-features-prefilters.xml + docs/id/programmers/advanced-features/section-template-cache-handler-func.xml + docs/id/programmers/advanced-features/template-resources.xml + docs/id/programmers/api-functions/api-append-by-ref.xml + docs/id/programmers/api-functions/api-append.xml + docs/id/programmers/api-functions/api-assign-by-ref.xml + docs/id/programmers/api-functions/api-assign.xml + docs/id/programmers/api-functions/api-clear-all-assign.xml + docs/id/programmers/api-functions/api-clear-all-cache.xml + docs/id/programmers/api-functions/api-clear-assign.xml + docs/id/programmers/api-functions/api-clear-cache.xml + docs/id/programmers/api-functions/api-clear-compiled-tpl.xml + docs/id/programmers/api-functions/api-clear-config.xml + docs/id/programmers/api-functions/api-config-load.xml + docs/id/programmers/api-functions/api-display.xml + docs/id/programmers/api-functions/api-fetch.xml + docs/id/programmers/api-functions/api-get-config-vars.xml + docs/id/programmers/api-functions/api-get-registered-object.xml + docs/id/programmers/api-functions/api-get-template-vars.xml + docs/id/programmers/api-functions/api-is-cached.xml + docs/id/programmers/api-functions/api-load-filter.xml + docs/id/programmers/api-functions/api-register-block.xml + docs/id/programmers/api-functions/api-register-compiler-function.xml + docs/id/programmers/api-functions/api-register-function.xml + docs/id/programmers/api-functions/api-register-modifier.xml + docs/id/programmers/api-functions/api-register-object.xml + docs/id/programmers/api-functions/api-register-outputfilter.xml + docs/id/programmers/api-functions/api-register-postfilter.xml + docs/id/programmers/api-functions/api-register-prefilter.xml + docs/id/programmers/api-functions/api-register-resource.xml + docs/id/programmers/api-functions/api-template-exists.xml + docs/id/programmers/api-functions/api-trigger-error.xml + docs/id/programmers/api-functions/api-unregister-block.xml + docs/id/programmers/api-functions/api-unregister-compiler-function.xml + docs/id/programmers/api-functions/api-unregister-function.xml + docs/id/programmers/api-functions/api-unregister-modifier.xml + docs/id/programmers/api-functions/api-unregister-object.xml + docs/id/programmers/api-functions/api-unregister-outputfilter.xml + docs/id/programmers/api-functions/api-unregister-postfilter.xml + docs/id/programmers/api-functions/api-unregister-prefilter.xml + docs/id/programmers/api-functions/api-unregister-resource.xml + docs/id/programmers/api-variables/variable-autoload-filters.xml + docs/id/programmers/api-variables/variable-cache-dir.xml + docs/id/programmers/api-variables/variable-cache-handler-func.xml + docs/id/programmers/api-variables/variable-cache-lifetime.xml + docs/id/programmers/api-variables/variable-cache-modified-check.xml + docs/id/programmers/api-variables/variable-caching.xml + docs/id/programmers/api-variables/variable-compile-check.xml + docs/id/programmers/api-variables/variable-compile-dir.xml + docs/id/programmers/api-variables/variable-compile-id.xml + docs/id/programmers/api-variables/variable-compiler-class.xml + docs/id/programmers/api-variables/variable-config-booleanize.xml + docs/id/programmers/api-variables/variable-config-dir.xml + docs/id/programmers/api-variables/variable-config-fix-newlines.xml + docs/id/programmers/api-variables/variable-config-overwrite.xml + docs/id/programmers/api-variables/variable-config-read-hidden.xml + docs/id/programmers/api-variables/variable-debug-tpl.xml + docs/id/programmers/api-variables/variable-debugging-ctrl.xml + docs/id/programmers/api-variables/variable-debugging.xml + docs/id/programmers/api-variables/variable-default-modifiers.xml + docs/id/programmers/api-variables/variable-default-resource-type.xml + docs/id/programmers/api-variables/variable-default-template-handler-func.xml + docs/id/programmers/api-variables/variable-error-reporting.xml + docs/id/programmers/api-variables/variable-force-compile.xml + docs/id/programmers/api-variables/variable-left-delimiter.xml + docs/id/programmers/api-variables/variable-php-handling.xml + docs/id/programmers/api-variables/variable-plugins-dir.xml + docs/id/programmers/api-variables/variable-request-use-auto-globals.xml + docs/id/programmers/api-variables/variable-request-vars-order.xml + docs/id/programmers/api-variables/variable-right-delimiter.xml + docs/id/programmers/api-variables/variable-secure-dir.xml + docs/id/programmers/api-variables/variable-security-settings.xml + docs/id/programmers/api-variables/variable-security.xml + docs/id/programmers/api-variables/variable-template-dir.xml + docs/id/programmers/api-variables/variable-trusted-dir.xml + docs/id/programmers/api-variables/variable-use-sub-dirs.xml + docs/id/programmers/caching/caching-cacheable.xml + docs/id/programmers/caching/caching-groups.xml + docs/id/programmers/caching/caching-multiple-caches.xml + docs/id/programmers/caching/caching-setting-up.xml + docs/id/programmers/plugins/plugins-block-functions.xml + docs/id/programmers/plugins/plugins-compiler-functions.xml + docs/id/programmers/plugins/plugins-functions.xml + docs/id/programmers/plugins/plugins-howto.xml + docs/id/programmers/plugins/plugins-inserts.xml + docs/id/programmers/plugins/plugins-modifiers.xml + docs/id/programmers/plugins/plugins-naming-conventions.xml + docs/id/programmers/plugins/plugins-outputfilters.xml + docs/id/programmers/plugins/plugins-prefilters-postfilters.xml + docs/id/programmers/plugins/plugins-resources.xml + docs/id/programmers/plugins/plugins-writing.xml: + Typos correction and all translated now. + +2007-09-17 Messju Mohr + + * docs/id/bookinfo.xml + docs/id/getting-started.xml + docs/id/language-defs.ent + docs/id/language-snippets.ent + docs/id/livedocs.ent + docs/id/preface.xml: + added indonesian docs - thanks Zaenal Mutaqin + + * docs/scripts/generate_web.php: + raise pcre.backtrack_limit - thanks to takagi + +2007-09-16 Monte Ohrt + + * libs/Smarty_Compiler.class.php: + fix typo + +2007-08-22 George Miroshnikov + + * docs/ru/getting-started.xml + docs/ru/getting-started.xml: + Sync with EN. + +2007-08-01 Monte Ohrt + + * NEWS + libs/Smarty_Compiler.class.php: + add append feature to capture + +2007-06-24 TAKAGI Masahiro + + * docs/ja/getting-started.xml: + sync with en. + +2007-06-24 Messju Mohr + + * docs/Makefile.in: + reverted accidently modified file + + * docs/Makefile.in + docs/de/getting-started.xml: + sync with en + + * docs/en/getting-started.xml: + fixed link to ini_set(). thanks to Lee Yunyoung. + +2007-06-18 TAKAGI Masahiro + + * docs/ja/language-snippets.ent + docs/ja/programmers/api-functions/api-register-outputfilter.xml + docs/ja/programmers/api-functions/api-register-postfilter.xml + docs/ja/programmers/api-functions/api-register-prefilter.xml: + sync with en. + +2007-06-18 Danilo Buerger + + * docs/en/language-snippets.ent + docs/en/programmers/api-functions/api-register-outputfilter.xml + docs/en/programmers/api-functions/api-register-postfilter.xml + docs/en/programmers/api-functions/api-register-prefilter.xml: + Updated docs according to the changes from the previous commit + + * NEWS + libs/Smarty.class.php: + Added the ability to (un)register multiple filters of the same type with + the same method name but different class name. Before it was not possible + due to the fact that only the method name was used to distinguish between + different filters of the same type. This does however not allow (same as + before) to register multiple filters of the same type with the same method + and class name (i.e. different instances of the same class). + +2007-05-29 Messju Mohr + + * libs/plugins/compiler.assign.php: + fixed typo + +2007-05-11 Messju Mohr + + * NEWS + libs/Smarty_Compiler.class.php: + fixed calling registered objects' methods with an empty argument list. + thanks marcello + +2007-05-03 TAKAGI Masahiro + + * docs/ja/designers/language-variables.xml + docs/ja/designers/language-builtin-functions/language-function-config-load.xml + docs/ja/designers/language-builtin-functions/language-function-foreach.xml + docs/ja/designers/language-builtin-functions/language-function-if.xml + docs/ja/designers/language-modifiers/language-modifier-cat.xml + docs/ja/designers/language-modifiers/language-modifier-wordwrap.xml + docs/ja/designers/language-variables/language-variables-smarty.xml: + sync with en. + +2007-05-03 Monte Ohrt + + * docs/en/designers/language-variables.xml + docs/en/designers/language-builtin-functions/language-function-config-load.xml + docs/en/designers/language-builtin-functions/language-function-foreach.xml + docs/en/designers/language-builtin-functions/language-function-if.xml + docs/en/designers/language-modifiers/language-modifier-cat.xml + docs/en/designers/language-modifiers/language-modifier-wordwrap.xml + docs/en/designers/language-variables/language-variables-smarty.xml: + update documentation corrections from marcello in the forums. Thanks + marcello! + +2007-04-22 TAKAGI Masahiro + + * docs/ja/programmers/advanced-features.xml + docs/ja/programmers/api-functions.xml + docs/ja/programmers/api-variables.xml: + corrected the garbled text. + +2007-04-21 TAKAGI Masahiro + + * docs/ja/bookinfo.xml + docs/ja/getting-started.xml + docs/ja/language-defs.ent + docs/ja/language-snippets.ent + docs/ja/livedocs.ent + docs/ja/make_chm_index.html + docs/ja/preface.xml + docs/ja/translation.xml + docs/ja/appendixes/bugs.xml + docs/ja/appendixes/resources.xml + docs/ja/appendixes/tips.xml + docs/ja/appendixes/troubleshooting.xml + docs/ja/designers/chapter-debugging-console.xml + docs/ja/designers/config-files.xml + docs/ja/designers/language-basic-syntax.xml + docs/ja/designers/language-builtin-functions.xml + docs/ja/designers/language-combining-modifiers.xml + docs/ja/designers/language-custom-functions.xml + docs/ja/designers/language-modifiers.xml + docs/ja/designers/language-variables.xml + docs/ja/designers/language-basic-syntax/language-escaping.xml + docs/ja/designers/language-basic-syntax/language-math.xml + docs/ja/designers/language-basic-syntax/language-syntax-attributes.xml + docs/ja/designers/language-basic-syntax/language-syntax-comments.xml + docs/ja/designers/language-basic-syntax/language-syntax-functions.xml + docs/ja/designers/language-basic-syntax/language-syntax-quotes.xml + docs/ja/designers/language-basic-syntax/language-syntax-variables.xml + docs/ja/designers/language-builtin-functions/language-function-capture.xml + docs/ja/designers/language-builtin-functions/language-function-config-load.xml + docs/ja/designers/language-builtin-functions/language-function-foreach.xml + docs/ja/designers/language-builtin-functions/language-function-if.xml + docs/ja/designers/language-builtin-functions/language-function-include-php.xml + docs/ja/designers/language-builtin-functions/language-function-include.xml + docs/ja/designers/language-builtin-functions/language-function-insert.xml + docs/ja/designers/language-builtin-functions/language-function-ldelim.xml + docs/ja/designers/language-builtin-functions/language-function-literal.xml + docs/ja/designers/language-builtin-functions/language-function-php.xml + docs/ja/designers/language-builtin-functions/language-function-section.xml + docs/ja/designers/language-builtin-functions/language-function-strip.xml + docs/ja/designers/language-custom-functions/language-function-assign.xml + docs/ja/designers/language-custom-functions/language-function-counter.xml + docs/ja/designers/language-custom-functions/language-function-cycle.xml + docs/ja/designers/language-custom-functions/language-function-debug.xml + docs/ja/designers/language-custom-functions/language-function-eval.xml + docs/ja/designers/language-custom-functions/language-function-fetch.xml + docs/ja/designers/language-custom-functions/language-function-html-checkboxes.xml + docs/ja/designers/language-custom-functions/language-function-html-image.xml + docs/ja/designers/language-custom-functions/language-function-html-options.xml + docs/ja/designers/language-custom-functions/language-function-html-radios.xml + docs/ja/designers/language-custom-functions/language-function-html-select-date.xml + docs/ja/designers/language-custom-functions/language-function-html-select-time.xml + docs/ja/designers/language-custom-functions/language-function-html-table.xml + docs/ja/designers/language-custom-functions/language-function-mailto.xml + docs/ja/designers/language-custom-functions/language-function-math.xml + docs/ja/designers/language-custom-functions/language-function-popup-init.xml + docs/ja/designers/language-custom-functions/language-function-popup.xml + docs/ja/designers/language-custom-functions/language-function-textformat.xml + docs/ja/designers/language-modifiers/language-modifier-capitalize.xml + docs/ja/designers/language-modifiers/language-modifier-cat.xml + docs/ja/designers/language-modifiers/language-modifier-count-characters.xml + docs/ja/designers/language-modifiers/language-modifier-count-paragraphs.xml + docs/ja/designers/language-modifiers/language-modifier-count-sentences.xml + docs/ja/designers/language-modifiers/language-modifier-count-words.xml + docs/ja/designers/language-modifiers/language-modifier-date-format.xml + docs/ja/designers/language-modifiers/language-modifier-default.xml + docs/ja/designers/language-modifiers/language-modifier-escape.xml + docs/ja/designers/language-modifiers/language-modifier-indent.xml + docs/ja/designers/language-modifiers/language-modifier-lower.xml + docs/ja/designers/language-modifiers/language-modifier-nl2br.xml + docs/ja/designers/language-modifiers/language-modifier-regex-replace.xml + docs/ja/designers/language-modifiers/language-modifier-replace.xml + docs/ja/designers/language-modifiers/language-modifier-spacify.xml + docs/ja/designers/language-modifiers/language-modifier-string-format.xml + docs/ja/designers/language-modifiers/language-modifier-strip-tags.xml + docs/ja/designers/language-modifiers/language-modifier-strip.xml + docs/ja/designers/language-modifiers/language-modifier-truncate.xml + docs/ja/designers/language-modifiers/language-modifier-upper.xml + docs/ja/designers/language-modifiers/language-modifier-wordwrap.xml + docs/ja/designers/language-variables/language-assigned-variables.xml + docs/ja/designers/language-variables/language-config-variables.xml + docs/ja/designers/language-variables/language-variables-smarty.xml + docs/ja/programmers/advanced-features.xml + docs/ja/programmers/api-functions.xml + docs/ja/programmers/api-variables.xml + docs/ja/programmers/caching.xml + docs/ja/programmers/plugins.xml + docs/ja/programmers/smarty-constants.xml + docs/ja/programmers/advanced-features/advanced-features-objects.xml + docs/ja/programmers/advanced-features/advanced-features-outputfilters.xml + docs/ja/programmers/advanced-features/advanced-features-postfilters.xml + docs/ja/programmers/advanced-features/advanced-features-prefilters.xml + docs/ja/programmers/advanced-features/section-template-cache-handler-func.xml + docs/ja/programmers/advanced-features/template-resources.xml + docs/ja/programmers/api-functions/api-append-by-ref.xml + docs/ja/programmers/api-functions/api-append.xml + docs/ja/programmers/api-functions/api-assign-by-ref.xml + docs/ja/programmers/api-functions/api-assign.xml + docs/ja/programmers/api-functions/api-clear-all-assign.xml + docs/ja/programmers/api-functions/api-clear-all-cache.xml + docs/ja/programmers/api-functions/api-clear-assign.xml + docs/ja/programmers/api-functions/api-clear-cache.xml + docs/ja/programmers/api-functions/api-clear-compiled-tpl.xml + docs/ja/programmers/api-functions/api-clear-config.xml + docs/ja/programmers/api-functions/api-config-load.xml + docs/ja/programmers/api-functions/api-display.xml + docs/ja/programmers/api-functions/api-fetch.xml + docs/ja/programmers/api-functions/api-get-config-vars.xml + docs/ja/programmers/api-functions/api-get-registered-object.xml + docs/ja/programmers/api-functions/api-get-template-vars.xml + docs/ja/programmers/api-functions/api-is-cached.xml + docs/ja/programmers/api-functions/api-load-filter.xml + docs/ja/programmers/api-functions/api-register-block.xml + docs/ja/programmers/api-functions/api-register-compiler-function.xml + docs/ja/programmers/api-functions/api-register-function.xml + docs/ja/programmers/api-functions/api-register-modifier.xml + docs/ja/programmers/api-functions/api-register-object.xml + docs/ja/programmers/api-functions/api-register-outputfilter.xml + docs/ja/programmers/api-functions/api-register-postfilter.xml + docs/ja/programmers/api-functions/api-register-prefilter.xml + docs/ja/programmers/api-functions/api-register-resource.xml + docs/ja/programmers/api-functions/api-template-exists.xml + docs/ja/programmers/api-functions/api-trigger-error.xml + docs/ja/programmers/api-functions/api-unregister-block.xml + docs/ja/programmers/api-functions/api-unregister-compiler-function.xml + docs/ja/programmers/api-functions/api-unregister-function.xml + docs/ja/programmers/api-functions/api-unregister-modifier.xml + docs/ja/programmers/api-functions/api-unregister-object.xml + docs/ja/programmers/api-functions/api-unregister-outputfilter.xml + docs/ja/programmers/api-functions/api-unregister-postfilter.xml + docs/ja/programmers/api-functions/api-unregister-prefilter.xml + docs/ja/programmers/api-functions/api-unregister-resource.xml + docs/ja/programmers/api-variables/variable-autoload-filters.xml + docs/ja/programmers/api-variables/variable-cache-dir.xml + docs/ja/programmers/api-variables/variable-cache-handler-func.xml + docs/ja/programmers/api-variables/variable-cache-lifetime.xml + docs/ja/programmers/api-variables/variable-cache-modified-check.xml + docs/ja/programmers/api-variables/variable-caching.xml + docs/ja/programmers/api-variables/variable-compile-check.xml + docs/ja/programmers/api-variables/variable-compile-dir.xml + docs/ja/programmers/api-variables/variable-compile-id.xml + docs/ja/programmers/api-variables/variable-compiler-class.xml + docs/ja/programmers/api-variables/variable-config-booleanize.xml + docs/ja/programmers/api-variables/variable-config-dir.xml + docs/ja/programmers/api-variables/variable-config-fix-newlines.xml + docs/ja/programmers/api-variables/variable-config-overwrite.xml + docs/ja/programmers/api-variables/variable-config-read-hidden.xml + docs/ja/programmers/api-variables/variable-debug-tpl.xml + docs/ja/programmers/api-variables/variable-debugging-ctrl.xml + docs/ja/programmers/api-variables/variable-debugging.xml + docs/ja/programmers/api-variables/variable-default-modifiers.xml + docs/ja/programmers/api-variables/variable-default-resource-type.xml + docs/ja/programmers/api-variables/variable-default-template-handler-func.xml + docs/ja/programmers/api-variables/variable-error-reporting.xml + docs/ja/programmers/api-variables/variable-force-compile.xml + docs/ja/programmers/api-variables/variable-left-delimiter.xml + docs/ja/programmers/api-variables/variable-php-handling.xml + docs/ja/programmers/api-variables/variable-plugins-dir.xml + docs/ja/programmers/api-variables/variable-request-use-auto-globals.xml + docs/ja/programmers/api-variables/variable-request-vars-order.xml + docs/ja/programmers/api-variables/variable-right-delimiter.xml + docs/ja/programmers/api-variables/variable-secure-dir.xml + docs/ja/programmers/api-variables/variable-security-settings.xml + docs/ja/programmers/api-variables/variable-security.xml + docs/ja/programmers/api-variables/variable-template-dir.xml + docs/ja/programmers/api-variables/variable-trusted-dir.xml + docs/ja/programmers/api-variables/variable-use-sub-dirs.xml + docs/ja/programmers/caching/caching-cacheable.xml + docs/ja/programmers/caching/caching-groups.xml + docs/ja/programmers/caching/caching-multiple-caches.xml + docs/ja/programmers/caching/caching-setting-up.xml + docs/ja/programmers/plugins/plugins-block-functions.xml + docs/ja/programmers/plugins/plugins-compiler-functions.xml + docs/ja/programmers/plugins/plugins-functions.xml + docs/ja/programmers/plugins/plugins-howto.xml + docs/ja/programmers/plugins/plugins-inserts.xml + docs/ja/programmers/plugins/plugins-modifiers.xml + docs/ja/programmers/plugins/plugins-naming-conventions.xml + docs/ja/programmers/plugins/plugins-outputfilters.xml + docs/ja/programmers/plugins/plugins-prefilters-postfilters.xml + docs/ja/programmers/plugins/plugins-resources.xml + docs/ja/programmers/plugins/plugins-writing.xml: + added Japanese translation files. + + * docs/Makefile.in + docs/configure.in: + added the configuration for Japanese translation. + +2007-04-11 Messju Mohr + + * docs/en/programmers/smarty-constants.xml: + fixed typo + +2007-04-04 Messju Mohr + + * docs/ru/getting-started.xml: + fixed uri for Zend Accelerator + +2007-04-03 Messju Mohr + + * docs/de/getting-started.xml + docs/es/getting-started.xml + docs/it/getting-started.xml + docs/pt_BR/getting-started.xml: + fixed uris for php-accelerator + +2007-03-08 Monte Ohrt + + * libs/Config_File.class.php + libs/Smarty.class.php + libs/Smarty_Compiler.class.php: + update version numbers + +2007-03-07 Monte Ohrt + + * (Smarty_2_6_18) + NEWS: + update NEWS file with patch + + * (Smarty_2_6_18) + docs/en/designers/language-builtin-functions/language-function-section.xml: + note the fact that section loop will accept an integer + +2007-03-06 Monte Ohrt + + * NEWS + libs/plugins/function.html_select_date.php: + fix html_select_date separator when parts are missing (thanks to kayk for + the patch) + +2007-03-06 Messju Mohr + + * libs/Config_File.class.php + libs/Smarty.class.php + libs/Smarty_Compiler.class.php: + bumped version number + + * NEWS: + added release headline + + * libs/internals/core.write_compiled_include.php: + fixed detection of non-cached block when writing compiled includes + +2007-03-01 Danilo Buerger + + * NEWS + libs/Smarty_Compiler.class.php: + Applied boots clean up patch and removed commented out code. + Updated NEWS file + +2007-02-27 Danilo Buerger + + * NEWS + docs/en/designers/language-modifiers/language-modifier-date-format.xml + libs/internals/core.write_file.php + libs/plugins/modifier.date_format.php: + Updated smarty_core_write_file() and smarty_modifier_date_format() to speed + up Windows detection. + Emulated more parameters for Windows in smarty_modifier_date_format() and + fixed some old ones. + Updated the docs to tell what parameters are emulated on Windows. + Updated NEWS file. + + * NEWS: + Updated NEWS file to reflect changes commited in the last revision + +2007-02-27 Monte Ohrt + + * docs/en/appendixes/troubleshooting.xml: + fix typo + +2007-02-27 Danilo Buerger + + * libs/Smarty_Compiler.class.php: + Modified _(push|pop)_cacheable_state() to embedd alternate syntax. See this + bug report: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=10502 + +2007-02-26 Peter 'Mash' Morgan + + * docs/en/designers/language-custom-functions/language-function-html-options.xml: + Fix incorrect var name + +2007-02-23 Monte Ohrt + + * libs/Smarty_Compiler.class.php: + escape creating of language=php from interleaving + + * libs/Smarty_Compiler.class.php: + add removed line back in + + * libs/Smarty_Compiler.class.php: + fix up last patch, remove unnecessary lines + + * libs/Smarty_Compiler.class.php: + fix situation when no compiled tags are present + + * libs/Smarty_Compiler.class.php: + fix problem with php open tags generated from tag interleaving + +2007-02-06 boots + + * docs/en/programmers/advanced-features/template-resources.xml: + Correct default template handler function example. + +2007-01-17 Messju Mohr + + * NEWS + libs/plugins/modifier.truncate.php: + fixed handling of $etc in the truncate modifier when $etc is longer + than $length. + + thanks to Sylvinus! + +2007-01-10 boots + + * NEWS + libs/plugins/modifier.date_format.php + libs/plugins/modifier.date_format.php: + fix handling of %I with mysql timestamps + + Thanks to Danilo Buerger + + * NEWS + libs/internals/core.write_file.php: + Better recognize Windows filesystems to reduce warnings + + * NEWS + libs/plugins/modifier.date_format.php: + Emulate %R in the date_format modifier on Windows + + Thanks to Danilo Buerger + +2006-12-10 Yannick Torres + + * docs/fr/getting-started.xml: + fix build + + * docs/fr/language-snippets.ent + docs/fr/designers/language-builtin-functions/language-function-include-php.xml + docs/fr/designers/language-modifiers/language-modifier-truncate.xml + docs/fr/designers/language-variables/language-variables-smarty.xml: + sync with EN + +2006-12-02 Peter 'Mash' Morgan + + * docs/en/designers/language-builtin-functions/language-function-include-php.xml: + Tidy example, speeling andd add links + + * docs/en/getting-started.xml: + Add/correct entities + + * docs/entities/global.ent: + Fix entities (strange) + +2006-12-01 Monte Ohrt + + * libs/Config_File.class.php + libs/Smarty.class.php + libs/Smarty_Compiler.class.php: + update dev version numbers + +2006-12-01 boots + + * (Smarty_2_6_16) + NEWS: + Fixed replacement bug introduced in trimwhitespaces output filter that + was introduced in the last release. + + Thanks to Spuerhund from the forums. + + * (Smarty_2_6_16) + libs/plugins/outputfilter.trimwhitespace.php: + Fixed replacement bug introduced by last changes. + + Thanks to Spuerhund from the forums. + +2006-11-30 Monte Ohrt + + * NEWS + docs/en/designers/language-modifiers/language-modifier-truncate.xml + libs/Config_File.class.php + libs/Smarty.class.php + libs/Smarty_Compiler.class.php: + update dev version numbers, fix manual typo + +2006-11-22 George Miroshnikov + + * docs/ru/getting-started.xml + docs/ru/language-snippets.ent: + sync with EN + + * docs/en/getting-started.xml: + replaced hardcoded path separator with PATH_SEPARATOR constant + +2006-11-20 boots + + * libs/plugins/modifier.debug_print_var.php: + fix depth formatting of arrays and objects in modifier debug_print_var + +2006-11-10 Messju Mohr + + * docs/en/designers/language-variables/language-variables-smarty.xml: + fixed typo. thanks jonez. + +2006-11-08 boots + + * NEWS + libs/internals/core.write_file.php: + change file writing semantics in smarty_core_write_file() + + This avoids unlink() unless rename() fails or a Windows system is detected + + see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=6956 + + Thanks to c960657 from the forums. + +2006-11-07 boots + + * NEWS + libs/debug.tpl: + update debug.tpl to xhtml 1.1 compliance, fix javascript escaping in debug + output and apply a Smarty based color scheme + + see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=7178 + + thanks to cybot from the forums! + + * NEWS + libs/plugins/modifier.debug_print_var.php: + enhance reporting precision of debug_print_var modifier + + see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=9281 + + thanks to cybot from the forums + +2006-11-01 boots + + * NEWS + libs/plugins/function.html_select_date.php: + make html_select_date work consistently with 0000-00-00 00:00:00 and + 0000-00-00 inputs + + Thanks to cybot from forums + +2006-10-16 George Miroshnikov + + * docs/en/language-snippets.ent: + minor typo fix - &$class doesn't make sense. + +2006-10-14 Yannick Torres + + * docs/fr/designers/language-basic-syntax.xml + docs/fr/designers/language-builtin-functions.xml + docs/fr/designers/language-basic-syntax/language-syntax-attributes.xml + docs/fr/designers/language-basic-syntax/language-syntax-comments.xml + docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml + docs/fr/designers/language-builtin-functions/language-function-capture.xml + docs/fr/designers/language-builtin-functions/language-function-php.xml + docs/fr/designers/language-builtin-functions/language-function-section.xml + docs/fr/designers/language-custom-functions/language-function-popup-init.xml + docs/fr/designers/language-modifiers/language-modifier-escape.xml + docs/fr/programmers/api-functions/api-display.xml + docs/fr/programmers/plugins/plugins-inserts.xml: + sync with EN + +2006-10-14 Fernando Correa da Conceição + + * docs/pt_BR/programmers/api-variables/variable-error-reporting.xml: + New Translation + + * docs/pt_BR/designers/language-basic-syntax/language-escaping.xml + docs/pt_BR/designers/language-basic-syntax/language-syntax-variables.xml: + New Translations + + * docs/pt_BR/translation.xml: + Used in revcheck + + * docs/pt_BR/getting-started.xml + docs/pt_BR/language-snippets.ent + docs/pt_BR/make_chm_index.html + docs/pt_BR/preface.xml + docs/pt_BR/appendixes/resources.xml + docs/pt_BR/appendixes/troubleshooting.xml + docs/pt_BR/designers/language-modifiers/language-modifier-capitalize.xml + docs/pt_BR/designers/language-modifiers/language-modifier-cat.xml + docs/pt_BR/designers/language-modifiers/language-modifier-count-characters.xml + docs/pt_BR/designers/language-modifiers/language-modifier-count-paragraphs.xml + docs/pt_BR/designers/language-modifiers/language-modifier-count-sentences.xml + docs/pt_BR/designers/language-modifiers/language-modifier-count-words.xml + docs/pt_BR/designers/language-modifiers/language-modifier-date-format.xml + docs/pt_BR/designers/language-modifiers/language-modifier-default.xml + docs/pt_BR/designers/language-modifiers/language-modifier-escape.xml + docs/pt_BR/designers/language-modifiers/language-modifier-indent.xml + docs/pt_BR/designers/language-modifiers/language-modifier-lower.xml + docs/pt_BR/designers/language-modifiers/language-modifier-nl2br.xml + docs/pt_BR/designers/language-modifiers/language-modifier-regex-replace.xml + docs/pt_BR/designers/language-modifiers/language-modifier-replace.xml + docs/pt_BR/designers/language-modifiers/language-modifier-spacify.xml + docs/pt_BR/designers/language-modifiers/language-modifier-string-format.xml + docs/pt_BR/designers/language-modifiers/language-modifier-strip-tags.xml + docs/pt_BR/designers/language-modifiers/language-modifier-strip.xml + docs/pt_BR/designers/language-modifiers/language-modifier-truncate.xml + docs/pt_BR/designers/language-modifiers/language-modifier-upper.xml + docs/pt_BR/designers/language-modifiers/language-modifier-wordwrap.xml + docs/pt_BR/designers/language-variables/language-assigned-variables.xml + docs/pt_BR/designers/language-variables/language-config-variables.xml + docs/pt_BR/designers/language-variables/language-variables-smarty.xml + docs/pt_BR/programmers/advanced-features.xml + docs/pt_BR/programmers/api-functions.xml + docs/pt_BR/programmers/api-variables.xml + docs/pt_BR/programmers/caching.xml + docs/pt_BR/programmers/plugins.xml + docs/pt_BR/programmers/smarty-constants.xml + docs/pt_BR/programmers/advanced-features/advanced-features-objects.xml + docs/pt_BR/programmers/advanced-features/advanced-features-outputfilters.xml + docs/pt_BR/programmers/advanced-features/advanced-features-postfilters.xml + docs/pt_BR/programmers/advanced-features/advanced-features-prefilters.xml + docs/pt_BR/programmers/advanced-features/section-template-cache-handler-func.xml + docs/pt_BR/programmers/advanced-features/template-resources.xml + docs/pt_BR/programmers/api-functions/api-append-by-ref.xml + docs/pt_BR/programmers/api-functions/api-append.xml + docs/pt_BR/programmers/api-functions/api-assign-by-ref.xml + docs/pt_BR/programmers/api-functions/api-assign.xml + docs/pt_BR/programmers/api-functions/api-clear-all-assign.xml + docs/pt_BR/programmers/api-functions/api-clear-all-cache.xml + docs/pt_BR/programmers/api-functions/api-clear-assign.xml + docs/pt_BR/programmers/api-functions/api-clear-cache.xml + docs/pt_BR/programmers/api-functions/api-clear-compiled-tpl.xml + docs/pt_BR/programmers/api-functions/api-clear-config.xml + docs/pt_BR/programmers/api-functions/api-config-load.xml + docs/pt_BR/programmers/api-functions/api-display.xml + docs/pt_BR/programmers/api-functions/api-fetch.xml + docs/pt_BR/programmers/api-functions/api-get-config-vars.xml + docs/pt_BR/programmers/api-functions/api-get-registered-object.xml + docs/pt_BR/programmers/api-functions/api-get-template-vars.xml + docs/pt_BR/programmers/api-functions/api-is-cached.xml + docs/pt_BR/programmers/api-functions/api-load-filter.xml + docs/pt_BR/programmers/api-functions/api-register-block.xml + docs/pt_BR/programmers/api-functions/api-register-compiler-function.xml + docs/pt_BR/programmers/api-functions/api-register-function.xml + docs/pt_BR/programmers/api-functions/api-register-modifier.xml + docs/pt_BR/programmers/api-functions/api-register-object.xml + docs/pt_BR/programmers/api-functions/api-register-outputfilter.xml + docs/pt_BR/programmers/api-functions/api-register-postfilter.xml + docs/pt_BR/programmers/api-functions/api-register-prefilter.xml + docs/pt_BR/programmers/api-functions/api-register-resource.xml + docs/pt_BR/programmers/api-functions/api-template-exists.xml + docs/pt_BR/programmers/api-functions/api-trigger-error.xml + docs/pt_BR/programmers/api-functions/api-unregister-block.xml + docs/pt_BR/programmers/api-functions/api-unregister-compiler-function.xml + docs/pt_BR/programmers/api-functions/api-unregister-function.xml + docs/pt_BR/programmers/api-functions/api-unregister-modifier.xml + docs/pt_BR/programmers/api-functions/api-unregister-object.xml + docs/pt_BR/programmers/api-functions/api-unregister-outputfilter.xml + docs/pt_BR/programmers/api-functions/api-unregister-postfilter.xml + docs/pt_BR/programmers/api-functions/api-unregister-prefilter.xml + docs/pt_BR/programmers/api-functions/api-unregister-resource.xml + docs/pt_BR/programmers/api-variables/variable-autoload-filters.xml + docs/pt_BR/programmers/api-variables/variable-cache-dir.xml + docs/pt_BR/programmers/api-variables/variable-cache-handler-func.xml + docs/pt_BR/programmers/api-variables/variable-cache-lifetime.xml + docs/pt_BR/programmers/api-variables/variable-cache-modified-check.xml + docs/pt_BR/programmers/api-variables/variable-caching.xml + docs/pt_BR/programmers/api-variables/variable-compile-check.xml + docs/pt_BR/programmers/api-variables/variable-compile-dir.xml + docs/pt_BR/programmers/api-variables/variable-compile-id.xml + docs/pt_BR/programmers/api-variables/variable-compiler-class.xml + docs/pt_BR/programmers/api-variables/variable-config-booleanize.xml + docs/pt_BR/programmers/api-variables/variable-config-dir.xml + docs/pt_BR/programmers/api-variables/variable-config-fix-newlines.xml + docs/pt_BR/programmers/api-variables/variable-config-overwrite.xml + docs/pt_BR/programmers/api-variables/variable-config-read-hidden.xml + docs/pt_BR/programmers/api-variables/variable-debug-tpl.xml + docs/pt_BR/programmers/api-variables/variable-debugging-ctrl.xml + docs/pt_BR/programmers/api-variables/variable-debugging.xml + docs/pt_BR/programmers/api-variables/variable-default-modifiers.xml + docs/pt_BR/programmers/api-variables/variable-default-resource-type.xml + docs/pt_BR/programmers/api-variables/variable-default-template-handler-func.xml + docs/pt_BR/programmers/api-variables/variable-force-compile.xml + docs/pt_BR/programmers/api-variables/variable-global-assign.xml + docs/pt_BR/programmers/api-variables/variable-left-delimiter.xml + docs/pt_BR/programmers/api-variables/variable-php-handling.xml + docs/pt_BR/programmers/api-variables/variable-plugins-dir.xml + docs/pt_BR/programmers/api-variables/variable-request-use-auto-globals.xml + docs/pt_BR/programmers/api-variables/variable-request-vars-order.xml + docs/pt_BR/programmers/api-variables/variable-right-delimiter.xml + docs/pt_BR/programmers/api-variables/variable-secure-dir.xml + docs/pt_BR/programmers/api-variables/variable-security-settings.xml + docs/pt_BR/programmers/api-variables/variable-security.xml + docs/pt_BR/programmers/api-variables/variable-template-dir.xml + docs/pt_BR/programmers/api-variables/variable-trusted-dir.xml + docs/pt_BR/programmers/api-variables/variable-undefined.xml + docs/pt_BR/programmers/api-variables/variable-use-sub-dirs.xml + docs/pt_BR/programmers/caching/caching-cacheable.xml + docs/pt_BR/programmers/caching/caching-groups.xml + docs/pt_BR/programmers/caching/caching-multiple-caches.xml + docs/pt_BR/programmers/caching/caching-setting-up.xml + docs/pt_BR/programmers/plugins/plugins-block-functions.xml + docs/pt_BR/programmers/plugins/plugins-compiler-functions.xml + docs/pt_BR/programmers/plugins/plugins-functions.xml + docs/pt_BR/programmers/plugins/plugins-howto.xml + docs/pt_BR/programmers/plugins/plugins-inserts.xml + docs/pt_BR/programmers/plugins/plugins-modifiers.xml + docs/pt_BR/programmers/plugins/plugins-naming-conventions.xml + docs/pt_BR/programmers/plugins/plugins-outputfilters.xml + docs/pt_BR/programmers/plugins/plugins-prefilters-postfilters.xml + docs/pt_BR/programmers/plugins/plugins-resources.xml + docs/pt_BR/programmers/plugins/plugins-writing.xml: + Big update. Revision tag for all files. Some updates. Now I can update it + +2006-10-09 Peter 'Mash' Morgan + + * docs/en/getting-started.xml + docs/en/designers/language-basic-syntax.xml + docs/en/designers/language-custom-functions/language-function-popup-init.xml + docs/en/designers/language-modifiers/language-modifier-escape.xml + docs/en/programmers/api-functions/api-display.xml + docs/en/programmers/plugins/plugins-inserts.xml: + Minor changes and corrections + + * docs/en/designers/language-basic-syntax.xml + docs/en/designers/language-builtin-functions.xml + docs/en/designers/language-basic-syntax/language-syntax-attributes.xml + docs/en/designers/language-basic-syntax/language-syntax-comments.xml + docs/en/designers/language-basic-syntax/language-syntax-quotes.xml + docs/en/designers/language-modifiers/language-modifier-escape.xml: + Minor formatting and error correction + + * docs/en/designers/language-builtin-functions/language-function-capture.xml + docs/en/designers/language-builtin-functions/language-function-php.xml + docs/en/designers/language-builtin-functions/language-function-section.xml: + minor formatting and changes + + * docs/en/getting-started.xml: + Tidied up formatting so more readable, tidied up the install to the paths + are more clear (ta jj) + +2006-10-09 Yannick Torres + + * docs/fr/designers/language-builtin-functions/language-function-section.xml: + sync with EN + +2006-10-08 Yannick Torres + + * docs/fr/designers/language-builtin-functions/language-function-php.xml + docs/fr/designers/language-modifiers/language-modifier-escape.xml + docs/fr/designers/language-variables/language-variables-smarty.xml + docs/fr/programmers/api-variables/variable-request-use-auto-globals.xml: + fix build + + * docs/fr/designers/language-builtin-functions/language-function-strip.xml + docs/fr/programmers/caching.xml + docs/fr/programmers/smarty-constants.xml + docs/fr/programmers/api-variables/variable-autoload-filters.xml + docs/fr/programmers/api-variables/variable-cache-dir.xml + docs/fr/programmers/api-variables/variable-cache-handler-func.xml + docs/fr/programmers/api-variables/variable-cache-lifetime.xml + docs/fr/programmers/api-variables/variable-cache-modified-check.xml + docs/fr/programmers/api-variables/variable-caching.xml + docs/fr/programmers/api-variables/variable-compile-check.xml + docs/fr/programmers/api-variables/variable-compile-dir.xml + docs/fr/programmers/api-variables/variable-compile-id.xml + docs/fr/programmers/api-variables/variable-compiler-class.xml + docs/fr/programmers/api-variables/variable-config-booleanize.xml + docs/fr/programmers/api-variables/variable-config-dir.xml + docs/fr/programmers/api-variables/variable-config-fix-newlines.xml + docs/fr/programmers/api-variables/variable-config-overwrite.xml + docs/fr/programmers/api-variables/variable-config-read-hidden.xml + docs/fr/programmers/api-variables/variable-debug-tpl.xml + docs/fr/programmers/api-variables/variable-debugging-ctrl.xml + docs/fr/programmers/api-variables/variable-debugging.xml + docs/fr/programmers/api-variables/variable-default-modifiers.xml + docs/fr/programmers/api-variables/variable-default-resource-type.xml + docs/fr/programmers/api-variables/variable-default-template-handler-func.xml + docs/fr/programmers/api-variables/variable-error-reporting.xml + docs/fr/programmers/api-variables/variable-force-compile.xml + docs/fr/programmers/api-variables/variable-left-delimiter.xml + docs/fr/programmers/api-variables/variable-php-handling.xml + docs/fr/programmers/api-variables/variable-plugins-dir.xml + docs/fr/programmers/api-variables/variable-request-use-auto-globals.xml + docs/fr/programmers/api-variables/variable-request-vars-order.xml + docs/fr/programmers/api-variables/variable-right-delimiter.xml + docs/fr/programmers/api-variables/variable-secure-dir.xml + docs/fr/programmers/api-variables/variable-security-settings.xml + docs/fr/programmers/api-variables/variable-security.xml + docs/fr/programmers/api-variables/variable-template-dir.xml + docs/fr/programmers/api-variables/variable-trusted-dir.xml + docs/fr/programmers/api-variables/variable-use-sub-dirs.xml + docs/fr/programmers/caching/caching-cacheable.xml + docs/fr/programmers/caching/caching-groups.xml + docs/fr/programmers/caching/caching-multiple-caches.xml + docs/fr/programmers/caching/caching-setting-up.xml + docs/fr/programmers/plugins/plugins-block-functions.xml + docs/fr/programmers/plugins/plugins-compiler-functions.xml + docs/fr/programmers/plugins/plugins-functions.xml + docs/fr/programmers/plugins/plugins-inserts.xml + docs/fr/programmers/plugins/plugins-modifiers.xml + docs/fr/programmers/plugins/plugins-naming-conventions.xml + docs/fr/programmers/plugins/plugins-outputfilters.xml + docs/fr/programmers/plugins/plugins-prefilters-postfilters.xml + docs/fr/programmers/plugins/plugins-resources.xml + docs/fr/programmers/plugins/plugins-writing.xml: + sync with EN + +2006-10-07 Yannick Torres + + * docs/fr/programmers/advanced-features/advanced-features-objects.xml + docs/fr/programmers/advanced-features/advanced-features-outputfilters.xml + docs/fr/programmers/advanced-features/advanced-features-postfilters.xml + docs/fr/programmers/advanced-features/advanced-features-prefilters.xml + docs/fr/programmers/advanced-features/section-template-cache-handler-func.xml + docs/fr/programmers/advanced-features/template-resources.xml + docs/fr/programmers/api-functions/api-append-by-ref.xml + docs/fr/programmers/api-functions/api-append.xml + docs/fr/programmers/api-functions/api-assign-by-ref.xml + docs/fr/programmers/api-functions/api-assign.xml + docs/fr/programmers/api-functions/api-clear-all-assign.xml + docs/fr/programmers/api-functions/api-clear-all-cache.xml + docs/fr/programmers/api-functions/api-clear-assign.xml + docs/fr/programmers/api-functions/api-clear-cache.xml + docs/fr/programmers/api-functions/api-clear-compiled-tpl.xml + docs/fr/programmers/api-functions/api-clear-config.xml + docs/fr/programmers/api-functions/api-config-load.xml + docs/fr/programmers/api-functions/api-display.xml + docs/fr/programmers/api-functions/api-fetch.xml + docs/fr/programmers/api-functions/api-get-config-vars.xml + docs/fr/programmers/api-functions/api-get-registered-object.xml + docs/fr/programmers/api-functions/api-get-template-vars.xml + docs/fr/programmers/api-functions/api-is-cached.xml + docs/fr/programmers/api-functions/api-load-filter.xml + docs/fr/programmers/api-functions/api-register-block.xml + docs/fr/programmers/api-functions/api-register-compiler-function.xml + docs/fr/programmers/api-functions/api-register-function.xml + docs/fr/programmers/api-functions/api-register-modifier.xml + docs/fr/programmers/api-functions/api-register-object.xml + docs/fr/programmers/api-functions/api-register-outputfilter.xml + docs/fr/programmers/api-functions/api-register-postfilter.xml + docs/fr/programmers/api-functions/api-register-prefilter.xml + docs/fr/programmers/api-functions/api-register-resource.xml + docs/fr/programmers/api-functions/api-template-exists.xml + docs/fr/programmers/api-functions/api-trigger-error.xml + docs/fr/programmers/api-functions/api-unregister-block.xml + docs/fr/programmers/api-functions/api-unregister-compiler-function.xml + docs/fr/programmers/api-functions/api-unregister-function.xml + docs/fr/programmers/api-functions/api-unregister-modifier.xml + docs/fr/programmers/api-functions/api-unregister-object.xml + docs/fr/programmers/api-functions/api-unregister-outputfilter.xml + docs/fr/programmers/api-functions/api-unregister-postfilter.xml + docs/fr/programmers/api-functions/api-unregister-prefilter.xml + docs/fr/programmers/api-functions/api-unregister-resource.xml: + sync with EN + +2006-10-03 Yannick Torres + + * docs/fr/designers/language-custom-functions/language-function-html-select-time.xml + docs/fr/designers/language-custom-functions/language-function-html-table.xml + docs/fr/designers/language-custom-functions/language-function-mailto.xml + docs/fr/designers/language-custom-functions/language-function-math.xml + docs/fr/designers/language-custom-functions/language-function-popup-init.xml + docs/fr/designers/language-custom-functions/language-function-popup.xml + docs/fr/designers/language-custom-functions/language-function-textformat.xml + docs/fr/designers/language-modifiers/language-modifier-capitalize.xml + docs/fr/designers/language-modifiers/language-modifier-cat.xml + docs/fr/designers/language-modifiers/language-modifier-count-characters.xml + docs/fr/designers/language-modifiers/language-modifier-count-paragraphs.xml + docs/fr/designers/language-modifiers/language-modifier-count-sentences.xml + docs/fr/designers/language-modifiers/language-modifier-count-words.xml + docs/fr/designers/language-modifiers/language-modifier-date-format.xml + docs/fr/designers/language-modifiers/language-modifier-default.xml + docs/fr/designers/language-modifiers/language-modifier-escape.xml + docs/fr/designers/language-modifiers/language-modifier-indent.xml + docs/fr/designers/language-modifiers/language-modifier-lower.xml + docs/fr/designers/language-modifiers/language-modifier-nl2br.xml + docs/fr/designers/language-modifiers/language-modifier-regex-replace.xml + docs/fr/designers/language-modifiers/language-modifier-replace.xml + docs/fr/designers/language-modifiers/language-modifier-spacify.xml + docs/fr/designers/language-modifiers/language-modifier-string-format.xml + docs/fr/designers/language-modifiers/language-modifier-strip-tags.xml + docs/fr/designers/language-modifiers/language-modifier-strip.xml + docs/fr/designers/language-modifiers/language-modifier-truncate.xml + docs/fr/designers/language-modifiers/language-modifier-upper.xml + docs/fr/designers/language-modifiers/language-modifier-wordwrap.xml + docs/fr/designers/language-variables/language-assigned-variables.xml + docs/fr/designers/language-variables/language-config-variables.xml + docs/fr/designers/language-variables/language-variables-smarty.xml: + sync with EN + +2006-10-01 Yannick Torres + + * docs/fr/designers/language-builtin-functions/language-function-include-php.xml + docs/fr/designers/language-builtin-functions/language-function-include.xml + docs/fr/designers/language-builtin-functions/language-function-insert.xml + docs/fr/designers/language-builtin-functions/language-function-ldelim.xml + docs/fr/designers/language-builtin-functions/language-function-literal.xml + docs/fr/designers/language-builtin-functions/language-function-php.xml + docs/fr/designers/language-custom-functions/language-function-assign.xml + docs/fr/designers/language-custom-functions/language-function-counter.xml + docs/fr/designers/language-custom-functions/language-function-cycle.xml + docs/fr/designers/language-custom-functions/language-function-debug.xml + docs/fr/designers/language-custom-functions/language-function-eval.xml + docs/fr/designers/language-custom-functions/language-function-fetch.xml + docs/fr/designers/language-custom-functions/language-function-html-checkboxes.xml + docs/fr/designers/language-custom-functions/language-function-html-image.xml + docs/fr/designers/language-custom-functions/language-function-html-options.xml + docs/fr/designers/language-custom-functions/language-function-html-radios.xml + docs/fr/designers/language-custom-functions/language-function-html-select-date.xml: + sync with EN + +2006-09-30 Yannick Torres + + * docs/fr/getting-started.xml: + fix build + + * docs/fr/designers/chapter-debugging-console.xml + docs/fr/designers/config-files.xml + docs/fr/designers/language-builtin-functions.xml + docs/fr/designers/language-modifiers.xml + docs/fr/designers/language-variables.xml + docs/fr/designers/language-basic-syntax/language-escaping.xml + docs/fr/designers/language-basic-syntax/language-math.xml + docs/fr/designers/language-basic-syntax/language-syntax-comments.xml + docs/fr/designers/language-basic-syntax/language-syntax-functions.xml + docs/fr/designers/language-basic-syntax/language-syntax-quotes.xml + docs/fr/designers/language-basic-syntax/language-syntax-variables.xml + docs/fr/designers/language-builtin-functions/language-function-capture.xml + docs/fr/designers/language-builtin-functions/language-function-config-load.xml + docs/fr/designers/language-builtin-functions/language-function-foreach.xml + docs/fr/designers/language-builtin-functions/language-function-if.xml: + sync with EN + + * docs/fr/getting-started.xml + docs/fr/language-snippets.ent + docs/fr/appendixes/resources.xml + docs/fr/appendixes/tips.xml + docs/fr/appendixes/troubleshooting.xml: + sync with EN + +2006-09-27 Peter 'Mash' Morgan + + * docs/en/designers/language-builtin-functions/language-function-section.xml: + Minor tweaks and corrections + + * docs/en/getting-started.xml + docs/en/designers/chapter-debugging-console.xml + docs/en/designers/language-basic-syntax/language-syntax-comments.xml + docs/en/designers/language-custom-functions/language-function-html-image.xml + docs/en/designers/language-custom-functions/language-function-html-options.xml + docs/en/designers/language-custom-functions/language-function-html-radios.xml + docs/en/designers/language-custom-functions/language-function-html-select-date.xml + docs/en/designers/language-custom-functions/language-function-html-select-time.xml + docs/en/designers/language-custom-functions/language-function-html-table.xml + docs/en/designers/language-custom-functions/language-function-mailto.xml + docs/en/designers/language-custom-functions/language-function-popup-init.xml + docs/en/designers/language-custom-functions/language-function-textformat.xml + docs/en/designers/language-variables/language-config-variables.xml + docs/en/designers/language-variables/language-variables-smarty.xml: + Add literal tags to html, general formatting + + * docs/en/getting-started.xml + docs/en/appendixes/resources.xml + docs/en/appendixes/tips.xml + docs/en/appendixes/troubleshooting.xml + docs/en/designers/config-files.xml + docs/en/programmers/caching.xml + docs/en/programmers/smarty-constants.xml + docs/en/programmers/advanced-features/advanced-features-objects.xml + docs/en/programmers/advanced-features/advanced-features-outputfilters.xml + docs/en/programmers/advanced-features/advanced-features-postfilters.xml + docs/en/programmers/advanced-features/advanced-features-prefilters.xml + docs/en/programmers/advanced-features/section-template-cache-handler-func.xml + docs/en/programmers/advanced-features/template-resources.xml + docs/en/programmers/api-variables/variable-autoload-filters.xml + docs/en/programmers/api-variables/variable-cache-dir.xml + docs/en/programmers/api-variables/variable-cache-handler-func.xml + docs/en/programmers/api-variables/variable-cache-lifetime.xml + docs/en/programmers/api-variables/variable-cache-modified-check.xml + docs/en/programmers/api-variables/variable-caching.xml + docs/en/programmers/api-variables/variable-compile-check.xml + docs/en/programmers/api-variables/variable-compile-dir.xml + docs/en/programmers/api-variables/variable-compile-id.xml + docs/en/programmers/api-variables/variable-config-booleanize.xml + docs/en/programmers/api-variables/variable-config-dir.xml + docs/en/programmers/api-variables/variable-config-fix-newlines.xml + docs/en/programmers/api-variables/variable-config-overwrite.xml + docs/en/programmers/api-variables/variable-config-read-hidden.xml + docs/en/programmers/api-variables/variable-debug-tpl.xml + docs/en/programmers/api-variables/variable-debugging-ctrl.xml + docs/en/programmers/api-variables/variable-debugging.xml + docs/en/programmers/api-variables/variable-default-modifiers.xml + docs/en/programmers/api-variables/variable-default-resource-type.xml + docs/en/programmers/api-variables/variable-error-reporting.xml + docs/en/programmers/api-variables/variable-force-compile.xml + docs/en/programmers/api-variables/variable-left-delimiter.xml + docs/en/programmers/api-variables/variable-php-handling.xml + docs/en/programmers/api-variables/variable-plugins-dir.xml + docs/en/programmers/api-variables/variable-request-use-auto-globals.xml + docs/en/programmers/api-variables/variable-request-vars-order.xml + docs/en/programmers/api-variables/variable-right-delimiter.xml + docs/en/programmers/api-variables/variable-secure-dir.xml + docs/en/programmers/api-variables/variable-security-settings.xml + docs/en/programmers/api-variables/variable-security.xml + docs/en/programmers/api-variables/variable-template-dir.xml + docs/en/programmers/api-variables/variable-trusted-dir.xml + docs/en/programmers/api-variables/variable-use-sub-dirs.xml + docs/en/programmers/caching/caching-cacheable.xml + docs/en/programmers/caching/caching-groups.xml + docs/en/programmers/caching/caching-multiple-caches.xml + docs/en/programmers/caching/caching-setting-up.xml: + Tidy up of formatting + + * docs/entities/global.ent: + Adding some more resources + + * docs/en/programmers/plugins/plugins-block-functions.xml + docs/en/programmers/plugins/plugins-compiler-functions.xml + docs/en/programmers/plugins/plugins-functions.xml + docs/en/programmers/plugins/plugins-inserts.xml + docs/en/programmers/plugins/plugins-modifiers.xml + docs/en/programmers/plugins/plugins-naming-conventions.xml + docs/en/programmers/plugins/plugins-outputfilters.xml + docs/en/programmers/plugins/plugins-prefilters-postfilters.xml + docs/en/programmers/plugins/plugins-resources.xml + docs/en/programmers/plugins/plugins-writing.xml: + Tidy up some formatting + +2006-09-26 Peter 'Mash' Morgan + + * docs/en/programmers/api-functions/api-append-by-ref.xml + docs/en/programmers/api-functions/api-append.xml + docs/en/programmers/api-functions/api-assign-by-ref.xml + docs/en/programmers/api-functions/api-assign.xml + docs/en/programmers/api-functions/api-clear-all-assign.xml + docs/en/programmers/api-functions/api-clear-all-cache.xml + docs/en/programmers/api-functions/api-clear-assign.xml + docs/en/programmers/api-functions/api-clear-cache.xml + docs/en/programmers/api-functions/api-clear-compiled-tpl.xml + docs/en/programmers/api-functions/api-clear-config.xml + docs/en/programmers/api-functions/api-config-load.xml + docs/en/programmers/api-functions/api-display.xml + docs/en/programmers/api-functions/api-fetch.xml + docs/en/programmers/api-functions/api-get-config-vars.xml + docs/en/programmers/api-functions/api-get-registered-object.xml + docs/en/programmers/api-functions/api-get-template-vars.xml + docs/en/programmers/api-functions/api-is-cached.xml + docs/en/programmers/api-functions/api-load-filter.xml + docs/en/programmers/api-functions/api-register-block.xml + docs/en/programmers/api-functions/api-register-compiler-function.xml + docs/en/programmers/api-functions/api-register-function.xml + docs/en/programmers/api-functions/api-register-modifier.xml + docs/en/programmers/api-functions/api-register-object.xml + docs/en/programmers/api-functions/api-register-outputfilter.xml + docs/en/programmers/api-functions/api-register-postfilter.xml + docs/en/programmers/api-functions/api-register-prefilter.xml + docs/en/programmers/api-functions/api-register-resource.xml + docs/en/programmers/api-functions/api-template-exists.xml + docs/en/programmers/api-functions/api-trigger-error.xml + docs/en/programmers/api-functions/api-unregister-block.xml + docs/en/programmers/api-functions/api-unregister-compiler-function.xml + docs/en/programmers/api-functions/api-unregister-function.xml + docs/en/programmers/api-functions/api-unregister-modifier.xml + docs/en/programmers/api-functions/api-unregister-object.xml + docs/en/programmers/api-functions/api-unregister-outputfilter.xml + docs/en/programmers/api-functions/api-unregister-postfilter.xml + docs/en/programmers/api-functions/api-unregister-prefilter.xml + docs/en/programmers/api-functions/api-unregister-resource.xml: + Tidy up formatting and examples + + * docs/en/language-snippets.ent: + Moved recurring para for register_* + + * docs/en/designers/language-modifiers.xml: + Spelling on modifiers + + * docs/en/designers/language-builtin-functions.xml + docs/en/designers/language-modifiers.xml + docs/en/designers/language-custom-functions/language-function-html-options.xml + docs/en/designers/language-modifiers/language-modifier-capitalize.xml + docs/en/designers/language-modifiers/language-modifier-cat.xml + docs/en/designers/language-modifiers/language-modifier-count-characters.xml + docs/en/designers/language-modifiers/language-modifier-count-paragraphs.xml + docs/en/designers/language-modifiers/language-modifier-count-sentences.xml + docs/en/designers/language-modifiers/language-modifier-count-words.xml + docs/en/designers/language-modifiers/language-modifier-date-format.xml + docs/en/designers/language-modifiers/language-modifier-default.xml + docs/en/designers/language-modifiers/language-modifier-escape.xml + docs/en/designers/language-modifiers/language-modifier-indent.xml + docs/en/designers/language-modifiers/language-modifier-lower.xml + docs/en/designers/language-modifiers/language-modifier-nl2br.xml + docs/en/designers/language-modifiers/language-modifier-regex-replace.xml + docs/en/designers/language-modifiers/language-modifier-replace.xml + docs/en/designers/language-modifiers/language-modifier-spacify.xml + docs/en/designers/language-modifiers/language-modifier-string-format.xml + docs/en/designers/language-modifiers/language-modifier-strip-tags.xml + docs/en/designers/language-modifiers/language-modifier-strip.xml + docs/en/designers/language-modifiers/language-modifier-truncate.xml + docs/en/designers/language-modifiers/language-modifier-upper.xml + docs/en/designers/language-modifiers/language-modifier-wordwrap.xml: + Tidying up some markup + + * docs/en/designers/language-variables.xml: + typo + + * docs/en/designers/language-variables.xml + docs/en/designers/language-variables/language-assigned-variables.xml + docs/en/designers/language-variables/language-config-variables.xml + docs/en/designers/language-variables/language-variables-smarty.xml: + Tidy up formatting on variables + + * docs/en/designers/language-basic-syntax/language-escaping.xml + docs/en/designers/language-basic-syntax/language-math.xml + docs/en/designers/language-basic-syntax/language-syntax-comments.xml + docs/en/designers/language-basic-syntax/language-syntax-functions.xml + docs/en/designers/language-basic-syntax/language-syntax-quotes.xml + docs/en/designers/language-basic-syntax/language-syntax-variables.xml: + Formatting of the basic-syntax dir + + * docs/en/designers/language-custom-functions/language-function-assign.xml + docs/en/designers/language-custom-functions/language-function-counter.xml + docs/en/designers/language-custom-functions/language-function-cycle.xml + docs/en/designers/language-custom-functions/language-function-debug.xml + docs/en/designers/language-custom-functions/language-function-eval.xml + docs/en/designers/language-custom-functions/language-function-fetch.xml + docs/en/designers/language-custom-functions/language-function-html-checkboxes.xml + docs/en/designers/language-custom-functions/language-function-html-image.xml + docs/en/designers/language-custom-functions/language-function-html-options.xml + docs/en/designers/language-custom-functions/language-function-html-radios.xml + docs/en/designers/language-custom-functions/language-function-html-select-date.xml + docs/en/designers/language-custom-functions/language-function-html-select-time.xml + docs/en/designers/language-custom-functions/language-function-html-table.xml + docs/en/designers/language-custom-functions/language-function-mailto.xml + docs/en/designers/language-custom-functions/language-function-math.xml + docs/en/designers/language-custom-functions/language-function-popup-init.xml + docs/en/designers/language-custom-functions/language-function-popup.xml + docs/en/designers/language-custom-functions/language-function-textformat.xml: + More formatting and cleaning up examples + +2006-09-25 Peter 'Mash' Morgan + + * docs/en/designers/language-builtin-functions/language-function-foreach.xml + docs/en/designers/language-builtin-functions/language-function-section.xml: + Doh! removing tabs + + * docs/en/designers/language-builtin-functions/language-function-capture.xml + docs/en/designers/language-builtin-functions/language-function-config-load.xml + docs/en/designers/language-builtin-functions/language-function-foreach.xml + docs/en/designers/language-builtin-functions/language-function-if.xml + docs/en/designers/language-builtin-functions/language-function-include-php.xml + docs/en/designers/language-builtin-functions/language-function-include.xml + docs/en/designers/language-builtin-functions/language-function-insert.xml + docs/en/designers/language-builtin-functions/language-function-ldelim.xml + docs/en/designers/language-builtin-functions/language-function-literal.xml + docs/en/designers/language-builtin-functions/language-function-php.xml + docs/en/designers/language-builtin-functions/language-function-section.xml + docs/en/designers/language-builtin-functions/language-function-strip.xml: + A lot of formatting, tagging and tidy up. Some consistency at last + + * docs/en/designers/language-builtin-functions/language-function-section.xml: + Major tidy up + + * docs/en/designers/language-builtin-functions/language-function-foreach.xml: + Major tidy up, added index property and some examples + +2006-09-03 Yannick Torres + + * docs/fr/designers/language-custom-functions/language-function-popup-init.xml + docs/fr/programmers/advanced-features/advanced-features-outputfilters.xml + docs/fr/programmers/advanced-features/advanced-features-postfilters.xml + docs/fr/programmers/advanced-features/advanced-features-prefilters.xml: + sync with EN + +2006-09-01 George Miroshnikov + + * docs/ru/programmers/api-functions/api-append-by-ref.xml + docs/ru/programmers/api-functions/api-append.xml + docs/ru/programmers/api-functions/api-assign-by-ref.xml + docs/ru/programmers/api-functions/api-assign.xml + docs/ru/programmers/api-functions/api-clear-all-assign.xml + docs/ru/programmers/api-functions/api-clear-all-cache.xml + docs/ru/programmers/api-functions/api-clear-assign.xml + docs/ru/programmers/api-functions/api-clear-cache.xml + docs/ru/programmers/api-functions/api-clear-compiled-tpl.xml + docs/ru/programmers/api-functions/api-clear-config.xml + docs/ru/programmers/api-functions/api-config-load.xml + docs/ru/programmers/api-functions/api-display.xml: + sync with EN + +2006-08-25 Messju Mohr + + * NEWS + libs/Smarty_Compiler.class.php: + fixed wrong handling of name attribute in {insert} + thanks to Ivan Kravets for reporting this + + * libs/Smarty_Compiler.class.php: + fixed typo + +2006-08-21 George Miroshnikov + + * docs/ru/designers/language-custom-functions/language-function-popup-init.xml + docs/ru/programmers/advanced-features/advanced-features-objects.xml + docs/ru/programmers/advanced-features/advanced-features-outputfilters.xml + docs/ru/programmers/advanced-features/advanced-features-postfilters.xml + docs/ru/programmers/advanced-features/advanced-features-prefilters.xml + docs/ru/programmers/advanced-features/section-template-cache-handler-func.xml + docs/ru/programmers/advanced-features/template-resources.xml: + sync with EN + + * docs/en/programmers/advanced-features/advanced-features-prefilters.xml: + another missing dot + + * docs/en/programmers/advanced-features/advanced-features-postfilters.xml: + missing dot + + * docs/en/programmers/advanced-features/advanced-features-outputfilters.xml: + missing comma + +2006-08-19 Peter 'Mash' Morgan + + * docs/en/designers/language-custom-functions/language-function-popup-init.xml: + avoid dupes and added remote paths + +2006-08-06 Yannick Torres + + * docs/fr/designers/language-custom-functions/language-function-html-table.xml + docs/fr/designers/language-custom-functions/language-function-mailto.xml: + sync with EN + +2006-08-03 Messju Mohr + + * NEWS + libs/Smarty_Compiler.class.php: + fix false replacement of "$t" inside double quotes + thanks to checat for reporting this + +2006-07-20 George Miroshnikov + + * docs/ru/designers/language-custom-functions/language-function-html-table.xml + docs/ru/designers/language-custom-functions/language-function-mailto.xml: + incrementing EN-Revision + + * docs/ru/designers/language-custom-functions/language-function-assign.xml + docs/ru/designers/language-custom-functions/language-function-eval.xml + docs/ru/designers/language-custom-functions/language-function-fetch.xml + docs/ru/designers/language-custom-functions/language-function-html-checkboxes.xml + docs/ru/designers/language-custom-functions/language-function-html-image.xml + docs/ru/designers/language-custom-functions/language-function-html-options.xml + docs/ru/designers/language-custom-functions/language-function-html-radios.xml + docs/ru/designers/language-custom-functions/language-function-html-table.xml + docs/ru/designers/language-custom-functions/language-function-mailto.xml + docs/ru/designers/language-custom-functions/language-function-popup-init.xml + docs/ru/designers/language-custom-functions/language-function-popup.xml + docs/ru/designers/language-modifiers/language-modifier-date-format.xml + docs/ru/designers/language-modifiers/language-modifier-default.xml + docs/ru/designers/language-modifiers/language-modifier-escape.xml + docs/ru/designers/language-modifiers/language-modifier-indent.xml + docs/ru/designers/language-modifiers/language-modifier-lower.xml + docs/ru/designers/language-modifiers/language-modifier-nl2br.xml + docs/ru/designers/language-modifiers/language-modifier-strip.xml + docs/ru/designers/language-modifiers/language-modifier-truncate.xml + docs/ru/designers/language-modifiers/language-modifier-upper.xml + docs/ru/designers/language-modifiers/language-modifier-wordwrap.xml + docs/ru/designers/language-variables/language-variables-smarty.xml: + sync with EN + + * docs/en/designers/language-custom-functions/language-function-mailto.xml: + typo + +2006-07-10 boots + + * libs/plugins/function.html_table.php: + fixed email address in comments + + * NEWS + libs/plugins/function.html_table.php: + html_table: fixed th/tr output, added hdir support for column + headings,update docs to reflect new features + +2006-07-08 Messju Mohr + + * libs/plugins/function.html_table.php: + fix occasional notices on undefined variables + +2006-07-08 boots + + * libs/plugins/function.html_table.php: + Added ability to specify column headings in {html_table} + + Added th_attrs attribute which works similary to td_attr and tr_attr but + for TH elements. Changes the cols attribute to allow mixed values; a + numeric still specifies the number of columns to render but now an array + of values can be used to specify TH column values. The number of columns + is determine from the size of the array. Further, a comma-separated + string of column names can be used which is internally coverted to an + array and used as if it was specified as a normal array. + + Thanks for lynlyn for the feature request. + +2006-06-23 boots + + * libs/plugins/outputfilter.trimwhitespace.php: + fix comments in outputfilter.trimwhitespace + + * NEWS + libs/plugins/outputfilter.trimwhitespace.php: + fixed ordering of replacements in trimwhitespace output filter + + Thanks to Getty from IRC for reporting this. + +2006-06-20 boots + + * NEWS + libs/plugins/function.mailto.php: + update mailto function plugin to work around a firefox/thunderbird escaping + bug + + Thanks to elijahlofgren from the forums for reporting this and providing + the necessary patch + + * NEWS + libs/plugins/modifier.date_format.php: + emulate %l in the date_format modifier on windows + + thanks to Gibberish from the forums for reporting this + +2006-06-14 boots + + * NEWS + libs/plugins/modifier.capitalize.php: + Fix handling of apostrophes in the capitalize modifier. + + Thanks to asmecher from the forums for reporting this and providing a + partial solution. + +2006-05-28 Monte Ohrt + + * NEWS + libs/Config_File.class.php + libs/Smarty.class.php + libs/Smarty_Compiler.class.php: + update version numbers + +2006-05-25 boots + + * NEWS + libs/Smarty_Compiler.class.php: + un-hide hidden xml open tags + +2006-05-09 boots + + * NEWS + libs/Smarty_Compiler.class.php: + separate handling of comment blocks from "special blocks" + + * NEWS + libs/plugins/function.popup_init.php: + reverted {popup_init} as proposed change to insertion behviour was not BC + +2006-05-04 boots + + * NEWS + libs/plugins/function.popup_init.php: + changed {popup_init} to only emit code once during a request + + Thanks to TGKnIght from forums + +2006-04-22 Messju Mohr + + * NEWS + libs/Smarty_Compiler.class.php: + fix handling of block-methods of registered objects + thanks to El Hombre Gris + +2006-04-04 Monte Ohrt + + * libs/plugins/function.html_select_date.php: + fix typo + +2006-03-09 Monte Ohrt + + * (Smarty_2_6_13) + NEWS: + update for release + +2006-03-08 Monte Ohrt + + * libs/plugins/modifier.regex_replace.php: + remove delim quote + + * libs/plugins/modifier.regex_replace.php: + fix delimiter issue + +2006-03-03 Monte Ohrt + + * libs/plugins/modifier.regex_replace.php: + use preg_replace to cover any space chars + + * libs/plugins/modifier.regex_replace.php: + fix problem with allowing "e" modifier + +2006-01-29 Messju Mohr + + * libs/Smarty_Compiler.class.php: + removed possiblity for E_NOTICE on an undefined variable in + Smarty_Compiler::_compile_if_tag() - thanks to sbeh + +2006-01-18 Monte Ohrt + + * libs/Config_File.class.php + libs/Smarty.class.php + libs/Smarty_Compiler.class.php: + update version numbers + + * (Smarty_2_6_12) + NEWS: + commit 2.6.12 release + +2006-01-15 Messju Mohr + + * NEWS + libs/Smarty_Compiler.class.php: + fixed use of references $cache_attrs and $repeat in Smarty_Compiler. + + php does not allow to pass an assigned by reference to a function. since + php-5.1.2 + the reference to the lval gets lost when passing an assignment. + +2005-12-31 Messju Mohr + + * NEWS + libs/Smarty.class.php: + fixed incompatible use of fread() in Smarty::_read_file() + it choke on php-5.1.1 and later. + thanks to andig for pointing this out. + +2005-12-21 boots + + * NEWS + libs/Smarty_Compiler.class.php: + Fix improper tokenization of certain inline math expressions. + + Thanks to gerard at forums for reporting this. + +2005-12-19 Messju Mohr + + * libs/plugins/function.math.php: + fixed problem with math in certain LC_NUMERIC locales. + thanks to wiebren for providing problem+solution. + +2005-12-14 Messju Mohr + + * NEWS: + fixed iso-latin1 special chars + +2005-12-14 Monte Ohrt + + * libs/Config_File.class.php + libs/Smarty.class.php + libs/Smarty_Compiler.class.php: + update version numbers + + * (Smarty_2_6_11) + NEWS: + commit NEWS file for 2.6.11 + +2005-12-08 Messju Mohr + + * docs/de/getting-started.xml: + sync with en + +2005-11-29 Messju Mohr + + * NEWS + libs/Smarty_Compiler.class.php: + fixed code generation of non-cacheable blocks to play well with php's + "Alternative syntax" used for example in compiled {if}..{else}..{/if} + blocks. + + (see: http://php.net/manual/en/control-structures.alternative-syntax.php + on "Alternative syntax") + + thanks to kihara from the forum. + +2005-11-26 Messju Mohr + + * NEWS: + fixed handling of multiple identical calls to {insert}. + + the function was called multiple times, but all inserts where replaced + by the results of the first call to the insert function. + + * libs/plugins/compiler.assign.php + libs/plugins/function.config_load.php: + added credits + + * libs/plugins/function.popup.php: + added "closeclick" from + http://www.bosrup.com/web/overlib/?Command_Reference + +2005-11-23 boots + + * NEWS + libs/Config_File.class.php + libs/Smarty.class.php + libs/Smarty_Compiler.class.php + libs/plugins/modifier.escape.php: + replace {} string access with equivalent substr() to avoid E_STRICT + warnings in PHP 5.1 + +2005-11-09 boots + + * NEWS + libs/Smarty.class.php: + return valid reference in get_config_vars() when given var is non-existant + +2005-10-11 Monte Ohrt + + * libs/plugins/block.textformat.php + libs/plugins/compiler.assign.php + libs/plugins/function.assign_debug_info.php + libs/plugins/function.config_load.php + libs/plugins/function.counter.php + libs/plugins/function.eval.php + libs/plugins/function.fetch.php + libs/plugins/function.html_options.php + libs/plugins/function.html_select_date.php + libs/plugins/function.html_select_time.php + libs/plugins/function.math.php + libs/plugins/function.popup.php + libs/plugins/function.popup_init.php + libs/plugins/modifier.capitalize.php + libs/plugins/modifier.count_characters.php + libs/plugins/modifier.count_paragraphs.php + libs/plugins/modifier.count_sentences.php + libs/plugins/modifier.count_words.php + libs/plugins/modifier.date_format.php + libs/plugins/modifier.debug_print_var.php + libs/plugins/modifier.default.php + libs/plugins/modifier.escape.php + libs/plugins/modifier.indent.php + libs/plugins/modifier.lower.php + libs/plugins/modifier.regex_replace.php + libs/plugins/modifier.replace.php + libs/plugins/modifier.spacify.php + libs/plugins/modifier.string_format.php + libs/plugins/modifier.strip_tags.php + libs/plugins/modifier.truncate.php + libs/plugins/modifier.upper.php + libs/plugins/modifier.wordwrap.php + libs/plugins/shared.escape_special_chars.php + libs/plugins/shared.make_timestamp.php: + Added author title to plugins where they don't exist. I put my name where I + was the original or co-author. If there needs to be more credit given + somewhere, speak up! + +2005-10-10 Monte Ohrt + + * NEWS + libs/plugins/function.html_image.php: + add path_prefix to html_image, fix incorrect secure_dir error when image + file is missing + +2005-10-04 Monte Ohrt + + * demo/templates/index.tpl: + remove popup example, update section var syntax + +2005-09-16 Nuno Lopes + + * docs/de/getting-started.xml: + more fixes + + * docs/de/getting-started.xml: + fix php bug #34520: broken example display (de only) + +2005-08-30 Monte Ohrt + + * libs/plugins/modifier.escape.php: + change default charset from utf8 to iso-8859-1 + + * NEWS + libs/plugins/modifier.escape.php: + add char_set param + +2005-08-17 Monte Ohrt + + * NEWS: + fix notice in debug security check + + * libs/Smarty.class.php: + fix typo + + * NEWS + libs/Smarty.class.php: + return valid reference in get_template_vars() when given var is + non-existant + +2005-08-12 Monte Ohrt + + * NEWS + libs/plugins/modifier.escape.php: + add "urlpathinfo" escape type to escape modifier. (apache does not like %2F + in the PATH_INFO) + +2005-08-05 Monte Ohrt + + * NEWS + libs/Config_File.class.php + libs/Smarty.class.php + libs/Smarty_Compiler.class.php: + update version numbers + 2005-08-04 Monte Ohrt * NEWS: @@ -279,7 +2079,7 @@ * libs/Smarty.class.php: fixed serialization of values containing newlines (like _cache_attrs) in core_write_cache_file() - + bumped version to 2.6.6-dev-3 to indicate that the fileformat of cache has changed @@ -358,7 +2158,7 @@ * libs/Smarty_Compiler.class.php: reduced the code that is generated on a {foreach}-block that has a name. - + instead of pre-computing all foreach-properties (like first, last, show) on each iteration, they are computed on demand as soon as {$smarty.foreach.*}-variables are used. @@ -366,7 +2166,7 @@ * NEWS libs/Smarty_Compiler.class.php: slight optimization in the compilation of $smarty.const.FOO . - + more complex consts like $smarty.const.$name still compile to constant($this->_tpl_vars['name']) @@ -376,7 +2176,7 @@ libs/Smarty_Compiler.class.php: make block functions and registered objects' block methods use a local variable for block_content instead of $this->_block_content - + it's not necessary to have $smarty->_block_content accessible. 2005-01-04 Yannick Torres @@ -450,7 +2250,7 @@ * libs/plugins/function.html_options.php: fixed semantically misleading check for $options (use isset() instead of is_array() because it is always an array). - + thanks to albert almeida. 2004-11-08 Messju Mohr @@ -476,7 +2276,7 @@ in the replacement of internal nocache-tags to dynamic content that lead to false results with deeply nested includes or with nocache-blocks inside nocache-blocks. - + many thanks to Lars Jankowfsky for providing big help on reproducing and tracking down this bug! @@ -486,10 +2286,10 @@ libs/Smarty_Compiler.class.php: - better header for compiled includes (more in line with compiled templates) - + - reuse cache_serials if a file is compiled more than once in one process (force_compile) - + - don't print nocache-delimiters wenn already inside process_cached_inserts() @@ -578,7 +2378,7 @@ libs/Smarty_Compiler.class.php: moved $this->_num_const_regexp out of $this->_var_regexp and added it to the places that affect $this->_var_regexp - + this should fix some problems parsing plugin-names endings with digits 2004-09-14 Messju Mohr @@ -668,7 +2468,7 @@ * NEWS libs/core/core.write_file.php: tempnam() seems to be borken on many installation. - + now we try tempnam first and if that fails we generate our own temp-filename with uniqid() @@ -723,7 +2523,7 @@ libs/Smarty_Compiler.class.php: fixed occasional wrong error messages on mismatched tags when {else}, {elseif}, {foreachelse} or {sectionelse} is involved - + thanks to Ooypunk for pointing me on this 2004-08-12 Nuno Lopes @@ -761,7 +2561,7 @@ * NEWS libs/Smarty_Compiler.class.php: fixed handling of methods arguments. - + thanks to Manfred Wischin for finding this one and providing the conceptual fix. @@ -771,10 +2571,10 @@ libs/plugins/function.html_radios.php: there was little flaw in smarty_function_html_radios() and smarty_function_html_checkboxes(): - + the newly introduced assign-attribute was still added to the tag-output as an extra-attribute. - + fixed. * NEWS @@ -790,7 +2590,7 @@ libs/plugins/function.html_select_time.php libs/plugins/modifier.date_format.php: backed out renaming of _get_plugin_filepath() to get_plugin_filepath() - + we'll stick to _get_plugin_filepath() and look for a more viable solution to be exposed to plugin-writers. @@ -975,7 +2775,7 @@ * NEWS libs/Smarty.class.php: enhanced auto-generated filenames for templates_c and cache - + incremented Smarty::_version because the tempfiles' structure changed a little @@ -1013,7 +2813,7 @@ libs/core/core.write_file.php: use tempnam() instead of unqid() to create better temporary files in smarty_core_write_file(). - + (thanks to xces for finding this race-condition and his work on fixing it) @@ -1097,7 +2897,7 @@ * NEWS libs/core/core.write_compiled_include.php: made smarty_core_write_compiled_include() php5-aware - + if someone knows a better way than patching the source with the tokenizer, please stand up! @@ -1132,7 +2932,7 @@ libs/Smarty.class.php: removed unused functionality to load a subset of lines from a file in Smarty::_read_file() - + additionally removed a warning that is emitted since php-4.3.5 when fread() is called on an empty file (with filesize()==0). thanks to Andreas Streichardt who pointed this out. @@ -1283,7 +3083,7 @@ unrolled call to the is_compiled()-check to be able to supply the correct resource_base_path for config_load. this avoids errors when config-files are accessed where security is enabled. - + thanks to shuther for pointing out this bug. 2004-03-20 Nuno Lopes @@ -1295,7 +3095,7 @@ * libs/core/core.is_secure.php: removed merging of $smarty->template_dir into $smarty->secure_dir - + the resource_base_path is considerd secure instead. this change should have absolutely no impact on smarty's security's behaviour @@ -1323,7 +3123,7 @@ * libs/Smarty.class.php: moved setting of a default resource_base_path from Smarty::_parse_resource_name() to Smarty::_fetch_resource_info() - + this shouldn't affect anything, since all calls to _parse_resource_name() that are not done from within _fetch_resource_info() all pass their own resource_base_path @@ -1334,7 +3134,7 @@ libs/Smarty.class.php: removed '.' from the list of default resource_base_paths in _parse_resource_name() - + this should only affect _parse_resource_name() for templates, not for php-resources and not for config_files. the latter pass two their own resource_base_path. @@ -1579,7 +3379,7 @@ * NEWS libs/plugins/function.html_image.php: fix: $smarty->security is now correctly handled - + minor optimizations: core/core.is_secure.php is only included when needed $dpi_default is only determined when needed @@ -1729,7 +3529,7 @@ allow single-digit days and months without smarty_make_timestamp() this makes dates like "1968-11-6" work correctly since no strtotime() is involved - + add warning when unknown parameter is passed 2003-12-16 Messju Mohr @@ -1813,7 +3613,7 @@ libs/plugins/function.html_options.php: fix bug when comparing array-keys to "selected" in html_options and html_checkboxes - + in_array() uses "strict" comparason now. * libs/plugins/function.html_checkboxes.php @@ -2104,7 +3904,7 @@ * libs/Smarty.class.php libs/core/core.is_secure.php: move check for template_dir in secure_dir-array into core.is_secure.php - + this makes template_exists() work correctly with security=true even if template_dir is not inside the secure_dir-array @@ -2113,7 +3913,7 @@ * libs/plugins/shared.make_timestamp.php: tightened check for YYYYMMDDHHMMSS-format. thanks konstantin for pointing this out. - + removed a few tabs. * libs/Smarty_Compiler.class.php: @@ -2335,7 +4135,7 @@ * docs/designers.sgml: added parameter-descriptions for count_characters (thanks Konstantin A. Pelepelin) - + fixed docs for {html_checkboxes} 2003-08-14 Messju Mohr @@ -2353,7 +4153,7 @@ - handling of section-attribute - reusing the same config-file multiple times - serialization of config-data for php<4.2.0 (no var_export) - + many thanks to atu for pointing this out and for testing 2003-08-13 Messju Mohr @@ -2524,7 +4324,7 @@ libs/Smarty_Compiler.class.php: enabled registration of class-methods as callbacks for the register_*-functions - + use: array('classname', 'method_name')) as callback 2003-07-29 Messju Mohr @@ -3348,7 +5148,7 @@ libs/Smarty.class.php: enabled array(&$obj. 'source', 'timestamp', 'secure', 'trusted') as callback for register_resource() - + enabled array(&$obj, 'method') as callback for $default_template_handler_func @@ -3450,7 +5250,7 @@ * libs/Smarty.class.php libs/Smarty_Compiler.class.php: - added CVS $Id: ChangeLog,v 1.389 2005/08/05 05:40:57 changelog Exp $ + added CVS $Id: ChangeLog 2746 2007-09-28 01:32:05Z changelog $ 2003-03-31 Messju Mohr diff --git a/wwwroot/smarty/FAQ b/wwwroot/smarty/FAQ index bf66959..1860678 100644 --- a/wwwroot/smarty/FAQ +++ b/wwwroot/smarty/FAQ @@ -117,7 +117,7 @@ A: Be sure you set $compile_check=false once your templates are initially change too often, turn on the caching engine and adjust your application so it doesn't do unnecessary work (like db calls) if a cached page is available. See the documentation for examples. - + Q: Do you have a mailing list? A: We have a few mailing lists. "general" for you to share your ideas or ask questions, "dev" for those interested in the development efforts of Smarty, @@ -226,7 +226,7 @@ A: In Edit - Properties - Rewrite HTML you can specify if Dreamweaver should HOWTO ----- - + Q: How do I generate different cache files per template based on arguments passed to the page? A: Use your $REQUEST_URI as the cache_id when fetching the page: diff --git a/wwwroot/smarty/NEWS b/wwwroot/smarty/NEWS index 70405ae..cbab78f 100644 --- a/wwwroot/smarty/NEWS +++ b/wwwroot/smarty/NEWS @@ -1,3 +1,146 @@ +Version 2.6.26 (June 18th, 2009) +------------------------------- +- revert super global access changes, and instead rely on + USE_SUPER_GLOBALS for security + +Version 2.6.25 (May 19th, 2009) +------------------------------- +- fix E_NOTICE when sessions are disabled (mohrt) + +Version 2.6.24 (May 16th, 2009) +------------------------------- +- fix problem introduced with super global changes (mohrt) + +Version 2.6.23 (May 13th, 2009) +------------------------------- +- strip backticks from {math} equations (mohrt) +- make PHP super globals read-only from template (mohrt) +- throw error when template exists but not readable (mohrt) + +Version 2.6.22 (Dec 17th, 2008) +------------------------------- + +- back out method chaining, bug in some versions of PCRE causes errors (mohrt) + +Version 2.6.21 (Dec 2nd, 2008) +------------------------------ + +- fix function injection security hole closed (U.Tews) +- fix pass expiration time at cache_handler_fuc call in core.write_cache_file.php (U.Tews) +- Update of compiler.class.php to allow method chaining for PHP4 and PHP5 (U.Tews) + +Version 2.6.20 (Feb 15th, 2008) +------------------------------- + +- fix cache tag bug when multiple cache tags on a page (mankyd, + mohrt) +- fix /e tag checking when using arrays with regex_replace + (mohrt) +- fix that function results can be used with condition like "is even" in + {if} tags (U.Tews) +- fix handling of non-empty
-tags and empty !is", $source, $match);
+    preg_match_all("!]*?>.*?!is", $source, $match);
     $_textarea_blocks = $match[0];
-    $source = preg_replace("!]+>.*?!is",
+    $source = preg_replace("!]*?>.*?!is",
                            '@@@SMARTY:TRIM:TEXTAREA@@@', $source);
 
     // remove all leading spaces, tabs and carriage returns NOT
     // preceeded by a php close tag.
     $source = trim(preg_replace('/((?)\n)[\s]+/m', '\1', $source));
 
-    // replace script blocks
-    smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:SCRIPT@@@",$_script_blocks, $source);
+    // replace textarea blocks
+    smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:TEXTAREA@@@",$_textarea_blocks, $source);
 
     // replace pre blocks
     smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:PRE@@@",$_pre_blocks, $source);
 
-    // replace textarea blocks
-    smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:TEXTAREA@@@",$_textarea_blocks, $source);
+    // replace script blocks
+    smarty_outputfilter_trimwhitespace_replace("@@@SMARTY:TRIM:SCRIPT@@@",$_script_blocks, $source);
 
     return $source;
 }
diff --git a/wwwroot/smarty/libs/plugins/shared.escape_special_chars.php b/wwwroot/smarty/libs/plugins/shared.escape_special_chars.php
index 515763a..c07ce31 100644
--- a/wwwroot/smarty/libs/plugins/shared.escape_special_chars.php
+++ b/wwwroot/smarty/libs/plugins/shared.escape_special_chars.php
@@ -12,6 +12,7 @@
  * Function: smarty_function_escape_special_chars
* Purpose: used by other smarty functions to escape * special chars except for already escaped ones + * @author Monte Ohrt * @param string * @return string */ diff --git a/wwwroot/smarty/libs/plugins/shared.make_timestamp.php b/wwwroot/smarty/libs/plugins/shared.make_timestamp.php index 3f85439..b42eb11 100644 --- a/wwwroot/smarty/libs/plugins/shared.make_timestamp.php +++ b/wwwroot/smarty/libs/plugins/shared.make_timestamp.php @@ -10,6 +10,7 @@ * Function: smarty_make_timestamp
* Purpose: used by other smarty functions to make a timestamp * from a string. + * @author Monte Ohrt * @param string * @return string */ @@ -20,14 +21,14 @@ function smarty_make_timestamp($string) $time = time(); } elseif (preg_match('/^\d{14}$/', $string)) { - // it is mysql timestamp format of YYYYMMDDHHMMSS? + // it is mysql timestamp format of YYYYMMDDHHMMSS? $time = mktime(substr($string, 8, 2),substr($string, 10, 2),substr($string, 12, 2), substr($string, 4, 2),substr($string, 6, 2),substr($string, 0, 4)); - + } elseif (is_numeric($string)) { // it is a numeric string, we handle it as timestamp $time = (int)$string; - + } else { // strtotime should handle it $time = strtotime($string); diff --git a/wwwroot/smarty/misc/smarty_icon.README b/wwwroot/smarty/misc/smarty_icon.README deleted file mode 100644 index a5b4d05..0000000 --- a/wwwroot/smarty/misc/smarty_icon.README +++ /dev/null @@ -1,6 +0,0 @@ -Feel free to put the smarty icon on your site. -You can cut-and-paste the following code, be sure -to adjust the path to the image: - - - diff --git a/wwwroot/smarty/misc/smarty_icon.gif b/wwwroot/smarty/misc/smarty_icon.gif deleted file mode 100644 index 5d51969..0000000 Binary files a/wwwroot/smarty/misc/smarty_icon.gif and /dev/null differ diff --git a/wwwroot/smarty/unit_test/README b/wwwroot/smarty/unit_test/README deleted file mode 100644 index d4d9731..0000000 --- a/wwwroot/smarty/unit_test/README +++ /dev/null @@ -1,32 +0,0 @@ -Smarty Unit Testing -------------------- - -Smarty unit tests require the PEAR PHPUnit -package to be installed. See if you have that -installed with the following command: - -$> pear list - -If you don't see PHPUnit, install with this: - -$> pear install PHPUnit - -Edit the config.php file, -be sure everything is defined correctly. - -Be sure the following directories are present: - -templates -configs -templates_c (writable) -cache (writable) - -Then run from the command line: -php -q smarty_unit_test.php - -Or from the web browser: -http://www.your_domain.com/path/to/smarty_unit_test_gui.php - -This will run a unit test for every component -of Smarty and dump the results. All should pass -with flying colors. :) diff --git a/wwwroot/smarty/unit_test/config.php b/wwwroot/smarty/unit_test/config.php deleted file mode 100644 index 5e7da05..0000000 --- a/wwwroot/smarty/unit_test/config.php +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/wwwroot/smarty/unit_test/configs/globals_double_quotes.conf b/wwwroot/smarty/unit_test/configs/globals_double_quotes.conf deleted file mode 100644 index 5abc475..0000000 --- a/wwwroot/smarty/unit_test/configs/globals_double_quotes.conf +++ /dev/null @@ -1 +0,0 @@ -foo = "bar" diff --git a/wwwroot/smarty/unit_test/configs/globals_single_quotes.conf b/wwwroot/smarty/unit_test/configs/globals_single_quotes.conf deleted file mode 100644 index 4517b7b..0000000 --- a/wwwroot/smarty/unit_test/configs/globals_single_quotes.conf +++ /dev/null @@ -1 +0,0 @@ -foo = 'bar' diff --git a/wwwroot/smarty/unit_test/smarty_unit_test.php b/wwwroot/smarty/unit_test/smarty_unit_test.php deleted file mode 100644 index c56a61a..0000000 --- a/wwwroot/smarty/unit_test/smarty_unit_test.php +++ /dev/null @@ -1,10 +0,0 @@ - toString(); -?> diff --git a/wwwroot/smarty/unit_test/smarty_unit_test_gui.php b/wwwroot/smarty/unit_test/smarty_unit_test_gui.php deleted file mode 100644 index 03309d4..0000000 --- a/wwwroot/smarty/unit_test/smarty_unit_test_gui.php +++ /dev/null @@ -1,10 +0,0 @@ - toHTML(); -?> diff --git a/wwwroot/smarty/unit_test/templates/assign_var.tpl b/wwwroot/smarty/unit_test/templates/assign_var.tpl deleted file mode 100644 index acc4b66..0000000 --- a/wwwroot/smarty/unit_test/templates/assign_var.tpl +++ /dev/null @@ -1 +0,0 @@ -{$foo} diff --git a/wwwroot/smarty/unit_test/templates/constant.tpl b/wwwroot/smarty/unit_test/templates/constant.tpl deleted file mode 100644 index 7ae11f1..0000000 --- a/wwwroot/smarty/unit_test/templates/constant.tpl +++ /dev/null @@ -1 +0,0 @@ -{$smarty.const.TEST_CONSTANT} diff --git a/wwwroot/smarty/unit_test/templates/index.tpl b/wwwroot/smarty/unit_test/templates/index.tpl deleted file mode 100644 index fb6aad2..0000000 --- a/wwwroot/smarty/unit_test/templates/index.tpl +++ /dev/null @@ -1 +0,0 @@ -TEST STRING diff --git a/wwwroot/smarty/unit_test/templates/parse_math.tpl b/wwwroot/smarty/unit_test/templates/parse_math.tpl deleted file mode 100644 index 0b787d3..0000000 --- a/wwwroot/smarty/unit_test/templates/parse_math.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{foreach name=loop from=$items item=i} -{$smarty.foreach.loop.iteration+2} -{$smarty.foreach.loop.iteration+$flt} -{$smarty.foreach.loop.iteration+$obj->six()} -{$smarty.foreach.loop.iteration+$obj->ten} -{/foreach} -{$obj->ten+$flt} -{$obj->ten*$flt} -{$obj->six()+$obj->ten} -{$obj->ten+$obj->ten} -{$obj->six()+$flt} -{$obj->six()+$items.0} diff --git a/wwwroot/smarty/unit_test/templates/parse_obj_meth.tpl b/wwwroot/smarty/unit_test/templates/parse_obj_meth.tpl deleted file mode 100644 index ab19832..0000000 --- a/wwwroot/smarty/unit_test/templates/parse_obj_meth.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{$obj->meth($foo, 2.5)} -{$obj->meth(2.5, $foo)} -{$obj->meth(2.5)} -{$obj->meth($obj->val, "foo")} -{$obj->meth("foo", $obj->val)} -{$obj->meth("foo", $foo)} -{$obj->meth($obj->arr.one, 2)} -{$obj->meth($obj->meth("foo", $foo))} diff --git a/wwwroot/smarty/unit_test/test_cases.php b/wwwroot/smarty/unit_test/test_cases.php deleted file mode 100644 index 156727b..0000000 --- a/wwwroot/smarty/unit_test/test_cases.php +++ /dev/null @@ -1,450 +0,0 @@ - 'one', 'two' => 2); - var $ten = 10; - - function meth($a="a", $b="b") { - return "$a:$b"; - } - - function six() { - return 6; - } -} - - -class SmartyTest extends PHPUnit_TestCase { - // contains the object handle of the string class - var $abc; - // contains the last triggered error's errorlevel - var $errorlevel; - - // constructor of the test suite - function SmartyTest($name) { - $this->PHPUnit_TestCase($name); - } - - // called before the test functions will be executed - // this function is defined in PHPUnit_TestCase and overwritten - // here - function setUp() { - // create a new instance of String with the - // string 'abc' - $this->smarty = new Smarty; - } - // called after the test functions are executed - // this function is defined in PHPUnit_TestCase and overwritten - // here - function tearDown() { - // delete your instance - unset($this->smarty); - } - - // dummy errorhandler for functions that are supposed to call trigger_error() - function error_handler($errorlevel) { - if ($errorlevel) $this->errorlevel = $errorlevel; - } - - /* DIRECTORY TESTS */ - - // test that template_dir exists - function test_template_dir_exists() { - $this->assertTrue(file_exists($this->smarty->template_dir)); - } - // test that template_dir is a directory - function test_template_dir_is_dir() { - $this->assertTrue(is_dir($this->smarty->template_dir)); - } - // test that template_dir is readable - function test_template_dir_is_readable() { - $this->assertTrue(is_readable($this->smarty->template_dir)); - } - // test that config_dir exists - function test_config_dir_exists() { - $this->assertTrue(file_exists($this->smarty->config_dir)); - } - // test that config_dir is a directory - function test_config_dir_is_dir() { - $this->assertTrue(is_dir($this->smarty->config_dir)); - } - // test that config_dir is readable - function test_config_dir_is_readable() { - $this->assertTrue(is_readable($this->smarty->config_dir)); - } - // test that compile_dir exists - function test_compile_dir_exists() { - $this->assertTrue(file_exists($this->smarty->compile_dir)); - } - // test that compile_dir is a directory - function test_compile_dir_is_dir() { - $this->assertTrue(is_dir($this->smarty->compile_dir)); - } - // test that compile_dir is readable - function test_compile_dir_is_readable() { - $this->assertTrue(is_readable($this->smarty->compile_dir)); - } - // test that compile_dir is writable - function test_compile_dir_is_writable() { - $this->assertTrue(is_writable($this->smarty->compile_dir)); - } - // test that cache_dir exists - function test_cache_dir_exists() { - $this->assertTrue(file_exists($this->smarty->cache_dir)); - } - // test that cache_dir is a directory - function test_cache_dir_is_dir() { - $this->assertTrue(is_dir($this->smarty->cache_dir)); - } - // test that cache_dir is readable - function test_cache_dir_is_readable() { - $this->assertTrue(is_readable($this->smarty->cache_dir)); - } - // test that cache_dir is writable - function test_cache_dir_is_writable() { - $this->assertTrue(is_writable($this->smarty->cache_dir)); - } - - /* METHOD EXISTS TESTS */ - function test_assign_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'assign')); - } - function test_assign_by_ref_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'assign_by_ref')); - } - function test_append_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'append')); - } - function test_append_by_ref_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'append_by_ref')); - } - function test_clear_assign_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'clear_assign')); - } - function test_register_function_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'register_function')); - } - function test_unregister_function_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'unregister_function')); - } - function test_register_object_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'register_object')); - } - function test_unregister_object_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'unregister_object')); - } - function test_register_block_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'register_block')); - } - function test_unregister_block_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'unregister_block')); - } - function test_register_compiler_function_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'register_compiler_function')); - } - function test_unregister_compiler_function_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'unregister_compiler_function')); - } - function test_register_modifier_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'register_modifier')); - } - function test_unregister_modifier_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'unregister_modifier')); - } - function test_register_resource_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'register_resource')); - } - function test_unregister_resource_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'unregister_resource')); - } - function test_register_prefilter_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'register_prefilter')); - } - function test_unregister_prefilter_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'unregister_prefilter')); - } - function test_register_postfilter_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'register_postfilter')); - } - function test_unregister_postfilter_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'unregister_postfilter')); - } - function test_register_outputfilter_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'register_outputfilter')); - } - function test_unregister_outputfilter_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'unregister_outputfilter')); - } - function test_load_filter_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'load_filter')); - } - function test_clear_cache_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'clear_cache')); - } - function test_clear_all_cache_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'clear_all_cache')); - } - function test_is_cached_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'is_cached')); - } - function test_clear_all_assign_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'clear_all_assign')); - } - function test_clear_compiled_tpl_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'clear_compiled_tpl')); - } - function test_template_exists_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'template_exists')); - } - function test_get_template_vars_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'get_template_vars')); - } - function test_get_config_vars_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'get_config_vars')); - } - function test_trigger_error_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'trigger_error')); - } - function test_display_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'display')); - } - function test_fetch_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'fetch')); - } - function test_config_load_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'config_load')); - } - function test_get_registered_object_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'get_registered_object')); - } - function test_clear_config_method_exists() { - $this->assertTrue(method_exists($this->smarty, 'clear_config')); - } - function test_get_plugin_filepath() { - $this->assertTrue(method_exists($this->smarty, '_get_plugin_filepath')); - } - - - function test_clear_compiled_tpl() { - $this->assertTrue($this->smarty->clear_compiled_tpl()); - } - - /* DISPLAY TESTS */ - - // test that display() executes properly - function test_call_to_display() { - ob_start(); - $this->smarty->display('index.tpl'); - $output = ob_get_contents(); - ob_end_clean(); - $this->assertEquals($output, 'TEST STRING'); - } - - /* FETCH TESTS */ - - // test that fetch() executes properly - function test_call_to_fetch() { - $this->assertEquals($this->smarty->fetch('index.tpl'), 'TEST STRING'); - } - - /* ASSIGN TESTS */ - - // test assigning a simple template variable - function test_assign_var() { - $this->smarty->assign('foo', 'bar'); - $this->assertEquals($this->smarty->fetch('assign_var.tpl'), 'bar'); - } - - /* PARSING TESTS */ - - // test assigning and calling an object - function test_parse_obj_meth() { - $obj = new Obj(); - $this->smarty->assign('obj', $obj); - $this->smarty->assign('foo', 'foo'); - $this->assertEquals('foo:2.5 -2.5:foo -2.5:b -val:foo -foo:val -foo:foo -one:2 -foo:foo:b', $this->smarty->fetch('parse_obj_meth.tpl')); - } - - // test assigning and calling an object - function test_parse_math() { - $obj = new Obj(); - $this->smarty->assign('obj', $obj); - $this->smarty->assign('flt', 2.5); - $this->smarty->assign('items', array(1, 2)); - $this->assertEquals('3 -3.5 -7 -11 -4 -4.5 -8 -12 -12.5 -25 -16 -20 -8.5 -7', $this->smarty->fetch('parse_math.tpl')); - } - - /* CONFIG FILE TESTS */ - - // test assigning a double quoted global variable - function test_config_load_globals_double_quotes() { - // load the global var - $this->smarty->config_load('globals_double_quotes.conf'); - // test that it is assigned - $this->assertEquals($this->smarty->_config[0]['vars']['foo'], 'bar'); - } - - // test assigning a single quoted global variable - function test_config_load_globals_single_quotes() { - // load the global var - $this->smarty->config_load('globals_single_quotes.conf'); - // test that it is assigned - $this->assertEquals($this->smarty->_config[0]['vars']['foo'], 'bar'); - } - - // test loading and running modifier.escape.php - function test_escape_modifier_get_plugins_filepath() { - $filepath = $this->smarty->_get_plugin_filepath('modifier', 'escape'); - $this->assertTrue($filepath); - } - - function test_escape_modifier_include_file() { - $filepath = $this->smarty->_get_plugin_filepath('modifier', 'escape'); - $this->assertTrue(include($filepath)); - } - - function test_escape_modifier_function_exists() { - $this->assertTrue(function_exists('smarty_modifier_escape')); - } - - function test_escape_modifier_escape_default() { - $string = smarty_modifier_escape(""); - $this->assertEquals('<html><body></body></html>', - $string); - } - - function test_escape_modifier_escape_html() { - $string = smarty_modifier_escape("", 'html'); - $this->assertEquals('<html><body></body></html>', - $string); - } - - function test_escape_modifier_escape_htmlall() { - $string = smarty_modifier_escape("", 'htmlall'); - $this->assertEquals('<html><body></body></html>', - $string); - } - - function test_escape_modifier_escape_url() { - $string = smarty_modifier_escape("http://test.com?foo=bar", 'url'); - $this->assertEquals('http%3A%2F%2Ftest.com%3Ffoo%3Dbar', $string); - } - - function test_escape_modifier_escape_quotes() { - $string = smarty_modifier_escape("'\\'\\''", 'quotes'); - $this->assertEquals("\\'\\'\\'\\'", $string); - } - - function test_escape_modifier_escape_hex() { - $string = smarty_modifier_escape("abcd", 'hex'); - $this->assertEquals('%61%62%63%64', $string); - } - - function test_escape_modifier_escape_hexentity() { - $string = smarty_modifier_escape("ABCD", 'hexentity'); - $this->assertEquals('ABCD', $string); - } - - function test_escape_modifier_escape_javascript() { - $string = smarty_modifier_escape("\r\n\\", 'javascript'); - $this->assertEquals('\\r\\n\\\\', $string); - } - - - function test_core_is_secure_file_exists() { - $file = SMARTY_CORE_DIR . 'core.is_secure.php'; - $this->assertTrue(file_exists($file)); - } - - function test_core_is_secure_file_include() { - $file = SMARTY_CORE_DIR . 'core.is_secure.php'; - $this->assertTrue(include($file)); - } - - function test_core_is_secure_function_exists() { - $this->assertTrue(function_exists('smarty_core_is_secure')); - } - - function test_core_is_secure_function_is_secure_true() { - $security = $this->smarty->security; - $this->smarty->security = true; - - /* check if index.tpl is secure (should be true) */ - $params = array('resource_type' => 'file', - 'resource_base_path' => dirname(__FILE__) . '/templates', - 'resource_name' => dirname(__FILE__) . '/templates/index.tpl'); - $this->assertTrue(smarty_core_is_secure($params, $this->smarty)); - $this->smarty->security = $security; - } - - function test_core_is_secure_function_is_secure_false() { - $security = $this->smarty->security; - $this->smarty->security = true; - /* check if test_cases.php is secure (should be false) */ - $params = array('resource_type' => 'file', - 'resource_base_path' => dirname(__FILE__) . '/templates', - 'resource_name' => __FILE__); - $this->assertFalse(smarty_core_is_secure($params, $this->smarty)); - $this->smarty->security = $security; - - } - - // test constants and security - function test_core_is_secure_function_smarty_var_const() { - define('TEST_CONSTANT', 'test constant'); - $this->assertEquals('test constant', $this->smarty->fetch('constant.tpl', - null, 'var_const')); - } - - function test_core_is_secure_function_smarty_var_const_allowed() { - $security = $this->smarty->security; - $security_settings = $this->smarty->security_settings; - $this->smarty->security_settings['ALLOW_CONSTANTS'] = true; - $this->smarty->security = true; - $this->assertEquals('test constant', $this->smarty->fetch('constant.tpl', - null, 'var_const_allowed')); - $this->smarty->security_settings = $security_settings; - $this->smarty->security = $security; - } - - function test_core_is_secure_function_smarty_var_const_not_allowed() { - $security = $this->smarty->security; - $this->smarty->security = true; - /* catch errors: */ - $this->errorlevel = null; - set_error_handler(array(&$this, 'error_handler')); - $this->smarty->fetch('constant.tpl', null, 'var_const_not_allowed'); - restore_error_handler(); - - $this->assertEquals( $this->errorlevel, E_USER_WARNING); - $this->smarty->security = $security; - } - -} - -?>