-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.xml
360 lines (359 loc) · 11 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.0" 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 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>HTML_Template_IT</name>
<channel>pear.php.net</channel>
<summary>Integrated Templates</summary>
<description>HTML_Template_IT is a templating engine designed to allow easy separation of concerns. It does this by clearly separating the presentational code from the PHP code. The presentation code may be of any format, however generally XML or HTML is used.
This engine works on the foundation of blocks and placeholders. It uses the hierarchy of blocks to determine which presentational code is instantiated when blocks are parsed. The placeholders allow the insertion of "dynamic" information.
There are two classes to use for templating. HTML_Template_IT is used for basic templating needs. HTML_Template_ITX gives you full power over the templating engine, allowing blocks to be added, and function callbacks to be used.
</description>
<lead>
<name>Mathieu Dubois</name>
<user>duboism</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<lead>
<name>Gregory Currie</name>
<user>gregorycu</user>
<email>[email protected]</email>
<active>no</active>
</lead>
<lead>
<name>Pierre-Alain Joye</name>
<user>pajoye</user>
<email>[email protected]</email>
<active>no</active>
</lead>
<lead>
<name>David Soria Parra</name>
<user>dsp</user>
<email>[email protected]</email>
<active>no</active>
</lead>
<developer>
<name>Thorsten Rinne</name>
<user>thorstenr</user>
<email>[email protected]</email>
<active>no</active>
</developer>
<developer>
<name>Ulf Wendel</name>
<user>uw</user>
<email>[email protected]</email>
<active>no</active>
</developer>
<date>2024-11-24</date>
<version>
<release>1.3.2</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>BSD-3-Clause</license>
<notes>
- PR # 5: Support for PHP 7.2
- PR # 9: Remove unused code
- PR #11: fix: Array and string offset access syntax with curly braces is no longer supported
- PR #12: Remove PHP under 5.6 and add last versions of PHP 7
</notes>
<contents>
<dir name="/">
<file name="examples/sample_it.php" role="doc" />
<file name="examples/sample_itx_addblockfile.php" role="doc" />
<file name="examples/templates/addblockfile_list.tpl.htm" role="doc" />
<file name="examples/templates/addblockfile_main.tpl.htm" role="doc" />
<file name="examples/templates/main.tpl.htm" role="doc" />
<file name="HTML/Template/IT.php" role="php" />
<file name="HTML/Template/ITX.php" role="php" />
<file name="HTML/Template/IT_Error.php" role="php" />
<file name="tests/ITTest.php" role="test" />
<file name="tests/ITXTest.php" role="test" />
<file name="tests/templates/addblock.html" role="test" />
<file name="tests/templates/blockiteration.html" role="test" />
<file name="tests/templates/blocks.html" role="test" />
<file name="tests/templates/bug_9853_01.tpl" role="test" />
<file name="tests/templates/bug_9853_02.tpl" role="test" />
<file name="tests/templates/include.html" role="test" />
<file name="tests/templates/loadtemplatefile.html" role="test" />
<file name="tests/templates/placeholderreplacementscope.html" role="test" />
<file name="tests/templates/replaceblock.html" role="test" />
<file name="tests/templates/__include.html" role="test" />
<file name="LICENSE" role="doc" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>4.0.0</min>
</php>
<pearinstaller>
<min>1.4.0b1</min>
</pearinstaller>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>1.1</release>
<api>1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-03-11</date>
<license>Modified BSD license</license>
<notes>
*BETA* release.
</notes>
</release>
<release>
<version>
<release>1.1.1</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-08-21</date>
<license>Modified BSD license</license>
<notes>
- fix #4590, case sensitive method name getFile fix
- fix #1453, haltOnWarning fix, wrong property name called
- fix #3952, return IT_OK on success in setOptions
</notes>
</release>
<release>
<version>
<release>1.1.2</release>
<api>1.1.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2005-10-28</date>
<license>Modified BSD license</license>
<notes>
- Comply better with the coding standards ([email protected])
- Fixed Bug #5774 ITX->buildFunctionlist, forced to use {} as delimiters
instead of the user defined once ([email protected])
- Fixed Bug #5642 Undefined variable: blockname ([email protected])
</notes>
</release>
<release>
<version>
<release>1.1.3</release>
<api>1.1.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2005-11-01</date>
<license filesource="LICENSE">Modified BSD license</license>
<notes>
- Change to the new BSD License
(see http://www.opensource.org/licenses/bsd-license.php)
</notes>
</release>
<release>
<version>
<release>1.1.4</release>
<api>1.1.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-04-12</date>
<license>Modified BSD license</license>
<notes>
- #6084, fread raises warning when used with empty files
- #7359, remove notices when a block is not yet defined
- fix a bug introduced with some cleanup commit, in some cases,
callbacks did not work anymore
</notes>
</release>
<release>
<version>
<release>1.1.5</release>
<api>1.1.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-06-13</date>
<license>Modified BSD license</license>
<notes>
- #7611, wrong array initialized, the same object cannot be
used for multiple templates
</notes>
</release>
<release>
<version>
<release>1.2.0</release>
<api>1.2.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2006-08-17</date>
<license>Modified BSD license</license>
<notes>
- Deprecate $callbackobject parameter in setCallbackFunction
- Introduce $expandCallbackParameters parameter to setCallbackFunction to support
callbacks that expect to get the parameters in a regular way, not as an array
- #7651, allow dots in placeholder and block names
</notes>
</release>
<release>
<version>
<release>1.2.1</release>
<api>1.2.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-08-25</date>
<license>Modified BSD license</license>
<notes>
- Deprecate $callbackobject parameter in setCallbackFunction
- Introduce $expandCallbackParameters parameter to setCallbackFunction to support
callbacks that expect to get the parameters in a regular way, not as an array
- #7651, allow dots in placeholder and block names
- #7611, wrong array initialized, the same object cannot be
used for multiple templates
</notes>
</release>
<release>
<version>
<release>1.3.0a1</release>
<api>1.2.1</api>
</version>
<stability>
<release>alpha</release>
<api>stable</api>
</stability>
<date>2010-02-15</date>
<license>Modified BSD license</license>
<notes>
- Add support for pear package 2.0 format
- Remove support for pear package 1.0 format
- Fix bug #9501, doller signs disapear if preg_match is used.
- Fix bug #9783, don't remove variable which values follow the variable pattern
To allow backwards compatbility an option preserve_input is added.
If it is false, the old behaviour will be used and therefore those values will be deleted.
Default is true, so new behaviour.
- Fix bug #9853, problems with dots in placeholders or blocknames
- Add option 'preserve_input' to only remove unkown variable that were present during setTemplate or lodaTemplatefile
which is the behaviour before 1.3.0a1
- Fix bug #13935 - docblock is wrong
- Improved PHPCS (Request #15039)
</notes>
</release>
<release>
<version>
<release>1.3.0a2</release>
<api>1.3.0</api>
</version>
<stability>
<release>alpha</release>
<api>stable</api>
</stability>
<date>2010-02-16</date>
<license>Modified BSD license</license>
<notes>
Fixed unit tests
</notes>
</release>
<release>
<version>
<release>1.3.0a3</release>
<api>1.3.0</api>
</version>
<stability>
<release>alpha</release>
<api>stable</api>
</stability>
<date>2010-03-01</date>
<license>Modified BSD license</license>
<notes>
- Fix bug #17129
- Added unit test
</notes>
</release>
<release>
<version>
<release>1.3.0</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2010-03-10</date>
<license>Modified BSD license</license>
<notes>
Changes since last stable release (1.2.1):
- Add support for pear package 2.0 format
- Remove support for pear package 1.0 format
- Fix bug #9501, doller signs disapear if preg_match is used.
- Fix bug #9783, don't remove variable which values follow the variable pattern
To allow backwards compatbility an option preserve_input is added.
If it is false, the old behaviour will be used and therefore those values will be deleted.
Default is true, so new behaviour.
- Fix bug #9853, problems with dots in placeholders or blocknames
- Fix bug #13935, docblock is wrong
- Fix bug #17129
- Add option 'preserve_input' to only remove unkown variable that were present
during setTemplate or loadTemplatefile
which is the behaviour before 1.3.0a1
- Improved PHPCS (Request #15039)
- Added unit tests
- Fixed unit tests
</notes>
</release>
<release>
<version>
<release>1.3.1</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2018-01-22</date>
<license>BSD-3-Clause</license>
<notes>
- PR #2: Fixes for deprecated code
</notes>
</release>
<release>
<version>
<release>1.3.2</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2024-11-24</date>
<license>BSD-3-Clause</license>
<notes>
- PR #5: Support for PHP 7.2
- PR #9: Remove unused code
- PR #11: fix: Array and string offset access syntax with curly braces is no longer supported
- PR #12: Remove PHP under 5.6 and add last versions of PHP 7
</notes>
</release>
</changelog>
</package>