| | 547 | <release> |
|---|
| | 548 | <version> |
|---|
| | 549 | <release>3.1.0b2</release> |
|---|
| | 550 | <api>3.1.0</api> |
|---|
| | 551 | </version> |
|---|
| | 552 | <stability> |
|---|
| | 553 | <release>beta</release> |
|---|
| | 554 | <api>stable</api> |
|---|
| | 555 | </stability> |
|---|
| | 556 | <date>2006-11-21</date> |
|---|
| | 557 | <license uri="http://www.gnu.org/copyleft/lesser.txt">LGPL</license> |
|---|
| | 558 | <notes>Changes since 3.0.x: |
|---|
| | 559 | - allowed more than one namespace |
|---|
| | 560 | - added defaultFunction option, to define a function that is called for unknown functions |
|---|
| | 561 | - added new built-in condition __single |
|---|
| | 562 | - allow quoting variables using \{FOO\} |
|---|
| | 563 | - implemented autoload in Call function |
|---|
| | 564 | - added new system variable: {PAT_ROW_TYPE} = odd|even |
|---|
| | 565 | - added "rowOffset" attribute that determines the starting point of PAT_ROW_VAR |
|---|
| | 566 | - allow usage of $self in the return values of the expression modifier (by Andrew Eddie of Mambo) |
|---|
| | 567 | - added "relative" attribute to load templates relative to the current template (request #89) |
|---|
| | 568 | - the varscope attribute now supports a list of templates |
|---|
| | 569 | - 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) |
|---|
| | 570 | - added clearVar(), clearVars(), clearGlobalVar() and clearGlobalVars() (request #91) |
|---|
| | 571 | - added fourth parameter to addObject() to hide private properties |
|---|
| | 572 | - addObject() now checks, whether an object implements a getVars() method |
|---|
| | 573 | - added experimental XUL dump using PEAR::XML_XUL (needs a lot of love) |
|---|
| | 574 | - added TemplateCaches for MMCache and eAccelerator (contributed by Mike Valstar) |
|---|
| | 575 | - added placeholderExists() method (request #100) |
|---|
| | 576 | - added Truncate Modifier (contributed by Rafa Couto) |
|---|
| | 577 | - StripComments Input Filter now also strips Javascript multiline comments (Tim-Patrick Mᅵrk) |
|---|
| | 578 | - Allow output filters for single templates (using the OutputFilter="..." attribute and applyOutputFilter()) (Request #114) |
|---|
| | 579 | - Add default variable modifiers for a template (Request #92) |
|---|
| | 580 | - Added OutputFilter to highlight PHP code |
|---|
| | 581 | - File Reader: Allow array containing several root directories as template root |
|---|
| | 582 | |
|---|
| | 583 | Changes since 3.1.0a1: |
|---|
| | 584 | - Allow the use of a variable in conditions (<pat:sub condition="{FOO}"/>) |
|---|
| | 585 | - Added new custom function Highlight that is able to apply syntax highlighting to your code (requires PEAR::Text_Highlighter) |
|---|
| | 586 | - Added new custom function Img to create HTML images (contributed by Jens Strobel) |
|---|
| | 587 | - Fixed notice in File reader (argh) |
|---|
| | 588 | - Added parameter for TemplateCache_File to set the filemode (request #127) |
|---|
| | 589 | - Added InputFilter that allows you to use the short variable modifier syntax of Smarty (schst, Axel Stettner) (request #136) |
|---|
| | 590 | - Fixed bug with condition __empty that was used instead of condition 0 (bug #132) |
|---|
| | 591 | - Fixed bug in Dateformat modifier |
|---|
| | 592 | - Fixed bug with condition templates that have __single and __empty defined (bug #138) |
|---|
| | 593 | - Bugfixes and new features in Translate function (bugs #68 and #73) (argh) |
|---|
| | 594 | - Can now set a preconfigured patBBCode object for the BBCode output filter, and added some documentation (argh) |
|---|
| | 595 | - Fixed the module file search that would not go through all defined folders (argh) |
|---|
| | 596 | - Added patch to translate function to allow combining of the translationFile and translationUseFolders options (argh) |
|---|
| | 597 | - Fixed bug #144: StripWhitespace output filter breaks UTF-8 encoded data (schst) |
|---|
| | 598 | - Added DB reader to read templates from any database supported by PEAR::DB (schst) |
|---|
| | 599 | - Fixed bug #74: Attributes "maxloop" and "conditions" causes PHP crash (schst) |
|---|
| | 600 | - Fixed an issue when using clearTemplate() on a template that does not exist (argh) |
|---|
| | 601 | - Fixed bug #150: Notice when enabling the template cache (schst) |
|---|
| | 602 | - Fixed bug #151: Invalid filemode in template cache (patch by Frank Kleine) |
|---|
| | 603 | - Fixed bug #153: pdflatex stops on errors (patch by p_ansell <at> yahoo [dot] com) |
|---|
| | 604 | - Fixed bug with variables that contain only one character (slerman) |
|---|
| | 605 | |
|---|
| | 606 | Changes since 3.1.0a2: |
|---|
| | 607 | - Fixed bug #152 (__single breaks first) (schst) |
|---|
| | 608 | - Allow multiple modifiers per variable (schst) |
|---|
| | 609 | - Implemented request #154: functions as defaults for variables (schst) |
|---|
| | 610 | - Add support for varscope __parent in variable modifier (gERD) |
|---|
| | 611 | - Add support for varscope __parent in variable tag (gERD) |
|---|
| | 612 | - Fixed bug #155: Automatically handle nested objects (schst) |
|---|
| | 613 | |
|---|
| | 614 | Changes since 3.1.0b1: |
|---|
| | 615 | - Fixed problem with condition templates and global variables (gERD) |
|---|
| | 616 | - Added placeholders for variable modifiers (gERD)</notes> |
|---|
| | 617 | </release> |
|---|