root/tags/RELEASE_3_1_0B2/package.xml

Revision 447, 32.1 kB (checked in by schst, 2 years ago)

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