| | 631 | <release> |
|---|
| | 632 | <version> |
|---|
| | 633 | <release>3.1.0</release> |
|---|
| | 634 | <api>3.1.0</api> |
|---|
| | 635 | </version> |
|---|
| | 636 | <stability> |
|---|
| | 637 | <release>stable</release> |
|---|
| | 638 | <api>stable</api> |
|---|
| | 639 | </stability> |
|---|
| | 640 | <date>2007-06-02</date> |
|---|
| | 641 | <license uri="http://www.gnu.org/copyleft/lesser.txt">LGPL</license> |
|---|
| | 642 | <notes>Changes since 3.0.x: |
|---|
| | 643 | - allowed more than one namespace |
|---|
| | 644 | - added defaultFunction option, to define a function that is called for unknown functions |
|---|
| | 645 | - added new built-in condition __single |
|---|
| | 646 | - allow quoting variables using \{FOO\} |
|---|
| | 647 | - implemented autoload in Call function |
|---|
| | 648 | - added new system variable: {PAT_ROW_TYPE} = odd|even |
|---|
| | 649 | - added "rowOffset" attribute that determines the starting point of PAT_ROW_VAR |
|---|
| | 650 | - allow usage of $self in the return values of the expression modifier (by Andrew Eddie of Mambo) |
|---|
| | 651 | - added "relative" attribute to load templates relative to the current template (request #89) |
|---|
| | 652 | - the varscope attribute now supports a list of templates |
|---|
| | 653 | - in the requiredvars attribute of a simple condition template it is now possible to specify the exact value of a variable via requiredvars="var=value" (request #93) |
|---|
| | 654 | - added clearVar(), clearVars(), clearGlobalVar() and clearGlobalVars() (request #91) |
|---|
| | 655 | - added fourth parameter to addObject() to hide private properties |
|---|
| | 656 | - addObject() now checks, whether an object implements a getVars() method |
|---|
| | 657 | - added experimental XUL dump using PEAR::XML_XUL (needs a lot of love) |
|---|
| | 658 | - added TemplateCaches for MMCache and eAccelerator (contributed by Mike Valstar) |
|---|
| | 659 | - added placeholderExists() method (request #100) |
|---|
| | 660 | - added Truncate Modifier (contributed by Rafa Couto) |
|---|
| | 661 | - StripComments Input Filter now also strips Javascript multiline comments (Tim-Patrick Mᅵrk) |
|---|
| | 662 | - Allow output filters for single templates (using the OutputFilter="..." attribute and applyOutputFilter()) (Request #114) |
|---|
| | 663 | - Add default variable modifiers for a template (Request #92) |
|---|
| | 664 | - Added OutputFilter to highlight PHP code |
|---|
| | 665 | - File Reader: Allow array containing several root directories as template root |
|---|
| | 666 | |
|---|
| | 667 | Changes since 3.1.0a1: |
|---|
| | 668 | - Allow the use of a variable in conditions (<pat:sub condition="{FOO}"/>) |
|---|
| | 669 | - Added new custom function Highlight that is able to apply syntax highlighting to your code (requires PEAR::Text_Highlighter) |
|---|
| | 670 | - Added new custom function Img to create HTML images (contributed by Jens Strobel) |
|---|
| | 671 | - Fixed notice in File reader (argh) |
|---|
| | 672 | - Added parameter for TemplateCache_File to set the filemode (request #127) |
|---|
| | 673 | - Added InputFilter that allows you to use the short variable modifier syntax of Smarty (schst, Axel Stettner) (request #136) |
|---|
| | 674 | - Fixed bug with condition __empty that was used instead of condition 0 (bug #132) |
|---|
| | 675 | - Fixed bug in Dateformat modifier |
|---|
| | 676 | - Fixed bug with condition templates that have __single and __empty defined (bug #138) |
|---|
| | 677 | - Bugfixes and new features in Translate function (bugs #68 and #73) (argh) |
|---|
| | 678 | - Can now set a preconfigured patBBCode object for the BBCode output filter, and added some documentation (argh) |
|---|
| | 679 | - Fixed the module file search that would not go through all defined folders (argh) |
|---|
| | 680 | - Added patch to translate function to allow combining of the translationFile and translationUseFolders options (argh) |
|---|
| | 681 | - Fixed bug #144: StripWhitespace output filter breaks UTF-8 encoded data (schst) |
|---|
| | 682 | - Added DB reader to read templates from any database supported by PEAR::DB (schst) |
|---|
| | 683 | - Fixed bug #74: Attributes "maxloop" and "conditions" causes PHP crash (schst) |
|---|
| | 684 | - Fixed an issue when using clearTemplate() on a template that does not exist (argh) |
|---|
| | 685 | - Fixed bug #150: Notice when enabling the template cache (schst) |
|---|
| | 686 | - Fixed bug #151: Invalid filemode in template cache (patch by Frank Kleine) |
|---|
| | 687 | - Fixed bug #153: pdflatex stops on errors (patch by p_ansell <at> yahoo [dot] com) |
|---|
| | 688 | - Fixed bug with variables that contain only one character (slerman) |
|---|
| | 689 | |
|---|
| | 690 | Changes since 3.1.0a2: |
|---|
| | 691 | - Fixed bug #152 (__single breaks first) (schst) |
|---|
| | 692 | - Allow multiple modifiers per variable (schst) |
|---|
| | 693 | - Implemented request #154: functions as defaults for variables (schst) |
|---|
| | 694 | - Add support for varscope __parent in variable modifier (gERD) |
|---|
| | 695 | - Add support for varscope __parent in variable tag (gERD) |
|---|
| | 696 | - Fixed bug #155: Automatically handle nested objects (schst) |
|---|
| | 697 | |
|---|
| | 698 | Changes since 3.1.0b1: |
|---|
| | 699 | - Fixed problem with condition templates and global variables (gERD) |
|---|
| | 700 | - Added placeholders for variable modifiers (gERD) |
|---|
| | 701 | |
|---|
| | 702 | Changes since 3.1.0b2: |
|---|
| | 703 | - Fixed bug #164: ShortModifiers filter does not work if copyFrom and additional attributes are used (eddieajau) |
|---|
| | 704 | - Fixed bug #165: ShortModifiers filter is not character set safe (eddieajau) |
|---|
| | 705 | - Added multibyte support to Truncate modifier (gERD) |
|---|
| | 706 | - Added possibility to return UNIX timestamp to DateFormat modifier (gERD) |
|---|
| | 707 | - Fixed a bug when using an __autoload() function in combination with external modules (argh)</notes> |
|---|
| | 708 | </release> |
|---|