root/tags/RELEASE_3_1_0B1/package.xml

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