Files
smarty/NEWS

579 lines
26 KiB
Plaintext
Raw Normal View History

2003-03-12 21:56:32 +00:00
- fixed length in modifier.truncate.php (messju)
- fixed handling of '$'-signs in trimwhitespace outputfilter (messju)
2003-03-11 15:31:22 +00:00
- fix bug that makes config files recompile every time
(Nagger, Monte)
2003-03-07 17:06:39 +00:00
- add dpi functionality to html_image, change "name"
parameter to "file" (Thomas Shulz, Monte)
2003-03-06 21:40:14 +00:00
- fix height/width parameter index in html_image (Gerard,
Monte)
- get rid of unsetting name and script attributes
to insert tag (Thomas Schulz, Monte)
2003-03-05 23:57:17 +00:00
- changed argument order of string_format modifier back,
was right in the first place (Monte)
2003-03-05 17:36:41 +00:00
Version 2.5.0-RC1 (March 5, 2003)
---------------------------------
2003-03-03 20:43:29 +00:00
- fixed notice in popup function (Nagger, Monte)
- fix "once" var compiling for include_php (Monte)
2003-02-26 22:16:14 +00:00
- added nl2br modifier to distribution (Monte)
2003-02-24 17:47:05 +00:00
- added html_image to distribution (Monte)
2003-02-26 22:16:14 +00:00
- added cat modifier to distribution (Monte)
- added html_table to distribution (Monte)
- added << >> <> support to if statments (SMK, Monte)
- fix _assign_smarty_interface to not overwrite keys
other than 'request' (Jerome Poudevigne, Monte)
2003-02-24 21:10:01 +00:00
- added html_checkboxes to distribution (Christopher Kvarme, Monte)
2003-02-24 15:36:34 +00:00
- added html_radios to distribution (Christopher Kvarme, Monte)
2003-02-24 15:28:15 +00:00
- fixed string_format modifier args (wrong order) (Paul
Lockaby, Monte)
- use tmp file for file writes, avoid file lock race (Monte)
- support syntax "$`smarty.config.foo`.tpl" for embedded
vars in quotes, and allow full dollar var syntax (Monte)
- add $smarty.config.varname variable for accessing config vars (Paul
Lockaby, Monte)
2003-02-24 14:23:39 +00:00
- silence PHP warnings in function.fetch.php (Eduardo,
Monte)
- added get_config_vars(), same basic functionality as
get_template_vars() (Monte)
- update get_template_vars() to be able to get
individual vars (Monte)
- fix minor logic in _fetch_template_info (Dennis Gearon,
Monte)
- fix cache groups with compile_id set (Monte)
2003-02-20 16:39:36 +00:00
- add support for merging appended vars (messju, Monte)
2003-02-19 15:58:03 +00:00
- allow null as function attribute value
(Andr<64> Rabold, Monte)
2003-02-18 19:58:32 +00:00
- support $foo->bar[index] syntax (Monte)
- add get_registered_object function (messju, Monte)
- treat unrecognized param attribute syntax as string (Monte)
2003-02-17 15:04:43 +00:00
- support $smarty.const.$foo syntax (messju, Monte)
2003-02-17 14:58:36 +00:00
- remove E_NOTICE warnings from debug.tpl,
escape modifier (Kanstantin, Monte)
- don't count non-ascii chars in count_words modifier
(Kanstantin, Monte)
- clean up param calls to _parse_var and _parse_attrs (Monte)
- define $template_source var, elude possible warning
(Monte)
- fix syntax problem with evaluating PHP constants (Monte)
- add @ and === as valid if statement tokens (Monte)
2003-02-14 20:27:46 +00:00
- enable error messages for config_load errors,
use $this->config_class for loading class name (Monte)
- fix html_options to not escape already escaped entities (Monte)
- send Last-Modified header on cache creation (Monte)
- check strict syntax of function attributes (Monte)
- dropped support for modifers on object parameters,
added support for objects as modifier parameters (Monte)
- fixed bug with decimal numbers in if statements (Monte)
2003-02-11 18:35:43 +00:00
Version 2.4.2 (Feb 11, 2003)
----------------------------
2003-02-10 20:59:08 +00:00
- support embedded variables in objects (Monte)
2003-02-10 17:48:38 +00:00
- fix bug with objects with no properties (M Mohr, Monte)
- support full dollar var syntax in quoted text (Monte)
2003-02-10 17:48:38 +00:00
- fixed bug in $smarty.const.FOO introduced in 2.4.1 (M
Mohr, Monte)
2003-02-11 18:35:43 +00:00
Version 2.4.1 (Feb 6, 2003)
---------------------------
2003-02-06 17:34:28 +00:00
2003-02-06 14:37:49 +00:00
- ignore case in IF statements (Rainer Collet, Monte)
2003-02-05 23:22:39 +00:00
- treat undefined constants as null (Ferdinand Beyer, Monte)
- fix problem with inserts and nested fetches
(Rainer Collet, Monte)
- added support for passing params to include_php
(Tim Riley, Monte)
2003-02-03 20:37:33 +00:00
- added support for math operators in if statements (Monte)
- added support for $foo->bar[$x].blah syntax (Monte)
2003-02-11 18:35:43 +00:00
Version 2.4.0 (Feb 2, 2003)
---------------------------
2003-02-02 08:07:57 +00:00
2003-01-30 16:09:53 +00:00
- fix known problems with php tag handling in templates
(recursion, echoing xml tags) (Monte)
2003-01-23 23:33:29 +00:00
- add support for object registration (Monte)
2003-01-30 16:48:55 +00:00
- add debug template to secure_dir, add template_dir
2003-01-23 23:33:29 +00:00
to secure_dir by default (Ferdinand Beyer, Monte)
2003-01-30 16:48:55 +00:00
- added support for assigned object access (Monte)
- fixed bug with directories named '0' (Frank Bauer, Monte)
- add javascript parameter to escape modifier (Monte)
2003-01-30 16:48:55 +00:00
- added calling function line numbers to syntax error
messages in compiler (Monte)
2002-12-19 17:16:03 +00:00
- added support for modifiers to function calls (Monte)
2003-01-30 16:48:55 +00:00
- support return value for custom functions
instead of echoing (but echo still works) (Monte)
- added direct access to constants
via $smarty.const.FOO (Monte)
- added support for passing modifiers
to static values (Monte)
- fix up regex code in compiler, more accurate and
maintainable (Monte)
- added day_value_format to html_select_date (Marcus
Bointon, Monte)
- assigned variables are no longer in global
namespace, saving extract() calls and speeding
up fetch() and display() linearly with no. of
assigned variables (Monte)
- added trimwhitespace output filter to dist. (Monte)
- fix popup function to allow newlines in text (Monte)
- escape html entities in html_options (Monte)
2002-12-10 14:52:07 +00:00
- fixed bug with label for html_options (Monte)
2003-02-02 08:07:57 +00:00
- added config_load API function (Monte)
- added caching to config file loading (Monte)
- added "extra" parameter to mailto function (Monte,
Massimiliano Perantoni)
- added mailto plugin to dist. (Monte)
2003-02-11 18:35:43 +00:00
Version 2.3.1 (Nov 19, 2002)
----------------------------
2002-11-01 15:29:38 +00:00
- added optgroup support to html_options (Monte, Robert
Amos)
- set mtime on compile files so they match source
files (Monte, Peter Bowen)
- added proper support for open_basedir setting
(Monte, Alessandro Astarita)
2002-09-25 15:54:46 +00:00
- added strip variable modifier, updated docs (Monte)
2002-09-24 19:31:58 +00:00
- fixed access to $smarty.x variables as arrays. (Andrei)
2002-09-20 21:19:32 +00:00
- fixed errors with example setup docs (Monte, Matthew
Hagerty)
2002-09-16 15:19:41 +00:00
- added textformat block function (Monte)
2003-02-11 18:35:43 +00:00
Version 2.3.0 (Aug 7, 2002)
---------------------------
2002-08-07 14:57:34 +00:00
- added assign_by_ref() and append_by_ref() functions
2002-08-02 18:23:25 +00:00
(Bob Silva, Monte)
- changed default warning type for plugin errors from
E_USER_WARNING to E_USER_ERROR (Monte)
- added $all_extra, $hour_extra, $minute_extra,
$second_extra and $meridian_extra parameters to
html_select_time function (Rainer Collet, Monte)
- update debug console to print objects (Simon Willison,
Monte)
- fix Config_File class to not error when there are no
sections (Peter Kmet, Monte)
- add default modifier logic (Monte)
- updated popup_init to be xhtml compliant (Tom Oram, Monte)
2002-07-16 15:06:30 +00:00
- fix filename bug with windows (Gary Loescher, Monte)
- add ability to supply expire time in seconds when clearing
cache or compile files (Monte)
- add {debug} plugin to distribution (Monte)
- fixed bug with insert tags, loading from "script" attribute
when caching is enabled (Monte)
- fix bug with debug_tpl file path with Windows (.SMK., Monte)
- fix append() function with string/array problem (Monte)
2003-02-11 18:35:43 +00:00
Version 2.2.0 (July 11, 2002)
-----------------------------
2002-07-09 13:34:19 +00:00
- make debug.tpl work with any delimiter (Monte)
- change logic in assign() and append() to test var names
against != '' instead of empty() (Monte)
- fix PHP notice in append() function (Monte)
- allow $plugins_dir to be an array of directories
(Andreas Kossmeier, Monte)
- move debug.tpl to SMARTY_DIR, add to constructor (Monte)
- fixed warning message in function.assign_debug_info (Monte)
- fixed $template_dir, $compile_dir, $cache_dir, $config_dir,
$plugin_dir to respect include_path (Monte)
- fixed warning message with output filter array (Monte)
2002-06-19 14:44:48 +00:00
- add optional 2nd parameter to date_format, used as
the default date if the passed date is empty (Monte)
- gave $reset a default value in cycle plugin (Monte)
- fixed warnings with html_select_date and timestamp
functions (Monte)
- added support for sub directory exlusion format (Monte)
- added support for grouping by cache_id, compile_id
and segments thereof (Monte)
- changed cache and compile files to human readable
format (Monte)
- remove overlib.js file from distribution (Monte)
- fixed bug with 304 Not Modified response sending
content (Monte)
- fixed cycle function to respect delimiter after
initial setting (Monte)
- update $GLOBALS references to work properly with
track_globals settings (Michal Prinke, Monte)
- fixed bug in math function with call to assign
(Grigory V. Kareev, Monte)
- optimized for loops with count() function calls (Monte)
2002-05-21 19:43:17 +00:00
- add month_value_format attribute to html_select_date
plugin (Gary Loescher, Monte)
- made it possible to use simple variables inside [] for
indexing. (Andrei)
- added "once" attribute to {include_php}. (Monte)
Version 2.1.1
-------------
2002-05-09 14:40:55 +00:00
- added cycle function. (Monte)
- fixed bug with resource testing, and include_path. (Monte)
- fixed a bug with register_outputfilter function. (Monte)
2002-04-30 14:41:36 +00:00
Version 2.1.0
-------------
- introduced output filters. (Andrei)
- changed the way filters are loaded, added load_filter()
API function and $autoload_filters variable. (Andrei)
2002-04-15 17:28:50 +00:00
- added caching logic for expire times per cache file
(Norbert Rocher, Monte)
2002-04-15 14:57:27 +00:00
- fixed html_select_date when field separator is "/"
(Roberto Berto, Monte)
- added YYYY-MM-DD format support to html_select_date
(Jan Rosier, Monte)
2002-04-15 16:40:13 +00:00
- fixed cache_lifetime logic bug, also made -1 = never
expire (Monte)
- fixed directory separator issue for Windows. (Andrei)
- added ability to use simple variables as array indices or
object properties. (Andrei)
- added ability to unregister pre/postfilters plugins at
runtime. (Andrei)
- added 'htmlall' attribute to escape modifier. (Monte)
2002-04-03 19:31:11 +00:00
- added template_exists() API function. (Andrei)
- fixed a problem with using dynamic values for 'file'
attribute of {include_php} tag. (Andrei)
- added $smarty.template variable. (Andrei)
2002-03-28 14:53:17 +00:00
- fixed several plugins that would not work if the plugin
directory was not the default one. (Andrei)
2002-03-26 21:01:52 +00:00
- implemented support for block functions. (Andrei)
- made it possible to assign variables in pre/postfilter
plugins. (Andrei)
2002-03-20 17:15:21 +00:00
Version 2.0.1
-------------
2002-03-20 19:26:03 +00:00
- rename plugin .make_timestamp.php to shared.make_timestamp.php.
(Monte)
- changed crc32() generated values, replace '-' with 'N'. (Monte)
- added support for +/- N syntax in html_select_date year values.
(Monte)
2002-03-19 22:21:49 +00:00
- fixed behavior of inserts with script attribute. (Andrei)
- fixed bug with $smarty.cookies and $smarty.server. (Andrei)
2002-03-20 19:26:03 +00:00
- wordwrap and indent are missing from 2.0 release, now fixed.
(Monte)
2002-03-19 14:57:12 +00:00
- removed show_info_header and show_info_include variables. (Monte)
2002-03-15 07:09:34 +00:00
2002-03-01 21:21:55 +00:00
Version 2.0.0
-------------
- added "eval" function plugin for evaluating variables as
templates. (Monte)
2002-02-22 15:12:00 +00:00
- removed $tpl_file_ext class variable, no longer used. (Monte)
2002-03-01 21:21:55 +00:00
- added "hex" and "hexentity" escape types to escape modifier.
(Monte)
2002-02-18 17:42:11 +00:00
- removed dependency on PEAR. (Andrei)
- update popup_init to accept src attribute. (Monte, Duncan Forrest)
2002-03-01 21:21:55 +00:00
- implemented several optimizations, speeding up Smarty
significantly in most cases. (Andrei,Monte)
2002-01-31 21:27:08 +00:00
- implemented plugin architecture. (Andrei)
2002-03-01 21:21:55 +00:00
- added wordwrap and indent modifiers. (Monte)
- added support for 'If-Modified-Since' headers for cached content.
2002-01-31 20:26:00 +00:00
(Monte)
2002-03-01 21:21:55 +00:00
- removed insert_tag_check class variable, no longer needed. (Monte)
- optimized cache fetches by scanning for insert tags only if they
exist. (Monte)
2002-01-31 20:26:00 +00:00
- fixed bugs in overlib. (Monte, Duncan Forrest)
2001-12-31 19:53:06 +00:00
- fixed a problem with compile_id usage. (Andrei)
2002-03-01 21:21:55 +00:00
- fixed problem with using assigned vars with {include_php ...}
filepath. (Monte)
2001-12-31 19:53:06 +00:00
2001-12-18 16:51:06 +00:00
Version 1.5.2
-------------
2001-12-31 19:53:06 +00:00
- added Smarty object as fifth argument for template resource functions.
2001-12-18 16:51:06 +00:00
(Monte)
2001-12-18 15:18:51 +00:00
- fixed a bug with incorrectly combined cache and compile id in
clear_cache(). (Andrei)
- fixed bug in smarty_make_timestamp introduced in PHP 4.1.0. (Monte)
- fixed bug with cached insert debug timing. (Monte)
- added 'script' attribute to {insert..} which specifies the script that
the insert function can be found in. (Andrei)
- added default template function handler. (Monte)
Version 1.5.1
-------------
- removed error message from the generic _read_file() method, the caller
should take care of that. (Andrei)
- fixed a bug with incorrectly combined cache and compile id. (Andrei)
2001-12-06 22:34:43 +00:00
Version 1.5.0
-------------
- added include_php built-in function, documented. (Monte)
2001-12-03 22:27:04 +00:00
- added trusted_dir functionality, documented. (Monte)
- consolidated secure_dir tests to one function. (Monte)
2001-12-04 20:56:47 +00:00
- prepended _smarty_ to variable names in fetch() class function to avoid
2001-12-03 20:53:56 +00:00
namespace conflicts. (Monte)
- introduced $compile_id class variable that can be used to set persistent
2001-12-03 22:27:04 +00:00
compile identifier across multiple display calls, documented. (Andrei)
2001-12-03 20:20:46 +00:00
- fixed bug with concatenated null cache and compile identifiers. (Andrei)
2001-12-03 22:27:04 +00:00
- added $smarty.section.* syntax for accessing section properties,
documented. (Andrei)
- added custom cache handling function ability, documented. (Monte)
- added assign attribute to include, include_php, insert, fetch, math, and
counter functions, documented. (Monte)
2001-11-29 15:17:57 +00:00
- fixed bug with fetch testing for local file when http address. (Monte)
- fixed bug with counter and skipval setting. (Monte)
- made {config_load ...} merge globals from each config file only once per
scope, thus avoiding several problems. (Andrei)
- added {foreach ...} tag that can be used to iterate through
2001-12-03 22:27:04 +00:00
non-sequential and associative arrays, documented. (Andrei)
- speeded up section property access a bit. (Andrei)
- removed $smarty variable from storage used by normal template variables,
to prevent any problems. (Andrei)
2001-11-20 22:36:56 +00:00
- fixed a bug that could cause parse error with quotes inside literal
blocks. (Andrei, Alexander Belonosov)
2001-12-03 22:27:04 +00:00
- added 'field_array' attribute to html_select_time function, documented.
(Andrei, Michael Caplan)
- documented {section} "max" attribute. (Monte)
- fixed notice message in Smarty_Compiler.class.php. (Monte)
2001-11-27 20:39:13 +00:00
- fixed bug with clear_cache introduced in 1.4.6, third parameter should
default to null. (Monte)
- updated Config_File class to support '\' path separator in OS/2. (Monte,
Francesco Cipriani)
- removed secure_ext setting (not used). (Monte)
2001-11-20 21:20:34 +00:00
- made cache reading process more efficient. (Monte)
- fixed bug, is_cached() now supports new 1.4.6 caching behavior. (Monte)
- update FAQ with mailing list Reply-To header FAQ. (Monte)
- supress error messages for fopen(), fix cache to regenerate if cache
2001-11-20 21:20:34 +00:00
file is not available (i.e. cluster race condition). (Monte)
- added index key example to QUICKSTART guide. (Monte)
2001-11-01 19:51:07 +00:00
Version 1.4.6
-------------
2001-11-01 19:36:50 +00:00
- fixed bug with {assign ...} when passing an empty value. (Monte)
- add more warning message fixes. (Monte, Tara Johnson)
2001-10-26 13:05:53 +00:00
- documentation updates. (Monte)
- update fetch function to give proper warning when fetching a non-readable
2001-10-26 13:05:53 +00:00
or non-existant file. (Monte)
- fixed problem with newline at the end of included templates (Monte, Andrei)
- added feature to regenerate cache if compile_check is enabled and an
2001-10-26 13:05:53 +00:00
involved template or config file gets modified. (Monte)
- added DEBUG execution times to included files: REQUIRES updated debug.tpl
file! (Monte)
2001-10-09 16:29:10 +00:00
- added support for hidden config variables that cannot be read by
templates. (Andrei)
- added execution time to DEBUG console, total and inserts. (Monte)
2001-10-09 16:29:10 +00:00
- fixed bug where DEBUG console would not appear with cached content. (Monte)
2001-09-28 21:39:57 +00:00
- added support for postfilter functions that are applied to compiled
template right after compilation. (Andrei)
2001-09-26 20:40:56 +00:00
- fixed the name of clear_compile_tpl() API function to clear_compiled_tpl.
(Andrei)
- added fix for removing comments so that the line numbers are reported
correctly in case of errors. (patch from Anders Janson)
- made html_options output xhtml compatible code. (Monte, Arnaud Limbourg)
2001-09-19 14:52:08 +00:00
Version 1.4.5
-------------
2001-09-16 20:19:14 +00:00
- update FAQ with index of questions at the top
2001-08-31 14:26:40 +00:00
- update overlib to 3.50, adjust addon code so that the overlib.js
2001-09-06 16:08:38 +00:00
file isn't modified, and not using the mini one. (Monte)
- added many more options to html_select_date. (Alexander Skwar, Andrei)
- added support for generating different compiled templates from the same
source template. (Hans-Peter Oeri, Andrei)
- modified Smarty to pass itself to insert functions as the second
parameter. (Andrei)
- modified Smarty to pass itself to prefilter functions as the second
parameter. (Andrei)
2001-08-09 20:00:34 +00:00
- fixed syntax error when including a non-existant template with security
enabled. (Monte)
2001-07-24 18:39:03 +00:00
- fixed comments handling to allow commenting out template blocks. (Andrei)
- implemented named capture buffers, with results accessible via
$smarty.capture.<name>. (Andrei)
- added ability to index arrays directly by numbers. (Andrei)
- fixed bug with SMARTY_DIR not prepended to Config_File include. (Monte)
2001-07-17 23:32:33 +00:00
2001-07-06 16:14:45 +00:00
Version 1.4.4
-------------
2001-07-24 18:39:03 +00:00
- fixed problem with including insecure templates with security enabled.
(Monte)
- numerous documentation updates. (Monte)
2001-07-06 16:42:07 +00:00
- added ENT_QUOTES to escapement of html. (Monte, Sam Beckwith)
- implemented access to request variables via auto-assigned $smarty
2001-07-24 18:39:03 +00:00
template variable. (Andrei)
- fixed a bug with parsing function arguments inside {if} tags if a comma
was present. (Andrei)
- updated debug console with config file vars. (Monte)
2001-07-24 18:39:03 +00:00
- added SMARTY_DIR constant as an alternative to relying on include_path.
(Monte)
2001-07-24 18:39:03 +00:00
- added popup_init and popup functions (requires overlib.js). (Monte)
- updated debug console with config file vars. (Monte)
- added debugging url control. (Monte)
- added 'quotes' type to escape modifier. (Monte, Mike Krus)
- added 'total' and 'iteration' section properties. (Andrei)
- added 'start', 'max', and 'step' section attributes/properties. (Andrei)
- fixed a bug with security checking of functions inside {if} tags.
(Andrei)
2001-06-21 21:48:03 +00:00
- fixed a bug in Config_File that would incorrectly booleanize values that
weren't really booleans. (Andrei)
Version 1.4.3
-------------
2001-06-19 20:15:24 +00:00
- added regex_replace modifier, documented. (Monte)
2001-06-21 21:48:03 +00:00
- added debugging console feature and custom function assign_debug_info,
documented. (Monte)
- added 'scope' attribute for {config_load}, 'global' is now deprecated but
is still supported. (Andrei)
- reduced template symbol table pollution by moving config array into the
class itself. (Andrei)
- fixed a bug with passing quoted arguments to modifiers inside {if}
statements. (Andrei, Sam Beckwith)
- added security features for third party template editing, documented
(Monte)
- added assign custom function, documented. (Monte)
- fixed bug with template header using version instead of _version. (Monte)
- fixed a problem with putting $ followed by numbers inside {strip} and
{/strip} tags. (Andrei)
2001-05-31 14:33:02 +00:00
- fixed Config_File class to allow empty config paths (defaults to current
directory). (Andrei)
2001-05-31 14:44:28 +00:00
Version 1.4.2
-------------
2001-05-31 14:33:02 +00:00
- move $version to internal variable, remove from docs. (Monte)
- cleaned up compiled templates global scope by moving some variables into
the class itself. (Andrei)
- fixed a bug that would not allow referring to a section in the including
file from the included file. (Andrei)
- configs directory missing from 1.4.1 release, added back in. (Monte)
- added windows include_path setup instructions to FAQ & QUICKSTART.
2001-05-18 22:47:19 +00:00
(Monte)
2001-05-16 19:48:42 +00:00
Version 1.4.1
-------------
- fix LOCK_EX logic for all windows platforms (Monte)
2001-05-15 14:26:12 +00:00
- fixed indexing by section properties with the new syntax. (Andrei)
2001-05-09 14:06:59 +00:00
- updated Smarty to use absolute paths when requiring/including Smarty
components. (Andrei, John Lim)
2001-05-09 13:43:16 +00:00
2001-05-09 13:29:04 +00:00
Version 1.4.0
-------------
2001-05-09 14:06:59 +00:00
- added {capture}{/capture} function, documented (Monte)
- added {counter} function, documented (Monte)
2001-05-02 19:21:10 +00:00
2001-05-02 15:55:58 +00:00
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
---------------
2001-04-26 17:27:40 +00:00
- 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)
2001-04-25 15:35:13 +00:00
- allowed custom functions to receive Smarty object as the second
parameter; this can be used to dynamically change template variables, for
example. (Andrei)
2001-04-24 16:43:05 +00:00
- added custom compiler functions support, register_compiler_function() and
unregister_compiler_function() API functions. (Andrei, Ivo Jansch).
2001-04-24 15:16:14 +00:00
- updated GLOBAL_ASSIGN to take SCRIPT_NAME from HTTP_SERVER_VARS
instead of global variable. You can also assign several variables
2001-04-24 16:43:05 +00:00
in one shot with an array. (Monte, Roman Neuhauser)
2001-05-02 19:21:10 +00:00
- added template prefilters, register_prefilter() and
unregister_prefilter() API functions. (Monte)
2001-04-25 15:49:51 +00:00
- added RELEASE_NOTES file to distribution. (Monte)
- moved CREDITS out of manual into its own file. (Monte)
2001-04-24 16:43:05 +00:00
- 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
2001-04-25 15:49:51 +00:00
used. (Monte)
2001-04-12 21:00:47 +00:00
- added $compiler_class variable to allow specifying a different compiler
class. (Andrei)
2001-04-11 20:12:12 +00:00
- changed Smarty to compile templates at runtime, allowing for arbitrary
2001-04-24 15:16:14 +00:00
template resources. (Monte)
2001-04-24 16:43:05 +00:00
- added fix for LOCK_EX under Windows and changed a couple of file
2001-04-26 17:27:40 +00:00
permissions for security. (Monte, Fernando Nunes)
- allow arbitrary date strings to date_format, html_select_date and
html_select_time (Monte)
2001-04-11 20:12:12 +00:00
Version 1.3.2
-------------
- fixed a bug that caused some nested includes to loop infinitely. (Andrei)
- added optional HTML header to output. (Monte)
2001-03-15 22:18:18 +00:00
- significantly improved config_load performance. (Andrei)
- added format attribute to math function. (Monte)
- added html_select_time custom function. (Andrei)
- fixed minor PHP warning when attempting to unset an unset variable
(Monte)
- added count_characters, count_words, count_sentences, count_paragraphs
modifiers (Monte)
2001-03-08 20:34:30 +00:00
Version 1.3.1pl1
2001-03-08 20:28:39 +00:00
--------------
- bug fix, recovered missing _syntax_error function (Monte)
2001-03-08 20:28:39 +00:00
2001-03-07 04:52:27 +00:00
Version 1.3.1
-------------
2001-03-02 22:54:21 +00:00
- document first, last, index_prev, index_next (Monte)
- added 'first' and 'last' section properties. (Andrei)
- split out compiling code to separate class for faster template execution
time (Monte)
2001-03-02 22:54:21 +00:00
- fixed a couple of minor PHP warnings (Monte)
- added and documented unregister_modifier() and unregister_function() API
calls. (Monte)
- added and documented 'fetch' and 'math' functions. (Monte)
- added ability to index looped variables by section properties, e.g.
$foo.index_prev/bar. (Andrei)
- added index_prev and index_next section properties. (Andrei)
- fixed issue with php executing in literal blocks. (Monte)
Version 1.3.0
-------------
2001-02-21 20:31:17 +00:00
- moved license from GPL to LGPL (Monte)
2001-02-21 20:23:38 +00:00
- implemented workaround for PHP "feature" that eats carriage returns
if the PHP tag is at the end of the line. (Andrei)
2001-02-21 19:39:43 +00:00
- removed $allow_php, added $php_handling logic (Monte)
2001-02-07 23:08:00 +00:00
- added file locking to prevent reader/writer problem. (Andrei)
2001-02-02 16:55:55 +00:00
- made Smarty catch unimplemented modifiers and custom functions and output
error messages during compilation instead of failing during run time.
(Andrei)
- removed short-tags at the top of the smarty scripts (Monte)
2001-02-21 19:39:43 +00:00
- added register_function() and register_modifier() API calls to make
registering stuff easier. (Andrei)
- added template results caching capability. (Monte, Andrei)
2001-01-31 22:56:48 +00:00
- added optional 'options' attribute to html_options custom function
that allows passing associative arrays for values/output. (Andrei)
- modifier arguments can now contain '|' and ':' characters inside quoted
strings. (Andrei)
Version 1.2.2
-------------
- fixed bug that would not respect nested template directories and would
put all compiled files into top-level one. (Andrei)
- fixed bug using $PHP_VERSION instead of environment var PHP_VERSION.
(Monte)
2001-01-31 22:59:27 +00:00
- a couple small warning fixes. (Monte)
Version 1.2.1
-------------
2001-01-31 22:59:27 +00:00
- added $compile_dir, removed $compile_dir_ext, simplified usage. (Monte)
- added tips & tricks chapter to documentation. (Monte)
- misc documentation updates. (Monte)
2001-01-26 16:11:21 +00:00
Version 1.2.0
-------------
2001-01-30 20:41:09 +00:00
- updated documentation (Monte)
- added file and line number information to syntax error messages. (Andrei)
- added ability to index template vars by a key. (Andrei)
2001-01-26 15:16:47 +00:00
2001-01-25 23:21:01 +00:00
Version 1.1.0
-------------
2001-01-30 20:41:09 +00:00
- misc documentation changes, official stable release
2001-01-25 23:21:01 +00:00
Version 1.0b
------------
2001-01-30 20:41:09 +00:00
- fixed the bug that prevented using non-array values for 'loop' attribute.
(Andrei)
- many misc documentation changes & additions (Monte)
2001-01-22 15:29:36 +00:00
2001-01-19 14:44:49 +00:00
Version 1.0a
------------
2001-01-26 16:31:54 +00:00
- fixed bug that caused templates to recompile every time (Monte)
2001-01-19 14:44:49 +00:00
Version 1.0
------------
2001-01-26 16:31:54 +00:00
- initial release
2001-12-04 20:56:47 +00:00
/* vim: set et tw=64 ft=changelog: */