Smarty 2.6.7 Released

Version 2.6.7 (Feb 3, 2005)  download it here.
---------------------------

  - fix handling of hashed opening php-tags inside strip-blocks (messju)
  - removed border tag from html_image function (monte)
  - change escape:url use rawurlencode() instead of urlencode() (messju)
  - make $smarty.const.FOO compile to "FOO", and not to "constant('foo')".
    this is less code and a little faster execution. note that undefined
    constants are now displayed as the constant's name. (messju)
  - make block functions and registered objects' block methods use a
    local variable for block_content instead of a property of $smarty (messju)
  - fix escaping in the generated code that calls smarty_core_load_plugins
    (jes5199, messju)
  - fix invalid HTML issue with popup (Stefanos Harhalakis,
    Monte)
  - fixed {popup} to properly handle inarray and function parameters and added
    support for mouseoff and followmouse options (boots)

Version 2.6.6 (Oct 13, 2004)
----------------------------

  - fixed nocache-handling with nested includes (Lars Jankowfsky, messju)
  - moved /libs/core to /libs/internals (boots)
  - fixed more parsing problems (messju)

Version 2.6.5 (Sept 13, 2004)
-----------------------------

  - fixed some parsing problems with object calls introduced
    in 2.6.4 (Monte)
  - add $smarty->security_settings['ALLOW_CONSTANTS']. note: this
    defaults to false which means you have to allow them explicitly
    in your secured templates from now on! (messju)

Version 2.6.4 (Sept 7, 2004)
----------------------------

  - add $smarty.ldelim and $smarty.rdelim to smarty special var (Monte)
  - fall back to old uniqid()-behaviour when tempnam() fails in
    core.write_file.php (messju)
  - fix capitalize modifier, don't rely on buggy ucwords (Monte)
  - make html_select_date work with negative timestamps, also
    force year range to include given date unless explicitly
    set (Garo, Monte)
  - fix bug with {fetch}, passing user/pass in url did not work
    (Monte)
  - fix occasional wrong error messages on mismatched tags when
    {else}, {elseif}, {foreachelse} or {sectionelse} is involved (messju)
  - fix handling of methods arguments (messju, Manfred Wischin)
  - remove touch() call that made the compiled-template's timestamp the
    same as the source-template's one. (messju)
  - add assign attribute to html_checkboxes and html_radios
    (pcg, Monte)
  - remove non-xhtml conformant tag from mailto function
    (tacker, Monte)
  - handle date_format codes %e, %T and %D for windows (tip,
    Monte)
  - fix unnecessary call to smarty_core_get_include_path() inside
    Smarty::_get_auto_filename() (c960657, messju)
  - add error-messages when anything else than an identifier is passed
    to foreach's key- or item-attribute (messju)
  - fix handling of digits inside tagnames (messju)
  - fix escaping of backslashes in Smarty_Compiler::_quote_replace() (messju)

Version 2.6.3 (June 16, 2004)
-----------------------------

  - added escapement of '</' to '<\/' in escape:javascript
    modifier (c960657, Monte)
  - added obfuscation of protocol-string in {mailto} when using hex-
    encoding (bharat, messju)
  - enhanced auto-generated filenames for templates_c and cache (messju)
  - add 'nonstd' to escape modifier for escaping non-std chars,
    such as ms doc quote (Monte)
  - adjusted textformat to not output wrap chars after last para
    (Monte)
  - use tempnam() instead of unqid() to create better temporary files in
    smarty_core_write_file() (xces, messju)
  - add 'mail' to escape modifier for safe display of e-mail
    addresses (Monte)
  - add cycle function attribute "reset" to english docs (Monte)
  - enhanced support of numeric constants as variable-expressions (messju)
  - add case decentity to smarty_modifier_escape() (Konstantin A. Pelepelin,
    messju)
  - make smarty_core_write_compiled_include() php5-aware (messju)
  - removed unused functionality to load a subset of lines from a file (messju)
  - fix is_secure() should only check if a file is_readable, not if
    the directory where it is in is readable (sagi, messju)
  - fix problem displaying debug console when $default_resource_type
    is not "file:" (c960657, Monte)
  - fix permission handling with security and config_load (messju)
  - removed '.' from the list of default template locations in
    _parse_resource_name() (messju)
  - fix avoid warning with template_exists() on an absolute paths (messju)
  - fix parameters passed to resource's secure()-function (messju)
  - fix handling of integer values like width and delay im
    smarty_function_popup() (messju)

Version 2.6.2 (Feb 17, 2004)
----------------------------

  - fix allow empty years, months and days in html_select_date's
    time-attribute (messju)
  - fix YES and NO should not be booleanized inside triple-quotes in a
    config-file (messju)
  - fix accidently slurped line following a triple-quoted value in a
    config-file (messju)
  - change default for use_sub_dirs to false (messju)
  - fix quoting of values in smarty_function_popup() (messju)
  - fix handling of hidden sections in Config_File (messju)
  - add handling of resources for {config_load} (messju)
  - fix bug when using arrays with tr_attr and td_attr in {html_table} (messju)
  - add unit testing to cvs core (Monte)

Version 2.6.1 (Jan 16, 2004)
----------------------------

  - rename $smarty->tpl_error_reporting to $smarty->error_reporting
    (messju)
  - fix interpretation of $smarty->security in {html_image} (messju)
  - add caching of requested paths to _assemble_plugin_filepath() (messju)
  - fix handling of comments inside {php}- and {literal}-blocks (messju)
  - fix bug handling triple-quotes in config-files (BRDude, messju)
  - change default of request_use_auto_globals to true - $_SERVER is
    now preferred over $HTTP_SERVER_VARS (messju)
  - re-add support for $SCRIPT_NAME (messju)
  - reactivate $smarty->default_modifiers (messju)
  - add cookie persistance to debug console (Monte)
  - allow single-digit days and months without smarty_make_timestamp()
    in html_select_date (messju)
  - fix headers sent erroneously with cache_modified_check and fetch()
    (wphilips, messju)
  - fix config_file path bug (Marc Cabadas, Monte)
  - fix 'is even by' and 'is odd by' logic (Monte)
  - add day_empty, month_empty, year_empty and all_empty attributes to
    html_select_date (messju)
  - add table of explanation for {if} qualifiers in docs (boots)
  - fix bug when comparing array-keys to "selected" in html_options
    and html_checkboxes (messju)
  - add better checks for correctly nested tags when compiling (messju)
  - remove {$SCRIPT_NAME}. use {$smarty.server.SCRIPT_NAME} instead (messju)
  - remove $global_assign. assign global variables explicitly instead (messju)
  - fix example for count_characters in docs (boots)
  - add section new basic syntax section "Escaping Smarty Parsing" in docs (boots)
  - fix error handler call in config_load (boots)
  - remove warning in debug_print_var on php-resources (messju)
  - move function.assign.php to compiler.assign.php (messju)
  - add property $tpl_error_reporting (messju)
  - remove property $undefined. "null" is used literally instead (messju)
Äàòà: 03.02.2005  
Àâòîð: smarty.php.net