336 lines
12 KiB
XML
336 lines
12 KiB
XML
|
<?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>Gregory Currie</name>
|
||
|
<user>gregorycu</user>
|
||
|
<email>gregorycu@php.net</email>
|
||
|
<active>yes</active>
|
||
|
</lead>
|
||
|
<lead>
|
||
|
<name>Pierre-Alain Joye</name>
|
||
|
<user>pajoye</user>
|
||
|
<email>pajoye@php.net</email>
|
||
|
<active>no</active>
|
||
|
</lead>
|
||
|
<lead>
|
||
|
<name>David Soria Parra</name>
|
||
|
<user>dsp</user>
|
||
|
<email>dsp@php.net</email>
|
||
|
<active>no</active>
|
||
|
</lead>
|
||
|
<developer>
|
||
|
<name>Thorsten Rinne</name>
|
||
|
<user>thorstenr</user>
|
||
|
<email>thorstenr@php.net</email>
|
||
|
<active>no</active>
|
||
|
</developer>
|
||
|
<developer>
|
||
|
<name>Ulf Wendel</name>
|
||
|
<user>uw</user>
|
||
|
<email>ulf.wendel@phpdoc.de</email>
|
||
|
<active>no</active>
|
||
|
</developer>
|
||
|
<date>2010-03-10</date>
|
||
|
<time>19:08:10</time>
|
||
|
<version>
|
||
|
<release>1.3.0</release>
|
||
|
<api>1.3.0</api>
|
||
|
</version>
|
||
|
<stability>
|
||
|
<release>stable</release>
|
||
|
<api>stable</api>
|
||
|
</stability>
|
||
|
<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>
|
||
|
<contents>
|
||
|
<dir name="/">
|
||
|
<file md5sum="157f1b27090288fbce921b762697c3f4" name="examples/sample_it.php" role="doc" />
|
||
|
<file md5sum="1d2363fa8640780392af6c51e9c3713f" name="examples/sample_itx_addblockfile.php" role="doc" />
|
||
|
<file md5sum="43a3535aa4d5e9df400babae53d82a08" name="examples/templates/addblockfile_list.tpl.htm" role="doc" />
|
||
|
<file md5sum="16f4927420fa169875167a4874e7add7" name="examples/templates/addblockfile_main.tpl.htm" role="doc" />
|
||
|
<file md5sum="2c851fcec88007eef66c28a9d8f10ceb" name="examples/templates/main.tpl.htm" role="doc" />
|
||
|
<file md5sum="886a6044e8186e3b1e1d8c5b004246af" name="HTML/Template/IT.php" role="php" />
|
||
|
<file md5sum="16b0300b5fbe3be7a1df976ce5d27c4f" name="HTML/Template/ITX.php" role="php" />
|
||
|
<file md5sum="484d2aa6a504a351a1d3e2b8bb39612d" name="HTML/Template/IT_Error.php" role="php" />
|
||
|
<file md5sum="e576a94c06b323e4cfc6bcf9dda017c2" name="tests/AllTests.php" role="test" />
|
||
|
<file md5sum="adabbbb8cf54dc80720b7929e594cbec" name="tests/ITTest.php" role="test" />
|
||
|
<file md5sum="80139a8b443488dac801fae748b6f2c2" name="tests/ITXTest.php" role="test" />
|
||
|
<file md5sum="e50de49b74a1d96bb77ddae2d0abdfc3" name="tests/templates/addblock.html" role="test" />
|
||
|
<file md5sum="22e56437378e53d08ba07d3dd2aa4b85" name="tests/templates/blockiteration.html" role="test" />
|
||
|
<file md5sum="4173bf97eec43787532e247ef9b2611a" name="tests/templates/blocks.html" role="test" />
|
||
|
<file md5sum="7014497a69b346957fb3d2b5fa44ffd4" name="tests/templates/bug_9853_01.tpl" role="test" />
|
||
|
<file md5sum="385013ff6be875da2888087e96c6a93c" name="tests/templates/bug_9853_02.tpl" role="test" />
|
||
|
<file md5sum="2611d6ec574a65716f1bc2ca95cb8c63" name="tests/templates/globals.html" role="test" />
|
||
|
<file md5sum="db5b226eff0218c831749c07042529f2" name="tests/templates/include.html" role="test" />
|
||
|
<file md5sum="d9a6425eebdfc6981465b4a228dbee51" name="tests/templates/loadtemplatefile.html" role="test" />
|
||
|
<file md5sum="8747e8c70d20b6c86d1d19af2eadd874" name="tests/templates/placeholderreplacementscope.html" role="test" />
|
||
|
<file md5sum="5c7e2e9c32306db4b6667d2b57f1c0ac" name="tests/templates/replaceblock.html" role="test" />
|
||
|
<file md5sum="310552db4653b34dbb0f993847572fc5" name="tests/templates/__include.html" role="test" />
|
||
|
<file md5sum="7073f9a84fa6da71e7a505a777dda302" 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 (dufuz@php.net)
|
||
|
- Fixed Bug #5774 ITX->buildFunctionlist, forced to use {} as delimiters
|
||
|
instead of the user defined once (dufuz@php.net)
|
||
|
- Fixed Bug #5642 Undefined variable: blockname (dufuz@php.net)
|
||
|
</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>
|
||
|
</changelog>
|
||
|
</package>
|