Home » HTML » HTML_Template_PHPLIB
preg_* based template system.
This package is unmaintained.
Download latest release 1.6.1 (there might be newer Composer installable version)
License: LGPL
Description
The popular Template system from PHPLIB ported to PEAR. It has some
features that can't be found currently in the original version like
fallback paths. It has minor improvements and cleanup in the code as
well as some speed improvements.
Documentation
Maintainers
- Björn Schotte (bjoern) — lead, inactive
- Christian Weiske (cweiske) — lead, active
Dependencies
Required
- PHP (>= 5.4.0)
- PEAR Installer (>= 1.9.5)
Releases
- 1.6.1 (stable, 2019-12-10)
Release notes
License: LGPL
- Replace "each()" calls with "foreach" for PHP 7.2-compatibility
- Fix autoloading definition for composer 1.11
- Fix LGPL SPDX license identifier in composer.json - 1.6.0 (stable, 2016-01-23)
Release notes
License: LGPL
- PHP 7 compatibility
- Minimum PHP version raised to 5.4 - 1.5.2 (stable, 2012-03-11)
Release notes
License: LGPL
QA release
Bug #19110 upgrade PHPUnit require statements (for PEAR QA Team)
Bug #19111 tests die due to PHPUnit::assertType() no longer existing - 1.5.1 (stable, 2011-09-05)
Release notes
License: LGPL
- Fix bug #18411: Invalid package.xml; not installable with pyrus
- 1.5.0 (stable, 2009-09-19)
Release notes
License: LGPL
- Fix bug #12243: PEAR_Errors not returned from halt()
- Add new "return" haltOnError level
- Respect haltOnError settings
- Implement request #15993: Add setIllegals() method for variable names - 1.4.0 (stable, 2008-09-12)
Release notes
License: LGPL
- Fix bug #12243: PEAR_Errors not returned from halt()
- Add new "return" haltOnError level
- Respect haltOnError settings
- Command line tool to validate template files
- Command line tool to generate php code from template files - 1.4.0a3 (alpha, 2007-10-14)
Release notes
License: LGPL
- Fix bug #12229: broken blocks not detected [cweiske]
- Validate variables - 1.4.0a2 (alpha, 2007-10-03)
Release notes
License: LGPL
- Fix bug #12168: script binary installed into wrong path [cweiske]
- Command line tool can generate PHP code now (part of request #12169) [cweiske] - 1.4.0a1 (alpha, 2007-10-01)
Release notes
License: LGPL
- Fix bug #11889: function _filename() not works well on Windows [cweiske]
- Add command line tool to validate template files - 1.3.3 (stable, 2007-07-08)
Release notes
License: LGPL
- method to retrieve last error
- 1.3.2 (stable, 2007-04-24)
Release notes
License: LGPL
Bugfix release:
- fixing bug #6945: undefined variable notice in function finish($str)
- class name is HTML_Template_PHPLIB now
- package.xml v2
- unit tests
- cweiske is lead now - 1.3.1 (stable, 2003-06-11)
Release notes
License: LGPL
Bugfix release, update recommended if you use PHP <=4.3.0
- 1.3 (stable, 2003-06-03)
Release notes
License: LGPL
- added examples with use of Benchmark_Timer
- added fallback template paths, i.e. first search
in "./" and then in "/www/myinstall/mastertemplates/A/"
and then in "/www/myinstall/mastertemplates/B/"
- got rid of implode(...,file()) and using file_get_contents()
if available (PHP >= 4.3.0)
- some minor improvements and cleanup in the code - 1.2 (stable, 2003-02-12)
Release notes
License: LGPL
Removed a serious bug concerning the loadfile method.
- 1.1.1 (stable, 2003-02-01)
Release notes
License: LGPL
Fix warning when using error_reporting(E_ALL).
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #2510 | Bogus | Bug | 2004-10-11 | run my index.php without rhyme or reason | |
| #3623 | Closed | Bug | 2005-02-27 | CRITICAL: non-ISO-8859-1 characters in package.xml must be entitied | |
| #6759 | Wont fix | Bug | CVS | 2006-02-12 | Wrong replacement order of variables during parse() |
| #6945 | Closed | Bug | 1.3.1 | 2006-02-27 | undefined variable notice in function finish($str) |
| #7916 | Duplicate | Bug | 1.3.1 | 2006-06-15 | miscellaneous php error message |
| #11889 | Closed | Bug | 1.3.3 | 2007-08-22 | function _filename() not works well on Windows |
| #12168 | Closed | Bug | 1.4.0a1 | 2007-10-02 | script binary installed into wrong path |
| #12169 | Closed | Req | 1.4.0a1 | 2007-10-02 | generate php code for blocks |
| #12197 | Wont fix | Req | 1.4.0a2 | 2007-10-08 | tool: compare templates |
| #12198 | Bogus | Bug | 1.4.0a2 | 2007-10-08 | loading the same file multiple times results in block failure |
| #12228 | Closed | Req | 1.4.0a2 | 2007-10-12 | check variable validity |
| #12229 | Closed | Bug | 1.4.0a2 | 2007-10-12 | broken blocks not detected |
| #12243 | Closed | Bug | 1.4.0a3 | 2007-10-14 | pear_errors not returned from halt() |
| #12392 | Closed | Req | 1.4.0a3 | 2007-11-06 | clearVar() function |
| #15993 | Closed | Req | 1.4.0 | 2009-03-08 | Collisions between template variable names and javascript |
| #15994 | Duplicate | Req | 1.4.0 | 2009-03-08 | Collisions between template variable names and javascript |
| #15995 | Duplicate | Req | 1.4.0 | 2009-03-08 | Collisions between template variable names and javascript |
| #16058 | Bogus | Bug | 1.4.0 | 2009-03-30 | test for broken bugtracker |
| #18411 | Closed | Bug | 1.5.0 | 2011-03-30 | invalid package.xml; not installable with pyrus |
| #19110 | Closed | Bug | SVN | 2011-12-07 | upgrade PHPUnit require statements (for PEAR QA Team) |
| #19111 | Closed | Bug | SVN | 2011-12-07 | tests die due to PHPUnit::assertType() no longer existing |