#native_company# #native_desc#
#native_cta#

Announcement: Smarty 1.4.0 available

By Monte Ohrt
on May 10, 2001

There are many changes to this release, including runtime compilation of
templates and the support for arbitrary template resources, such as
multiple template directories or databases. Be sure to read the
RELEASE_NOTES, especially if you are upgrading from a prior release.

Monte

http://www.phpinsider.com/php/code/Smarty/


Version 1.4.0
---------------
    - added {capture}{/capture} function, documented (Monte)
    - added {counter} function, documented (Monte) 

Version 1.4.0b2
---------------
    - fixed issue in Config_File.class with referencing blank sections
(Andrei)
    - fixed problem with passing variables to included files (Andrei)
    - fixed resource path recognition for windows (Monte)

Version 1.4.0b1
---------------
    - added "componentized templates" tip into documentation (Monte)
    - added {php}{/php} tags for embedding php code into templates
(Monte)
    - changed default value of $show_info_header to false (Monte)
    - implemented '->' syntax for accessing properties of objects passed
to the
      template. (Andrei)
    - allowed custom functions to receive Smarty object as the second
      parameter; this can be used to dynamically change template
variables, for
      example. (Andrei)
    - added custom compiler functions support,
register_compiler_function() and
      unregister_compiler_function() API functions. (Andrei, Ivo
Jansch).
    - updated GLOBAL_ASSIGN to take SCRIPT_NAME from HTTP_SERVER_VARS
      instead of global variable. You can also assign several variables
      in one shot with an array. (Monte, Roman Neuhauser)
        - added template prefilters, register_prefilter() and
          unregister_prefilter() API functions. (Monte)
    - added RELEASE_NOTES file to distribution. (Monte)
    - moved CREDITS out of manual into its own file. (Monte)
    - added register_resource() and unregister_resource() API functions.
(Monte)
    - changed the syntax of indexing template variables, thus supporting
      structures of arbitrary complexity; supplied fix_vars.php script
to fix
      old syntax. (Andrei)
    - added $insert_tag_check to speed up cached pages if {insert ...}
is not
      used. (Monte)
    - added $compiler_class variable to allow specifying a different
compiler
      class. (Andrei)
    - changed Smarty to compile templates at runtime, allowing for
arbitrary
      template resources. (Monte)
    - added fix for LOCK_EX under Windows and changed a couple of file
      permissions for security. (Monte, Fernando Nunes)
    - allow arbitrary date strings to date_format, html_select_date and
      html_select_time (Monte)