root/tags/RELEASE_3_1_0A2/package.xml

Revision 431, 25.5 kB (checked in by schst, 2 years ago)

Updated package xml to new release

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
3 <package version="1.0" packagerversion="1.4.10">
4  <name>patTemplate</name>
5  <summary>Powerful templating engine.</summary>
6  <description>patTemplate is a powerful, non-compiling templating engine, that uses XML tags to divide a document into different parts.
7 It provides different template types to emulate if/else and switch/case constructs, variable modifiers,
8 input- and output filters and several more useful features.
9  </description>
10  <maintainers>
11   <maintainer>
12    <user>schst</user>
13    <name>Stephan Schmidt</name>
14    <email>schst@php-tools.net</email>
15    <role>lead</role>
16   </maintainer>
17   <maintainer>
18    <user>argh</user>
19    <name>Sebastian Mordziol</name>
20    <email>argh@php-tools.net</email>
21    <role>contributor</role>
22   </maintainer>
23   </maintainers>
24  <release>
25   <version>3.1.0a2</version>
26   <date>2006-08-06</date>
27   <license>LGPL</license>
28   <state>alpha</state>
29   <notes>Changes since 3.0.x:
30 - allowed more than one namespace
31 - added defaultFunction option, to define a function that is called for unknown functions
32 - added new built-in condition __single
33 - allow quoting variables using {FOO\}
34 - implemented autoload in Call function
35 - added new system variable: {PAT_ROW_TYPE} = odd|even
36 - added &quot;rowOffset&quot; attribute that determines the starting point of PAT_ROW_VAR
37 - allow usage of $self in the return values of the expression modifier (by Andrew Eddie of Mambo)
38 - added &quot;relative&quot; attribute to load templates relative to the current template (request #89)
39 - the varscope attribute now supports a list of templates
40 - in the requiredvars attribute of a simple condition template it is now possible to specify the exact value of a variable via requiredvars=&quot;var=value&quot; (request #93)
41 - added clearVar(), clearVars(), clearGlobalVar() and clearGlobalVars() (request #91)
42 - added fourth parameter to addObject() to hide private properties
43 - addObject() now checks, whether an object implements a getVars() method
44 - added experimental XUL dump using PEAR::XML_XUL (needs a lot of love)
45 - added TemplateCaches for MMCache and eAccelerator (contributed by Mike Valstar)
46 - added placeholderExists() method (request #100)
47 - added Truncate Modifier (contributed by Rafa Couto)
48 - StripComments Input Filter now also strips Javascript multiline comments (Tim-Patrick Mᅵrk)
49 - Allow output filters for single templates (using the OutputFilter=&quot;...&quot; attribute and applyOutputFilter()) (Request #114)
50 - Add default variable modifiers for a template (Request #92)
51 - Added OutputFilter to highlight PHP code
52 - File Reader: Allow array containing several root directories as template root
53
54 Changes since 3.1.0a1:
55 - Allow the use of a variable in conditions (&lt;pat:sub condition=&quot;{FOO}&quot;/&gt;)
56 - Added new custom function Highlight that is able to apply syntax highlighting to your code (requires PEAR::Text_Highlighter)
57 - Added new custom function Img to create HTML images (contributed by Jens Strobel)
58 - Fixed notice in File reader (argh)
59 - Added parameter for TemplateCache_File to set the filemode (request #127)
60 - Added InputFilter that allows you to use the short variable modifier syntax of Smarty (schst, Axel Stettner) (request #136)
61 - Fixed bug with condition __empty that was used instead of condition 0 (bug #132)
62 - Fixed bug in Dateformat modifier
63 - Fixed bug with condition templates that have __single and __empty defined (bug #138)
64 - Bugfixes and new features in Translate function (bugs #68 and #73) (argh)
65 - Can now set a preconfigured patBBCode object for the BBCode output filter, and added some documentation (argh)
66 - Fixed the module file search that would not go through all defined folders (argh)
67 - Added patch to translate function to allow combining of the translationFile and translationUseFolders options (argh)
68 - Fixed bug #144: StripWhitespace output filter breaks UTF-8 encoded data (schst)
69 - Added DB reader to read templates from any database supported by PEAR::DB (schst)
70 - Fixed bug #74: Attributes &quot;maxloop&quot; and &quot;conditions&quot; causes PHP crash (schst)
71 - Fixed an issue when using clearTemplate() on a template that does not exist (argh)
72 - Fixed bug #150: Notice when enabling the template cache (schst)
73 - Fixed bug #151: Invalid filemode in template cache (patch by Frank Kleine)
74 - Fixed bug #153: pdflatex stops on errors (patch by p_ansell &lt;at&gt; yahoo [dot] com)
75 - Fixed bug with variables that contain only one character (slerman)
76   </notes>
77   <deps>
78    <dep type="pkg" rel="has" optional="no">patError</dep>
79    <dep type="php" rel="ge" version="4.2.0" optional="no"/>
80    <dep type="pkg" rel="has" optional="yes">patBBCode</dep>
81    <dep type="pkg" rel="ge" version="0.8.1" optional="yes">XML_XUL</dep>
82    <dep type="pkg" rel="has" optional="yes">Text_Highlighter</dep>
83   </deps>
84   <filelist>
85    <dir name="/" baseinstalldir="pat">
86     <dir name="docs">
87      <file role="doc" name="bc-break.txt"/>
88      <file role="doc" name="extending-pattemplate.txt"/>
89      <file role="doc" name="news.txt"/>
90      <file role="doc" name="notes.txt"/>
91      <file role="doc" name="reserved-variables.txt"/>
92      <file role="doc" name="what-is-what.txt"/>
93     </dir> <!-- /docs -->
94     <dir name="examples">
95      <dir name="BBCode">
96       <dir name="Filters">
97        <dir name="Date">
98         <file role="doc" name="_folder.txt"/>
99        </dir> <!-- /examples/BBCode/Filters/Date -->
100        <dir name="Emoticon">
101         <dir name="Text">
102          <file role="doc" name="Beard.bbt"/>
103          <file role="doc" name="Crying.bbt"/>
104          <file role="doc" name="Diving.bbt"/>
105          <file role="doc" name="Happy.bbt"/>
106          <file role="doc" name="Ouch.bbt"/>
107          <file role="doc" name="Think.bbt"/>
108          <file role="doc" name="Tongue.bbt"/>
109          <file role="doc" name="Vampire.bbt"/>
110         </dir> <!-- /examples/BBCode/Filters/Emoticon/Text -->
111        </dir> <!-- /examples/BBCode/Filters/Emoticon -->
112        <dir name="Link">
113         <file role="doc" name="Inline.bbt"/>
114         <file role="doc" name="Standalone.bbt"/>
115        </dir> <!-- /examples/BBCode/Filters/Link -->
116        <dir name="Php">
117         <file role="doc" name="_folder.txt"/>
118        </dir> <!-- /examples/BBCode/Filters/Php -->
119       </dir> <!-- /examples/BBCode/Filters -->
120       <dir name="Tagtemplates">
121        <file role="doc" name="b.bbt"/>
122        <file role="doc" name="br.bbt"/>
123        <file role="doc" name="em.bbt"/>
124        <file role="doc" name="head.bbt"/>
125        <file role="doc" name="p.bbt"/>
126        <file role="doc" name="quote.bbt"/>
127       </dir> <!-- /examples/BBCode/Tagtemplates -->
128      </dir> <!-- /examples/BBCode -->
129      <dir name="data">
130       <file role="doc" name="example_function_translate.tmpl-de.ini"/>
131       <file role="doc" name="example_function_translate.tmpl-default.ini"/>
132       <file role="doc" name="example_function_translate2.tmpl-de.ini"/>
133       <file role="doc" name="example_function_translate2.tmpl-default.ini"/>
134      </dir> <!-- /examples/data -->
135      <dir name="img">
136       <file role="doc" name="pb_pattemplate.gif"/>
137      </dir> <!-- /examples/img -->
138      <dir name="sql">
139       <file role="doc" name="templates.sql"/>
140      </dir> <!-- /examples/sql -->
141      <dir name="templates">
142       <dir name="components">
143        <file role="doc" name="hint.tmpl"/>
144        <file role="doc" name="news.tmpl"/>
145       </dir> <!-- /examples/templates/components -->
146       <dir name="relative">
147        <file role="doc" name="example_attributes_relative.tmpl"/>
148        <file role="doc" name="example_attributes_relative_footer.tmpl"/>
149        <file role="doc" name="example_attributes_relative_header.tmpl"/>
150        <file role="doc" name="example_attributes_relative_main.tmpl"/>
151        <file role="doc" name="example_attributes_relative_main2.tmpl"/>
152       </dir> <!-- /examples/templates/relative -->
153       <file role="doc" name="example_api_addglobalvar.tmpl"/>
154       <file role="doc" name="example_api_addobject.tmpl"/>
155       <file role="doc" name="example_api_addvar.tmpl"/>
156       <file role="doc" name="example_api_cleartemplate.tmpl"/>
157       <file role="doc" name="example_api_displayparsedtemplate.tmpl"/>
158       <file role="doc" name="example_api_displayparsedtemplate2.tmpl"/>
159       <file role="doc" name="example_api_freetemplate.tmpl"/>
160       <file role="doc" name="example_api_loadtemplate.tmpl"/>
161       <file role="doc" name="example_api_loadtemplate_main.tmpl"/>
162       <file role="doc" name="example_api_parseintovar.tmpl"/>
163       <file role="doc" name="example_api_placeholderexists.tmpl"/>
164       <file role="doc" name="example_api_readtemplatesfrominput.tmpl"/>
165       <file role="doc" name="example_api_setattribute.tmpl"/>
166       <file role="doc" name="example_attributes_addsystemvars.tmpl"/>
167       <file role="doc" name="example_attributes_limit.tmpl"/>
168       <file role="doc" name="example_attributes_loop.tmpl"/>
169       <file role="doc" name="example_attributes_rowoffset.tmpl"/>
170       <file role="doc" name="example_attributes_src.tmpl"/>
171       <file role="doc" name="example_attributes_src_footer.tmpl"/>
172       <file role="doc" name="example_attributes_src_header.tmpl"/>
173       <file role="doc" name="example_attributes_src_main.tmpl"/>
174       <file role="doc" name="example_attributes_unusedvars.tmpl"/>
175       <file role="doc" name="example_attributes_useglobals.tmpl"/>
176       <file role="doc" name="example_attributes_varscope.tmpl"/>
177       <file role="doc" name="example_attributes_varscope_multiple.tmpl"/>
178       <file role="doc" name="example_attributes_whitespace.tmpl"/>
179       <file role="doc" name="example_cache_template_file.tmpl"/>
180       <file role="doc" name="example_compiler_display.tmpl"/>
181       <file role="doc" name="example_dump_dhtml.tmpl"/>
182       <file role="doc" name="example_filter_input_stripcomments.tmpl"/>
183       <file role="doc" name="example_filter_output_bbcode.tmpl"/>
184       <file role="doc" name="example_filter_output_multiple.tmpl"/>
185       <file role="doc" name="example_filter_output_per_template.tmpl"/>
186       <file role="doc" name="example_filter_output_tidy.tmpl"/>
187       <file role="doc" name="example_function_aliases.tmpl"/>
188       <file role="doc" name="example_function_attribute.tmpl"/>
189       <file role="doc" name="example_function_call.tmpl"/>
190       <file role="doc" name="example_function_default.tmpl"/>
191       <file role="doc" name="example_function_highlight.tmpl"/>
192       <file role="doc" name="example_function_phphighlight.tmpl"/>
193       <file role="doc" name="example_function_strip.tmpl"/>
194       <file role="doc" name="example_function_time.tmpl"/>
195       <file role="doc" name="example_function_translate.tmpl"/>
196       <file role="doc" name="example_function_translate2.tmpl"/>
197       <file role="doc" name="example_misc_autonaming.tmpl"/>
198       <file role="doc" name="example_misc_dotsyntax.tmpl"/>
199       <file role="doc" name="example_misc_maintainbc.tmpl"/>
200       <file role="doc" name="example_misc_namespace.tmpl"/>
201       <file role="doc" name="example_misc_quote.tmpl"/>
202       <file role="doc" name="example_reader_file_multiple.tmpl"/>
203       <file role="doc" name="example_reader_it.tmpl"/>
204       <file role="doc" name="example_realworld_changesource.tmpl"/>
205       <file role="doc" name="example_realworld_changesource_home.tmpl"/>
206       <file role="doc" name="example_realworld_expression.tmpl"/>
207       <file role="doc" name="example_realworld_hiddenvar.tmpl"/>
208       <file role="doc" name="example_realworld_img.tmpl"/>
209       <file role="doc" name="example_realworld_list.tmpl"/>
210       <file role="doc" name="example_realworld_nestedvars.tmpl"/>
211       <file role="doc" name="example_realworld_paginate.tmpl"/>
212       <file role="doc" name="example_realworld_table.tmpl"/>
213       <file role="doc" name="example_realworld_table_from_list.tmpl"/>
214       <file role="doc" name="example_realworld_varscopeparent.tmpl"/>
215       <file role="doc" name="example_tags_comment.tmpl"/>
216       <file role="doc" name="example_tags_link.tmpl"/>
217       <file role="doc" name="example_tags_sub.tmpl"/>
218       <file role="doc" name="example_tags_tmpl.tmpl"/>
219       <file role="doc" name="example_tags_var.tmpl"/>
220       <file role="doc" name="example_type_condition.tmpl"/>
221       <file role="doc" name="example_type_condition_variable.tmpl"/>
222       <file role="doc" name="example_type_modulo.tmpl"/>
223       <file role="doc" name="example_type_modulo_empty.tmpl"/>
224       <file role="doc" name="example_type_modulo_single.tmpl"/>
225       <file role="doc" name="example_type_oddeven.tmpl"/>
226       <file role="doc" name="example_type_simplecondition.tmpl"/>
227       <file role="doc" name="example_type_standard.tmpl"/>
228       <file role="doc" name="example_var_copyfrom.tmpl"/>
229       <file role="doc" name="example_var_global.tmpl"/>
230       <file role="doc" name="example_var_modifier.tmpl"/>
231       <file role="doc" name="example_var_modifier_default.tmpl"/>
232       <file role="doc" name="example_var_modifier_short.tmpl"/>
233      </dir> <!-- /examples/templates -->
234      <dir name="templates-2">
235       <file role="doc" name="example_reader_file_multiple2.tmpl"/>
236      </dir> <!-- /examples/templates-2 -->
237      <dir name="tmplCache">
238       <file role="doc" name="9c507a08e3de6c5ae426fbf0bcc388be.cache"/>
239       <file role="doc" name="readme.txt"/>
240      </dir> <!-- /examples/tmplCache -->
241      <file role="doc" name="example_api_addglobalvar.php"/>
242      <file role="doc" name="example_api_addobject.php"/>
243      <file role="doc" name="example_api_addvar.php"/>
244      <file role="doc" name="example_api_cleartemplate.php"/>
245      <file role="doc" name="example_api_displayparsedtemplate.php"/>
246      <file role="doc" name="example_api_freetemplate.php"/>
247      <file role="doc" name="example_api_loadtemplate.php"/>
248      <file role="doc" name="example_api_parseintovar.php"/>
249      <file role="doc" name="example_api_placeholderexists.php"/>
250      <file role="doc" name="example_api_readtemplatesfrominput.php"/>
251      <file role="doc" name="example_api_setattribute.php"/>
252      <file role="doc" name="example_attributes_addsystemvars.php"/>
253      <file role="doc" name="example_attributes_limit.php"/>
254      <file role="doc" name="example_attributes_loop.php"/>
255      <file role="doc" name="example_attributes_relative.php"/>
256      <file role="doc" name="example_attributes_rowoffset.php"/>
257      <file role="doc" name="example_attributes_src.php"/>
258      <file role="doc" name="example_attributes_unusedvars.php"/>
259      <file role="doc" name="example_attributes_useglobals.php"/>
260      <file role="doc" name="example_attributes_varscope.php"/>
261      <file role="doc" name="example_attributes_varscope_multiple.php"/>
262      <file role="doc" name="example_attributes_whitespace.php"/>
263      <file role="doc" name="example_cache_template_file.php"/>
264      <file role="doc" name="example_compiler_display.php"/>
265      <file role="doc" name="example_condition_basic.php"/>
266      <file role="doc" name="example_dump_dhtml.php"/>
267      <file role="doc" name="example_dump_xul.php"/>
268      <file role="doc" name="example_filter_input_stripcomments.php"/>
269      <file role="doc" name="example_filter_output_bbcode.php"/>
270      <file role="doc" name="example_filter_output_multiple.php"/>
271      <file role="doc" name="example_filter_output_per_template.php"/>
272      <file role="doc" name="example_filter_output_tidy.php"/>
273      <file role="doc" name="example_function_aliases.php"/>
274      <file role="doc" name="example_function_attribute.php"/>
275      <file role="doc" name="example_function_call.php"/>
276      <file role="doc" name="example_function_call_autoload.php"/>
277      <file role="doc" name="example_function_default.php"/>
278      <file role="doc" name="example_function_highlight.php"/>
279      <file role="doc" name="example_function_phphighlight.php"/>
280      <file role="doc" name="example_function_strip.php"/>
281      <file role="doc" name="example_function_time.php"/>
282      <file role="doc" name="example_function_translate.php"/>
283      <file role="doc" name="example_misc_autonaming.php"/>
284      <file role="doc" name="example_misc_dotsyntax.php"/>
285      <file role="doc" name="example_misc_maintainbc.php"/>
286      <file role="doc" name="example_misc_namespace.php"/>
287      <file role="doc" name="example_misc_quote.php"/>
288      <file role="doc" name="example_reader_combined.php"/>
289      <file role="doc" name="example_reader_db.php"/>
290      <file role="doc" name="example_reader_file_multiple.php"/>
291      <file role="doc" name="example_reader_it.php"/>
292      <file role="doc" name="example_reader_string.php"/>
293      <file role="doc" name="example_realworld_changesource.php"/>
294      <file role="doc" name="example_realworld_expression.php"/>
295      <file role="doc" name="example_realworld_hiddenvar.php"/>
296      <file role="doc" name="example_realworld_img.php"/>
297      <file role="doc" name="example_realworld_list.php"/>
298      <file role="doc" name="example_realworld_nestedvars.php"/>
299      <file role="doc" name="example_realworld_paginate.php"/>
300      <file role="doc" name="example_realworld_table.php"/>
301      <file role="doc" name="example_realworld_table_from_list.php"/>
302      <file role="doc" name="example_realworld_varscopeparent.php"/>
303      <file role="doc" name="example_tags_comment.php"/>
304      <file role="doc" name="example_tags_link.php"/>
305      <file role="doc" name="example_tags_sub.php"/>
306      <file role="doc" name="example_tags_tmpl.php"/>
307      <file role="doc" name="example_tags_var.php"/>
308      <file role="doc" name="example_type_condition.php"/>
309      <file role="doc" name="example_type_condition_variable.php"/>
310      <file role="doc" name="example_type_modulo.php"/>
311      <file role="doc" name="example_type_modulo_empty.php"/>
312      <file role="doc" name="example_type_modulo_single.php"/>
313      <file role="doc" name="example_type_oddeven.php"/>
314      <file role="doc" name="example_type_simplecondition.php"/>
315      <file role="doc" name="example_type_standard.php"/>
316      <file role="doc" name="example_var_copyfrom.php"/>
317      <file role="doc" name="example_var_global.php"/>
318      <file role="doc" name="example_var_modifier.php"/>
319      <file role="doc" name="example_var_modifier_default.php"/>
320      <file role="doc" name="example_var_modifier_short.php"/>
321      <file role="doc" name="index.php"/>
322      <file role="doc" name="index_main.php"/>
323      <file role="doc" name="index_nav.php"/>
324      <file role="doc" name="index_sections.php"/>
325      <file role="doc" name="_dumpTemplate.php"/>
326      <file role="doc" name="_styles.css"/>
327      <file role="doc" name="_viewExample.php"/>
328     </dir> <!-- /examples -->
329     <dir name="patTemplate">
330      <dir name="Dump">
331       <file role="php" name="Html.php"/>
332       <file role="php" name="XUL.php"/>
333      </dir> <!-- /patTemplate/Dump -->
334      <dir name="Function">
335       <file role="php" name="Alias.php"/>
336       <file role="php" name="Attribute.php"/>
337       <file role="php" name="Call.php"/>
338       <file role="php" name="Globalvar.php"/>
339       <file role="php" name="Highlight.php"/>
340       <file role="php" name="Img.php"/>
341       <file role="php" name="Phphighlight.php"/>
342       <file role="php" name="Strip.php"/>
343       <file role="php" name="Time.php"/>
344       <file role="php" name="Translate.php"/>
345      </dir> <!-- /patTemplate/Function -->
346      <dir name="InputFilter">
347       <file role="php" name="ShortModifiers.php"/>
348       <file role="php" name="StripComments.php"/>
349      </dir> <!-- /patTemplate/InputFilter -->
350      <dir name="Modifier">
351       <dir name="HTML">
352        <file role="php" name="Img.php"/>
353       </dir> <!-- /patTemplate/Modifier/HTML -->
354       <file role="php" name="Dateformat.php"/>
355       <file role="php" name="Expression.php"/>
356       <file role="php" name="Numberformat.php"/>
357       <file role="php" name="QuoteLatex.php"/>
358       <file role="php" name="Surround.php"/>
359       <file role="php" name="Truncate.php"/>
360       <file role="php" name="Wordwrapper.php"/>
361      </dir> <!-- /patTemplate/Modifier -->
362      <dir name="OutputFilter">
363       <file role="php" name="BBCode.php"/>
364       <file role="php" name="Gzip.php"/>
365       <file role="php" name="HighlightPhp.php"/>
366       <file role="php" name="PdfLatex.php"/>
367       <file role="php" name="StripWhitespace.php"/>
368       <file role="php" name="Tidy.php"/>
369      </dir> <!-- /patTemplate/OutputFilter -->
370      <dir name="Reader">
371       <file role="php" name="DB.php"/>
372       <file role="php" name="File.php"/>
373       <file role="php" name="IT.php"/>
374       <file role="php" name="String.php"/>
375      </dir> <!-- /patTemplate/Reader -->
376      <dir name="Stat">
377       <file role="php" name="File.php"/>
378      </dir> <!-- /patTemplate/Stat -->
379      <dir name="TemplateCache">
380       <file role="php" name="eAccelerator.php"/>
381       <file role="php" name="File.php"/>
382       <file role="php" name="MMCache.php"/>
383      </dir> <!-- /patTemplate/TemplateCache -->
384      <file role="php" name="Compiler.php"/>
385      <file role="php" name="Dump.php"/>
386      <file role="php" name="Function.php"/>
387      <file role="php" name="InputFilter.php"/>
388      <file role="php" name="Modifier.php"/>
389      <file role="php" name="Module.php"/>
390      <file role="php" name="OutputCache.php"/>
391      <file role="php" name="OutputFilter.php"/>
392      <file role="php" name="Reader.php"/>
393      <file role="php" name="Stat.php"/>
394      <file role="php" name="TemplateCache.php"/>
395     </dir> <!-- /patTemplate -->
396     <dir name="tests">
397      <dir name="templates">
398       <dir name="components">
399        <file role="test" name="header.tmpl"/>
400       </dir> <!-- /tests/templates/components -->
401       <dir name="pages">
402        <file role="test" name="bug141.tmpl"/>
403       </dir> <!-- /tests/templates/pages -->
404       <file role="test" name="bug74.tmpl"/>
405       <file role="test" name="bug138.tmpl"/>
406       <file role="test" name="bug144.tmpl"/>
407       <file role="test" name="bug145.tmpl"/>
408       <file role="test" name="bug145_2.tmpl"/>
409      </dir> <!-- /tests/templates -->
410      <file role="test" name="benchmark_sprintf.php"/>
411      <file role="test" name="bug74.php"/>
412      <file role="test" name="bug138.php"/>
413      <file role="test" name="bug141.php"/>
414      <file role="test" name="bug144.php"/>
415      <file role="test" name="bug145.php"/>
416      <file role="test" name="readme.txt"/>
417     </dir> <!-- /tests -->
418     <file role="php" name="patTemplate.php"/>
419    </dir> <!-- / -->
420   </filelist>
421  </release>
422  <changelog>
423    <release>
424     <version>3.1.0a2</version>
425     <date>2006-08-06</date>
426     <license>LGPL</license>
427     <state>alpha</state>
428     <notes>Changes since 3.0.x:
429 - allowed more than one namespace
430 - added defaultFunction option, to define a function that is called for unknown functions
431 - added new built-in condition __single
432 - allow quoting variables using {FOO\}
433 - implemented autoload in Call function
434 - added new system variable: {PAT_ROW_TYPE} = odd|even
435 - added &quot;rowOffset&quot; attribute that determines the starting point of PAT_ROW_VAR
436 - allow usage of $self in the return values of the expression modifier (by Andrew Eddie of Mambo)
437 - added &quot;relative&quot; attribute to load templates relative to the current template (request #89)
438 - the varscope attribute now supports a list of templates
439 - in the requiredvars attribute of a simple condition template it is now possible to specify the exact value of a variable via requiredvars=&quot;var=value&quot; (request #93)
440 - added clearVar(), clearVars(), clearGlobalVar() and clearGlobalVars() (request #91)
441 - added fourth parameter to addObject() to hide private properties
442 - addObject() now checks, whether an object implements a getVars() method
443 - added experimental XUL dump using PEAR::XML_XUL (needs a lot of love)
444 - added TemplateCaches for MMCache and eAccelerator (contributed by Mike Valstar)
445 - added placeholderExists() method (request #100)
446 - added Truncate Modifier (contributed by Rafa Couto)
447 - StripComments Input Filter now also strips Javascript multiline comments (Tim-Patrick Mᅵrk)
448 - Allow output filters for single templates (using the OutputFilter=&quot;...&quot; attribute and applyOutputFilter()) (Request #114)
449 - Add default variable modifiers for a template (Request #92)
450 - Added OutputFilter to highlight PHP code
451 - File Reader: Allow array containing several root directories as template root
452
453 Changes since 3.1.0a1:
454 - Allow the use of a variable in conditions (&lt;pat:sub condition=&quot;{FOO}&quot;/&gt;)
455 - Added new custom function Highlight that is able to apply syntax highlighting to your code (requires PEAR::Text_Highlighter)
456 - Added new custom function Img to create HTML images (contributed by Jens Strobel)
457 - Fixed notice in File reader (argh)
458 - Added parameter for TemplateCache_File to set the filemode (request #127)
459 - Added InputFilter that allows you to use the short variable modifier syntax of Smarty (schst, Axel Stettner) (request #136)
460 - Fixed bug with condition __empty that was used instead of condition 0 (bug #132)
461 - Fixed bug in Dateformat modifier
462 - Fixed bug with condition templates that have __single and __empty defined (bug #138)
463 - Bugfixes and new features in Translate function (bugs #68 and #73) (argh)
464 - Can now set a preconfigured patBBCode object for the BBCode output filter, and added some documentation (argh)
465 - Fixed the module file search that would not go through all defined folders (argh)
466 - Added patch to translate function to allow combining of the translationFile and translationUseFolders options (argh)
467 - Fixed bug #144: StripWhitespace output filter breaks UTF-8 encoded data (schst)
468 - Added DB reader to read templates from any database supported by PEAR::DB (schst)
469 - Fixed bug #74: Attributes &quot;maxloop&quot; and &quot;conditions&quot; causes PHP crash (schst)
470 - Fixed an issue when using clearTemplate() on a template that does not exist (argh)
471 - Fixed bug #150: Notice when enabling the template cache (schst)
472 - Fixed bug #151: Invalid filemode in template cache (patch by Frank Kleine)
473 - Fixed bug #153: pdflatex stops on errors (patch by p_ansell &lt;at&gt; yahoo [dot] com)
474 - Fixed bug with variables that contain only one character (slerman)
475     </notes>
476    </release>
477  </changelog>
478 </package>
Note: See TracBrowser for help on using the browser.