Templates: phplibTemplateExtention
Mark Williamson (contact me)
Recently updated the class - no longer uses preg_match - it uses awk instead - so windows users you can uncomment the preg_match_all section (see the code its commented) and comment the awk parts instead - using awk speeds the class up a lot.
phplib has template.inc - a template class for php to utilize templates. This is an extension to the class Template needing less code by:
Automatic detection and declaration of blocks
Automatic "blanking" of unused blocks
Blocks automatically declaired in proper nested order.
All calls to set up template/file/paths/names in the class call.
- LGPL / GPL - phplibs license anyway - its their template class - I just extended it to make my life a little easier.
Click here for detailed information about this class on phpclasses.org